Using ArchLinuxARM (3.11.6.1) on GFH. Automounting my two drives (3TB on SATA & 2TB on USB). The problem I have is that - I have to manually restart smbd and minidlna every time I boot the GFH. Systemctl status shows smbd running with a few errors regarding the printer (which I don't use with GFH) and minidlna NOT running.
So far I've tried:
- using systemctl start for both of these (smbd & minidlna)
- using systemctl enable for both of these (smbd & minidlna)
- enabling and disabling NetworkManager-wait-online
- trying to create a /etc/rc.conf which appears to not have been read by alarm in favour of systemd
My systemd startup services are registered as:
$this->bbcode_second_pass_code('', 'total 8
drwxr-xr-x 2 root root 4096 Nov 5 21:37 .
drwxr-xr-x 4 root root 4096 Jul 27 02:20 ..
lrwxrwxrwx 1 root root 39 Aug 8 06:07 haveged.service -> /usr/lib/systemd/system/haveged.service
lrwxrwxrwx 1 root root 40 Sep 30 16:25 minidlna.service -> /usr/lib/systemd/system/minidlna.service
lrwxrwxrwx 1 root root 47 Jul 27 02:24 netctl-ifplugd@eth0.service -> /usr/lib/systemd/system/netctl-ifplugd@.service
lrwxrwxrwx 1 root root 36 Sep 28 23:10 nmbd.service -> /usr/lib/systemd/system/nmbd.service
lrwxrwxrwx 1 root root 40 Oct 25 07:45 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 36 Sep 28 23:10 smbd.service -> /usr/lib/systemd/system/smbd.service
lrwxrwxrwx 1 root root 36 Jul 27 02:21 sshd.service -> /usr/lib/systemd/system/sshd.service
')
My smb.conf (actually testparm output) is below:
$this->bbcode_second_pass_code('', '[global]
netbios name = NAS
server string = GoflexHome
interfaces = lo, eth0
bind interfaces only = Yes
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
name resolve order = bcast, host
dns proxy = No
idmap config * : backend = tdb
create mask = 0664
force create mode = 0664
directory mask = 0777
force directory mode = 0777
[3TB]
path = /media/storage
read only = No
guest only = Yes
guest ok = Yes
[2TB]
path = /media/storage2
read only = No
guest only = Yes
guest ok = Yes
')