On Sb, 19 iul 14, 18:06:57, Tom H wrote:
> 
> If he didn't improve sysvinit to deal with the early boot problem that
> he identifies here, he must've either thought that it wasn't possible
> to fix the sysvinit code or that he didn't have the time to dedicate
> to doing so.

Just to provide concrete evidence: mpd will fail to start on reboot 
because all it's files are (on purpose) on a NFS mount. Excerpt from my 
/var/log/boot:

Sun Jul 20 13:07:37 2014: INIT: Entering runlevel: 2
Sun Jul 20 13:07:37 2014: [^[[36minfo^[[39;49m] Using makefile-style concurrent 
boot in runlevel 2.
Sun Jul 20 13:07:38 2014: [....] Starting rpcbind daemon...[....] Already 
running.^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:38 2014: [....] Starting NFS common utilities: statd 
idmapd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:38 2014: [....] Starting enhanced syslogd: 
rsyslogd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:39 2014: [....] Starting bittorrent daemon: 
transmission-daemon^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:40 2014: [....] Starting system message bus: 
dbus^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:40 2014: Starting nginx: nginx.
Sun Jul 20 13:07:40 2014: [....] Starting Avahi mDNS/DNS-SD Daemon: 
avahi-daemon^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:41 2014: [....] Starting NTP server: 
ntpd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:41 2014: [....] Starting OpenBSD Secure Shell server: 
sshd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:43 2014: [....] Starting periodic command scheduler: 
cron^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Sun Jul 20 13:07:43 2014: sed: can't read 
/media/nfs/xbig/audio/music/.mpd/mpd.nfs.conf: No such file or directory
Sun Jul 20 13:07:43 2014: sed: can't read 
/media/nfs/xbig/audio/music/.mpd/mpd.nfs.conf: No such file or directory
Sun Jul 20 13:07:43 2014: [....] Starting Music Player Daemon: mpd[....] 
/media/nfs/xbig/audio/music/.mpd/mpd.nfs.conf must have db_file and pid_file 
set; cannot start daemon. 
...^[[?25l^[[?1c^[7^[[1G[^[[31mFAIL^[[39;49m^[8^[[?25h^[[?0c 
^[[31mfailed!^[[39;49m


Of course, /etc/init.d/mpd has:
# Required-Start:    $local_fs $remote_fs

The NFS share is mounted in /etc/fstab with:
nfs.nuvreauspam:/xbig           /media/nfs/xbig         nfs     
noatime,nofail,_netdev

Result:
nfs.nuvreauspam:/xbig on /media/nfs/xbig type nfs4 
(rw,noatime,vers=4.0,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.14,local_lock=none,addr=192.168.1.8,_netdev)

Strangely this used to work at some point in time, I don't even know 
what broke it.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature

Reply via email to