/etc/init.d/udev-finish does not get cleaned up on upgrade
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | systemd (Ubuntu) |
Undecided
|
Unassigned | ||
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://
100 /var/lib/
The udev package in wily is missing /lib/udev/
Placing this script , which is in udev package 219-7ubuntu6 (vivid-updates), into the correct location rectifies this.
| Martin Pitt (pitti) wrote : | #1 |
| affects: | udev (Ubuntu) → systemd (Ubuntu) |
| Changed in systemd (Ubuntu): | |
| status: | New → Incomplete |
| summary: |
- udev is missing /lib/udev/udev-finish in wily + udev-finish.service still present in wily |
$ sudo systemctl status -l udev-finish.service
● udev-finish.service - LSB: Copy rules generated while the root was ro
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since Tue 2015-09-22 08:42:49 CEST; 2min 43s ago
Docs: man:systemd-
Process: 544 ExecStart=
Sep 22 08:42:49 lab16 systemd[1]: Starting LSB: Copy rules generated while the root was ro...
Sep 22 08:42:49 lab16 udev-finish[544]: /etc/init.
Sep 22 08:42:49 lab16 systemd[1]: udev-finish.
Sep 22 08:42:49 lab16 systemd[1]: Failed to start LSB: Copy rules generated while the root was ro.
Sep 22 08:42:49 lab16 systemd[1]: udev-finish.
Sep 22 08:42:49 lab16 systemd[1]: udev-finish.
Confirming that udev-finish.service is gone in udev 225-1ubuntu4 as compared to 219-7ubuntu6 (vivid-updates). Yet several files that should be removed (if I understand the udev package preinst/
$ ls -l /etc/init | grep udev
-rw-r--r-- 1 root root 337 Jun 17 23:24 udev.conf
-rw-r--r-- 1 root root 645 Jun 17 23:24 udev-fallback-
-rw-r--r-- 1 root root 651 Jun 17 23:24 udev-finish.conf
-rw-r--r-- 1 root root 360 Jun 17 23:24 udevmonitor.conf
-rw-r--r-- 1 root root 352 Jun 17 23:24 udevtrigger.conf
-rw-r--r-- 1 root root 553 May 18 12:20 upstart-
$ ls -l /etc/init.d | grep udev
-rwxr-xr-x 1 root root 6084 Jun 17 23:24 udev
-rwxr-xr-x 1 root root 461 Jun 17 23:24 udev-finish
Hope this helps ..
| Martin Pitt (pitti) wrote : | #3 |
Can you please attach /etc/init.
| Martin Pitt (pitti) wrote : | #4 |
Ah well, it seems you downgraded to 219-7ubuntu6 again? If you upgrade to wily again with
sudo apt-get install udev
can you please copy&paste the entire output?
| summary: |
- udev-finish.service still present in wily + /etc/init.d/udev-finish does not get cleaned up on upgrade |
| glitsj16 (glitsj16) wrote : | #5 |
$ cat /etc/init.
#!/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/
case "$1" in
start) ;;
stop|
*) echo "Usage: $0 {start|
esac
exec /lib/udev/
$ 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/
After manually removing /etc/init/
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!
| Martin Pitt (pitti) wrote : | #6 |
> did restore a recent wily backup though, so these now obsolete udev files in /etc/init & /etc/init.d files might stem from that
Ah, this would explain it then.
I just did a dist-upgrade from vivid to current wily, and it works as intended:
Setting up udev (225-1ubuntu4) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/init/
addgroup: The group `input' already exists as a system group. Exiting.
A chroot environment has been detected, udev not started.
update-initramfs: deferring update (trigger activated)
Removing obsolete conffile /etc/init.
Removing obsolete conffile /etc/init/
Removing obsolete conffile /etc/init/
And /etc/init.
| Changed in systemd (Ubuntu): | |
| status: | Incomplete → Invalid |


udev-finish.service is gone, together with /lib/udev/ udev-finish. That's quite deliberate, we don't need it any more.
Please give me the output of "sudo systemctl status -l udev-finish. service" . Thanks!