← Back to team overview

touch-packages team mailing list archive

[Bug 1498310] Re: /etc/init.d/udev-finish does not get cleaned up on upgrade

 

$ cat /etc/init.d/udev-finish
#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          udev-finish
# Required-Start:    udev $local_fs
# Required-Stop:     
# Default-Start:     S
# Default-Stop:
# Short-Description: Copy rules generated while the root was ro
### END INIT INFO

PATH="/sbin:/bin"

. /lib/lsb/init-functions

case "$1" in
  start) ;;
  stop|restart|force-reload) exit 0 ;;
  *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;;
esac

exec /lib/udev/udev-finish

$ sudo apt-get install udev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
udev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

No, I did not downgrade to 219-7ubuntu6. I manually downloaded that .deb
file to compare it with 225-1ubuntu4. That was when I noticed that
219-7ubuntu6 had the /lib/udev/udev-finish script, which I copied over.
I did restore a recent wily backup though, so these now obsolete udev
files in /etc/init & /etc/init.d files might stem from that. I can
confirm that these did not get removed when manually installing udev
225-1ubuntu4 though.

After manually removing /etc/init/udev-fallback-graphics.conf, /etc/init
/udev-finish.conf & /etc/init.d/udev-finish and reinstalling udev
225-1ubuntu4 everything seems to be in perfect order again.

Might be one of those glitches, I can't be sure, but systemd no longer
reports anything as failed and the system looks a ok :)

My apologies for the mixup, and many thanks for your kind and speedy
replies!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1498310

Title:
  /etc/init.d/udev-finish does not get cleaned up on upgrade

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  $ lsb_release -rd
  Description:	Ubuntu Wily Werewolf (development branch)
  Release:	15.10

  $ apt-cache policy udev
  udev:
    Installed: 225-1ubuntu4
    Candidate: 225-1ubuntu4
    Version table:
   *** 225-1ubuntu4 0
          500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  The udev package in wily is missing /lib/udev/udev-finish, hence systemd reports the udev-finish.service as failed.
  Placing this script , which is in udev package 219-7ubuntu6 (vivid-updates), into the correct location rectifies this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1498310/+subscriptions