2012/7/3 Tollef Fog Heen <tfh...@err.no>:
> Ah, it looks like it never actually got to the configure step of
> systemd.  Does that sound correct, and is the diversion correctly
> removed now?  If not, could you please try downgrading to 44-2 and then
> upgrading and verifying that the diversion is gone?

1) On package removal (44-3) the diversion is still there.

root@frost:~# ls -l /lib/lsb/
total 16
drwxr-xr-x 2 root root  4096 Jul  3 12:29 init-functions.d
-rw-r--r-- 1 root root 11433 May 30 17:01 init-functions.systemd
root@frost:~# dpkg -S /lib/lsb/init-functions.systemd
diversion by systemd from: /lib/lsb/init-functions
diversion by systemd to: /lib/lsb/init-functions.systemd

ii  libsystemd-daemon0:i 44-3            i386
ii  libsystemd-login0:i3 44-3            i386
un  systemd              <none>

2) I've downgraded «libsystemd-daemon0 libsystemd-login0» to version
44-2 and installed again «systemd» (all 44-2 via some APT pin).

Selecting previously unselected package systemd.
Unpacking systemd (from .../archives/systemd_44-2_i386.deb) ...
Leaving 'diversion of /lib/lsb/init-functions to
/lib/lsb/init-functions.systemd by systemd'

The result is that now I have a «/lib/lsb/init-functions» file back
(with different content than init-functions.systemd).

root@frost:~# ls -l /lib/lsb/
total 20
-rw-r--r-- 1 root root  2370 Jun  5 23:53 init-functions
drwxr-xr-x 2 root root  4096 Jul  3 12:29 init-functions.d
-rw-r--r-- 1 root root 11433 May 30 17:01 init-functions.systemd

3) Removed APT pin and upgrade.

Setting up systemd (44-3) ...
Removing 'diversion of /lib/lsb/init-functions to
/lib/lsb/init-functions.systemd by systemd'
Setting up libpam-systemd:i386 (44-3) ...

Now the content is different:

-rw-r--r-- 1 root root 11433 May 30 17:01 init-functions
drwxr-xr-x 2 root root  4096 Jul  3 12:40 init-functions.d

The diversion is gone:

lsb-base: /lib/lsb/init-functions


I have no clue how previously there was no «init-functions» file on
the system. This morning I had to rescue the system due to many many
init.d scripts failing because of this. A quickly fixed it by copying
the init-functions.systemd file.

Cheers



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to