After a recent update, netatalk was up and running, but was throwing CNID errors upon connect.
Investigation showed that the CNID folder that was recently created was owned by root (created during the upgrade), and the 'netatalk' user couldn't write to it.
I changed permissions, and then went to restart netatalk like so
$this->bbcode_second_pass_code('', '/etc/rc.d/netatalk restart')
Only to find that there is no netatalk entry. Nor is there an avahi-daemon entry in the folder.
I took a look at the netatalk 3.0 package info in the AUR (which is what pacman seems to have installed http://aur.archlinux.org/packages.php?ID=10032 )
And find that this package is systemd-only
so, i try to run systemctrl to get a list of running applications/manage /restart them and I get this:
$this->bbcode_second_pass_code('', 'Failed to get D-Bus connection: Failed to connect to socket /run/systemd/private: No such file or directory
')
So I created the file, ran it again, and came up with this:
$this->bbcode_second_pass_code('', 'Failed to get D-Bus connection: Failed to connect to socket /run/systemd/private: Connection refused
')
But, i run 'ps' , and i find that netstat (and afpd) are running.
So i started to feel that perhaps i foolishly overlooked some update notes, and found a bunch of stuff in the main archlinux forum about the move to systemd, and thought "well, I'll just move things over to systemd"
I restarted, and still have the same issue.
One interesting thing about the docs that point to changing to systemd , is that they all refer to editing the bootloder to change your "init=" statement.
The thing is, on the dockstar, I am using uboot, and connot seem to find info re: changing the init value
I tried to recreate the rc.d files, and while teh file creation seems to work, starting and stopping fails
So, three questions:
1) Can someone help me with the systemd/D-BUS messages?
2) has anyone else successfully created rc.d style startup scripts for the new netatalk package?
3) for the record, how would i modify the uboot settings to use systemd in the init= value