@slipperygrey I definitely see the bugginess,
ad has some weird behavior. It gets quite unhappy if [Homes] is not defined for one thing. Setting equal permissions on source and destination unfortunately did not work, it emits the following (partial) error for
ad cp -R ~/NetBootInstallation /srv/netboot and minor variations of the same:
Code:
{netatalk_conf.c:1973} (error:Default): getvolbypath("/srv/netboot"): no user home share defined in configuration
Along a segmentation fault. Trying on individual files without '-R' gives similar messages. When you define [Homes] (with
path = afp-data and
basedir regex = /home) it instead gives this:
Code:
{netatalk_conf.c:2001} (error:Default): getvolbypath("/srv/netboot"): path does not match basedir regex "/home"
Moving NetBootInstallation under ~/afp-path then trying
ad cp -R or
ad mv generates "Error opening adouble" but if you use copy
then move it works fine. Sadly, as soon as you try to move it to /srv/netboot you get the error about home directories again.
OK, the lack of a Netatalk metadata EA is the problem, do the following with your files after you extract them
These commands return without error when the files are under ~ but not /srv/netboot (same error there about not matching basedir regex). Unfortunately I don't see any change in
addump output and a subsequent
dbd still shows "Bad AppleDouble" data. With log level default:debug set I see stuff being emitted but nothing seems to has a reference to metadata, it just looks like noise about CNID lookups.
Also, the pax utility that comes with Debian has really weird file permissions problems extracting that archive..... yikes. Is there some secret to doing that correctly?
I've been using 7z, which produces a folder set to rwx for user, rw for group, and r for other; the files are rw/r/r. I did do a SHA1 when I first started messing around and pax was producing the same file signatures FWIW.
Easy workaround here (and what I did last time I needed to do this) is spinning up an OSX virtual machine and just uploading the files. I'd prefer an "on the server" approach if it's available (I'm updating my NetBoot instructions and was looking for something simple to inline there) but if
ad isn't in a good state I certainly don't want y'all wasting maintenance time for something this simple. I was mainly hoping I was just being dense and missing an obvious command.