Your message dated Sat, 26 Apr 2014 13:49:10 +0200
with message-id <[email protected]>
and subject line Re: Bug#715060: piuparts errors: unowned files left after
de-installation
has caused the Debian Bug report #715060,
regarding piuparts errors: unowned files left after de-installation
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.)
--
715060: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715060
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: init-system-helpers
Version: 1.4
Severity: normal
This topic has already been brought up, nonetheless I decided to file a
bug so we keep track of this:
Let's take an example:
# apt-get install rsyslog
..
Setting up rsyslog (7.4.1-3) ...
ln -s '/lib/systemd/system/rsyslog.service'
'/etc/systemd/system/multi-user.target.wants/rsyslog.service'
ln -s '/lib/systemd/system/rsyslog.service' '/etc/systemd/system/syslog.service'
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for libc-bin ...
root@pluto:/# find /etc/systemd/ /var/lib/systemd/
/etc/systemd/
/etc/systemd/system
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/var/lib/systemd/
/var/lib/systemd/deb-systemd-helper-enabled
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service
/var/lib/systemd/deb-systemd-helper-enabled/syslog.service
/var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also
# apt-get remove rsyslog
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
init-system-helpers libee0 libestr0 libjson-c2 liblognorm0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
rsyslog
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1682 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 12258 files and directories currently installed.)
Removing rsyslog ...
invoke-rc.d: policy-rc.d denied execution of stop.
rm '/etc/systemd/system/multi-user.target.wants/rsyslog.service'
rm '/etc/systemd/system/syslog.service'
root@pluto:/# find /etc/systemd/ /var/lib/systemd/
/etc/systemd/
/etc/systemd/system
/etc/systemd/system/multi-user.target.wants
/var/lib/systemd/
/var/lib/systemd/deb-systemd-helper-enabled
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
/var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also
# dpkg --purge rsyslog
(Reading database ... 12210 files and directories currently installed.)
Removing rsyslog ...
Purging configuration files for rsyslog ...
root@pluto:/# find /etc/systemd/ /var/lib/systemd/
/etc/systemd/
/etc/systemd/system
/etc/systemd/system/multi-user.target.wants
/var/lib/systemd/
/var/lib/systemd/deb-systemd-helper-enabled
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
# apt-get remove init-system-helpers
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libee0 libestr0 libjson-c2 liblognorm0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
init-system-helpers
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 81.9 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 12203 files and directories currently installed.)
Removing init-system-helpers ...
dpkg: warning: while removing init-system-helpers, directory '/var/lib/systemd'
not empty so not removed
# find /etc/systemd/ /var/lib/systemd/
/etc/systemd/
/etc/systemd/system
/etc/systemd/system/multi-user.target.wants
/var/lib/systemd/
/var/lib/systemd/deb-systemd-helper-enabled
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
A few observations here:
a/ i-s-h should clean up empty directories in
/var/lib/systemd/deb-systemd-helper-enabled
b/ i-s-h should clean up empty directories in /etc/systemd/system
c/ the i-s-h package should own the /etc/systemd/system directory. It's a
shared ressource
with systemd, so we need reference counting. If we want to have it removed
safely on
remove
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages init-system-helpers depends on:
ii perl 5.14.2-21
init-system-helpers recommends no packages.
init-system-helpers suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
This bug has long been fixed with various commits. Reports for packages
built with init-system-helpers ≥ 1.18 don’t contain any errors, see
e.g. https://piuparts.debian.org/sid/source/m/modemmanager.html
Closing this bug since.
--
Best regards,
Michael
--- End Message ---