/sbin/reload service management binary missing?

Bug #435252 reported by Dave Martin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: upstart

On Karmic, it looks like there is supposed to be a /sbin/reload binary to reload daemon configuration, but it doesn't seem to exist. Other similar binaries /sbin/{start,stop,restart} do exist:

# dpkg -S /sbin/{start,stop,restart}
upstart: /sbin/start
upstart: /sbin/stop
upstart: /sbin/restart

However, /sbin/reload is not present, and is not listed in the karmic contents file at all (http://ports.ubuntu.com/ubuntu-ports/dists/karmic/Contents-armel.gz)

$ { wget -O- http://ports.ubuntu.com/ubuntu-ports/dists/karmic/Contents-armel.gz | zgrep 'sbin/\(start\|stop\|restart\|reload\|force-reload\)[[:space:]]'; } 2>/dev/null
sbin/restart admin/upstart
sbin/start admin/upstart
sbin/stop admin/upstart

(The i386 contents file gives the same results.)

Am I right in assuming the /sbin/{,force-}reload binaries should be there? At the moment I can't configure fuse-utils, but it probably affects a host of other stuff too...

# dpkg --pending --configure
Setting up fuse-utils (2.7.4-1.1ubuntu4) ...
creating fuse group...
udev active, skipping device node creation.
/etc/init.d/udev: 70: reload: not found
Xinvoke-rc.d: initscript udev, action "reload" failed.
dpkg: error processing fuse-utils (--configure):
 subprocess installed post-installation script returned error exit status 127
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 fuse-utils

# service udev reload
exec: 129: reload: not found

# service udev force-reload
exec: 129: reload: not found

# /etc/init.d/udev reload
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service udev reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload udev
/etc/init.d/udev: 70: reload: not found

# reload udev
-bash: /sbin/reload: No such file or directory

# apt-cache policy upstart udev
upstart:
  Installed: 0.6.3-4
  Candidate: 0.6.3-4
  Version table:
 *** 0.6.3-4 0
        500 http://ports.ubuntu.com/ubuntu-ports karmic/main Packages
        100 /var/lib/dpkg/status
udev:
  Installed: 147~-4
  Candidate: 147~-4
  Version table:
 *** 147~-4 0
        500 http://ports.ubuntu.com/ubuntu-ports karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Note: the above results were observed trying to install ubuntu-minimal on a filesystem created with debootstrap --variant=minbase.

However, installing ubuntu-minimal doesn't seem to add the missing binaries either (or create links etc.)

If I symlink /sbin/reload and /sbin/force-reload to /sbin/restart, I can then install a full system via apt-get. But that seems a bit drastic...

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Also note: the above problems were observed on armel.

The problems could be armel-specific, but this is not obviously the case from the symptoms above.

Revision history for this message
Michael Neuffer (neuffer) wrote :
Download full text (3.8 KiB)

This is also true on an amd64 box with upstart 0.6.3-4

root@kyle:~# ls -la /sbin/*reload*
ls: cannot access /sbin/*reload*: No such file or directory

root@kyle:~# dpkg -s upstart
Package: upstart
Status: install ok installed
Priority: required
Section: admin
Installed-Size: 1336
Maintainer: Scott James Remnant <email address hidden>
Architecture: amd64
Version: 0.6.3-4
Replaces: startup-tasks, system-services, sysvinit, upstart-compat-sysv, upstart-job
Provides: startup-tasks, system-services, upstart-compat-sysv, upstart-job
Pre-Depends: libc6 (>= 2.7), libdbus-1-3 (>= 1.2.16), libudev0, sysvinit-utils, sysv-rc, initscripts, mountall
Conflicts: startup-tasks, system-services, sysvinit, upstart-compat-sysv, upstart-job
Conffiles:
 /etc/dbus-1/system.d/Upstart.conf 64be74cddb0c74b7d98202b40389784c
 /etc/init/control-alt-delete.conf 16e6603524084b63b0f0ca04eb56757e
 /etc/init/dbus-reconnect.conf f46d20126e752454d451040932a983af
 /etc/init/rc-sysinit.conf f474a24481afdfb5e62c1807c0e16b76
 /etc/init/rc.conf 3c6b5256fa546ecacf22b63bf903c702
 /etc/init/rcS.conf 918e9d799d6aa99a0d96538d9685821d
 /etc/init/tty1.conf 543a3404e714bb96b676770c8334d86d
 /etc/init/tty2.conf 5eed82253d8c362021c344f1dbdc863b
 /etc/init/tty3.conf b75577836957bb5adb50b3482c429edb
 /etc/init/tty4.conf 27b4a36d59bf74fd6792a69394511e42
 /etc/init/tty5.conf 9803918babed47f733554dcd556d09d1
 /etc/init/tty6.conf 34f7b6971a5580f5fb6a2ff6f14af996
 /etc/init/upstart-udev-bridge.conf b3d59bd6e5debf634e4fe258d5a4dd71
 /etc/event.d/control-alt-delete b9e5968d70426be30342405e78b10e43 obsolete
 /etc/event.d/sulogin 78c78501456cedf6dc0fd8e059394367 obsolete
Description: event-based init daemon
 upstart is a replacement for the /sbin/init daemon which handles
 starting of tasks and services during boot, stopping them during
 shutdown and supervising them while the system is running.
Homepage: http://upstart.ubuntu.com/
root@kyle:~#

root@kyle:~# dpkg -L upstart
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/upstart
/usr/share/doc/upstart/changelog.gz
/usr/share/doc/upstart/NEWS.gz
/usr/share/doc/upstart/AUTHORS
/usr/share/doc/upstart/changelog.nih.gz
/usr/share/doc/upstart/copyright
/usr/share/doc/upstart/changelog.Debian.gz
/usr/share/doc/upstart/README.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man5
/usr/share/man/man5/init.5.gz
/usr/share/man/man5/inittab.5.gz
/usr/share/man/man7
/usr/share/man/man7/started.7.gz
/usr/share/man/man7/stopping.7.gz
/usr/share/man/man7/stopped.7.gz
/usr/share/man/man7/control-alt-delete.7.gz
/usr/share/man/man7/keyboard-request.7.gz
/usr/share/man/man7/upstart.7.gz
/usr/share/man/man7/runlevel.7.gz
/usr/share/man/man7/startup.7.gz
/usr/share/man/man7/starting.7.gz
/usr/share/man/man7/power-status-changed.7.gz
/usr/share/man/man8
/usr/share/man/man8/reboot.8.gz
/usr/share/man/man8/shutdown.8.gz
/usr/share/man/man8/runlevel.8.gz
/usr/share/man/man8/telinit.8.gz
/usr/share/man/man8/init.8.gz
/usr/share/man/man8/initctl.8.gz
/usr/share/man/man8/upstart-udev-bridge.8.gz
/usr/lib
/usr/lib/upstart
/usr/lib/upstart/migrate-inittab.pl
/etc
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/Upstart.conf
/etc/init
/etc/init/control-alt-delete.conf
/e...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart - 0.6.3-5

---------------
upstart (0.6.3-5) karmic; urgency=low

  * Update autoconf and automake files. LP: #435252.

 -- Scott James Remnant <email address hidden> Wed, 23 Sep 2009 14:16:34 -0700

Changed in upstart (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.