Your message dated Tue, 27 Jun 2017 06:18:45 +0200 with message-id <[email protected]> and subject line Re: Bug#737759: hurd: Add init.d script to create /var/run/mtab has caused the Debian Bug report #737759, regarding hurd: Add init.d script to create /var/run/mtab to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 737759: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737759 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: hurd Version: 1:0.5.git20140203-1 Severity: important Tags: patch At the moment in unstable when booting Hurd using sysvinit, df and friends do not work because /var/run/mtab do not exist. It should point to /proc/mounts, and this is done in /etc/hurd/rc when not booting using sysvinit. Instead of creating the symlink in /etc/hurd/rc, I suggest to create a new init.d script to create this symlink, and drop the code from /etc/hurd/rc. The following script is tested and found to be working well. It creates /run/mtab because /var/run is a symlink to /run. #! /bin/sh ### BEGIN INIT INFO # Provides: hurd-mtab # Required-Start: mountkernfs # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Create /run/mtab -> /proc/mount symlink on Hurd ### END INIT INFO # Author: Petter Reinholdtsen # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/bin # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.2-14) to ensure that this file is present # and status_of_proc is working. . /lib/lsb/init-functions case "$1" in start) [ "$VERBOSE" != no ] && log_action_begin_msg "Creating /run/mtab symlink" ln -s /proc/mount /run/mtab case "$?" in 0|1) [ "$VERBOSE" != no ] && log_action_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_action_end_msg 1 ;; esac ;; stop|restart|force-reload|status) ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : -- Happy hacking Petter Reinholdtsen
--- End Message ---
--- Begin Message ---[Samuel Thibault] > AIUI, now that we have /etc/mtab as a symlink to /proc/mounts, tools > are happy already. Right. Then I close this issue to get it out of my list of open issues to track. -- Happy hacking Petter Reinholdtsen
--- End Message ---

