chkconfig / systemd deadlinks creation on package removal
Elan Ruusamäe
glen at delfi.ee
Tue Sep 11 22:01:49 CEST 2018
removing packages with init.d seems to create dead symlinks:
[root at blodnatt work]# poldek -e lxc-libs
mark lxc-libs-2.1.1-3.x86_64
Processing dependencies...
lxc-libs-2.1.1-3.x86_64 marks lxc-2.1.1-3.x86_64 (req liblxc.so.1()(64bit))
There are 2 packages to remove (1 marked by dependencies):
R lxc-libs-2.1.1-3.x86_64
D lxc-2.1.1-3.x86_64
This operation will free 1.8MB of disk space.
Proceed? [N/y] y
Running pm-command.sh --erase --root /...
[master c4df405] committing changes in /etc after poldek run
13 files changed, 178 deletions(-)
delete mode 100644 lxc/default.conf
delete mode 100755 rc.d/init.d/lxc
delete mode 100755 rc.d/init.d/lxc-net
rename rc.d/rc2.d/{S98lxc-net => K01lxc-net} (100%)
rename rc.d/rc3.d/{S99lxc => K01lxc} (100%)
rename rc.d/rc3.d/{S98lxc-net => K01lxc-net} (100%)
rename rc.d/rc4.d/{S99lxc => K01lxc} (100%)
rename rc.d/rc4.d/{S98lxc-net => K01lxc-net} (100%)
rename rc.d/rc5.d/{S99lxc => K01lxc} (100%)
rename rc.d/rc5.d/{S98lxc-net => K01lxc-net} (100%)
delete mode 100644 sysconfig/lxc
delete mode 100644 sysconfig/lxc_macvlan
[root at blodnatt work]# l /etc/rc.d/*/*lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc0.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc1.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc2.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc3.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc4.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc5.d/K01lxc-net ->
../init.d/lxc-net
lrwxrwxrwx 1 root root 17 sept 11 22:59 /etc/rc.d/rc6.d/K01lxc-net ->
../init.d/lxc-net
More information about the pld-devel-en
mailing list