Triode wrote:
> Thanks. I've just updated the network page to use netctl directly and
> detect the network names used by the system - could you test. It should
> also start the nfs service when you select an nfs mount.
Triode,
Rebuilt image from latest sdcard create script and tested in dynamic
system-qemu-arm. For some reason, soa-fisrtboot.service has to be
manully started in QEMU. But after first reboot the services are:
Code:
--------------------
[root@alarm ~]# systemctl -t service
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System
Message Bus
[email protected] loaded active running Getty on tty1
haveged.service loaded active running Entropy
Harvesting Daemon
kmod-static-nodes.service loaded active exited Create list of
required static device nodes for the current kernel
ldconfig.service loaded active exited Rebuild Dynamic
Linker Cache
[email protected] loaded active exited A basic dhcp
ethernet connection
ntpd.service loaded active running Network Time
Service
rpcbind.service loaded active running RPC bind service
[email protected] loaded active running Serial Getty on
ttyAMA0
●soa-firstboot.service loaded failed failed Squeeze
on Arch Web Firstboot
soa-web.service loaded active running Squeeze on Arch
Web Interface
sshd.service loaded active running OpenSSH Daemon
systemd-journal-catalog-update.service loaded active exited Rebuild Journal
Catalog
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel
Modules
systemd-random-seed.service loaded active exited Load/Save Random
Seed
systemd-remount-fs.service loaded active exited Remount Root and
Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel
Variables
systemd-sysusers.service loaded active exited Create System
Users
systemd-tmpfiles-setup-dev.service loaded active exited Create Static
Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile
Files and Directories
systemd-udev-hwdb-update.service loaded active exited Rebuild Hardware
Database
systemd-udev-trigger.service loaded active exited udev Coldplug
all Devices
systemd-udevd.service loaded active running udev Kernel
Device Manager
systemd-update-done.service loaded active exited Update is
Completed
systemd-update-utmp.service loaded active exited Update UTMP
about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User
Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual
Console
[email protected] loaded active running User Manager for
UID 0
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
30 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
--------------------
soa-web shows eth0 correclty, but no wlan option - is that correct?
'[image: http://s29.postimg.org/780fi84wj/soa23.jpg]'
(http://postimg.org/image/780fi84wj/)
Adding an nfs mount via the webui initiates the required services and
makes the correct entry in /etc/fstab.
Code:
--------------------
[root@alarm ~]# systemctl -t service
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System
Message Bus
[email protected] loaded active running Getty on tty1
haveged.service loaded active running Entropy
Harvesting Daemon
kmod-static-nodes.service loaded active exited Create list of
required static device nodes for the current kernel
ldconfig.service loaded active exited Rebuild Dynamic
Linker Cache
[email protected] loaded active exited A basic dhcp
ethernet connection
nfs-config.service loaded active exited Preprocess NFS
configuration
ntpd.service loaded active running Network Time
Service
rpc-statd-notify.service loaded active exited Notify NFS peers
of a restart
rpcbind.service loaded active running RPC bind service
--------------------
Code:
--------------------
[root@alarm disk1]# cat /etc/fdisk
cat: /etc/fdisk: No such file or directory
[root@alarm disk1]# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# start added by soa-web
192.168.0.20:/media/allmusic/Test /mnt/disk1 nfs4 ro 0
0
# end added by soa-web
--------------------
'[image: http://s27.postimg.org/iwtwgg75b/soa24.jpg]'
(http://postimg.org/image/iwtwgg75b/)
Mount is there after a reboot, no problem with systemd.
Code:
--------------------
[root@alarm ~]# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@"
character.
The time the unit takes to start is printed after the "+" character.
graphical.target @56.195s
└─multi-user.target @56.177s
└─getty.target @56.168s
└─[email protected] @56.139s
└─systemd-user-sessions.service @55.808s +141ms
└─remote-fs.target @55.413s
└─mnt-disk1.mount @39.042s +16.316s
└─remote-fs-pre.target @38.911s
└─nfs-client.target @38.861s
└─rpc-statd-notify.service @38.315s +489ms
└─network-online.target @38.233s
└─network.target @37.826s
└─[email protected] @21.393s +16.413s
└─sys-subsystem-net-devices-eth0.device @17.217s
--------------------
But have you made nfs and cifs mounts exclusive, or is this work still
in porgress?
Adding a CIFS mount after adding a NFS mount does not work. The nfs
entry is removed from /etc/fstab and CIFS is still using
x-systemd.automount.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix