Your message dated Sun, 28 Oct 2012 00:03:49 +0200
with message-id <[email protected]>
and subject line Failed to add LSB Provides name lvm.service, ignoring: File
exists
has caused the Debian Bug report #642576,
regarding systemd: [/etc/init.d/lvm2:3] Failed to add LSB Provides name
lvm.service, ignoring: File exists
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.)
--
642576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642576
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 36-0.1
Hi,
I get the following line in dmesg on bootup:
[ 15.852509] systemd[1]: [/etc/init.d/lvm2:3] Failed to add LSB
Provides name lvm.service, ignoring: File exists
Uninstalling schroot makes it go away. By adding a few log_debug()
lines, we discover this EEXIST comes from the following condition
tripping in unit_add_name():
if ((r = hashmap_put(u->meta.manager->units, s, u)) < 0) {
and earlier in the debug log we find
[ 15.766682] systemd[1]: Failed to load configuration for
lvm.service: No such file or directory
which is presumably triggered by schroot's
# Should-Start: lvm
Known problem? Any ideas for tracking it down? LSB headers for lvm2 and
schroot follow.
Thanks,
Jonathan
-- >8 -------- from lvm2 2.02.86-1 --------- >8 --
#!/bin/sh
### BEGIN INIT INFO
# Provides: lvm2 lvm
# Required-Start: mountdevsubfs
# Required-Stop:
# Should-Start: udev mdadm-raid cryptdisks-early multipath-tools-boot
# Should-Stop: umountroot mdadm-raid
# X-Start-Before: checkfs mountall
# X-Stop-After: umountfs
# Default-Start: S
# Default-Stop:
### END INIT INFO
-- 8< ------------------------------------- 8< --
-- >8 -------- from schroot 1.5.0-1 ------- >8 --
#! /bin/sh
#
### BEGIN INIT INFO
# Provides: schroot
# Required-Start: $local_fs $syslog $network $remote_fs
# Required-Stop:
# Should-Start: lvm
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Recover schroot sessions.
# Description: Activate any persistent sessions after a reboot.
# Setup scripts will be run to mount filesystems and
# bring the chroot back to a working state.
### END INIT INFO
-- 8< ------------------------------------ 8< --
--- End Message ---
--- Begin Message ---
Version: 44-4
Multiple provides should no longer be a problem with the current version
in sid and wheezy.
E.g. for for lvm2 you now get:
Id=lvm2.service
Names=lvm2.service lvm.service
Closing this bug report.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---