Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#43880 - pacman unexpectedly removes files
Attached to Project:
Pacman
Opened by Sébastien Luttringer (seblu) - Thursday, 19 February 2015, 01:10 GMT
Last edited by Andrew Gregory (andrewgregory) - Wednesday, 11 March 2015, 20:21 GMT
Opened by Sébastien Luttringer (seblu) - Thursday, 19 February 2015, 01:10 GMT
Last edited by Andrew Gregory (andrewgregory) - Wednesday, 11 March 2015, 20:21 GMT
|
DetailsUpgrading bind to the latest version (9.10.1.P2-2) remove /var/named/root.hint in spite of:
- The /var/named/root.hint is present in both packages version (9.10.1.P1-2 and 9.10.1.P2-2) - /var/named is not extracted. Directive in pacman.conf. # grep ^NoExtract /etc/pacman.conf NoExtract = var/named/ # pacman -U --noconfirm --debug /root/bind-9.10.1.P2-2-x86_64.pkg.tar.xz 2>/tmp/debug.log I mark the file as immutable, to prevent the removing and see where the remove fail in attached log. Others files like empty.zone are not removed. root.hint is required to start bind. As a consequence, the service fail after upgrade. |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Wednesday, 11 March 2015, 20:21 GMT
Reason for closing: Not a bug
Wednesday, 11 March 2015, 20:21 GMT
Reason for closing: Not a bug
debug.log
debug: removing old package first (bind-9.10.1.P2-2)
debug: adding etc/named.conf to the skip_remove array
debug: adding var/named/127.0.0.zone to the skip_remove array
debug: adding var/named/localhost.zone to the skip_remove array
debug: adding var/named/localhost.ip6.zone to the skip_remove array
debug: adding var/named/empty.zone to the skip_remove array
debug: "/var/named/root.hint" is not writable: Permission denied
debug: removing 446 files
debug: unlinking /var/named/root.hint
[1;31merror: [0mcannot remove /var/named/root.hint (Operation not permitted)
debug: /var/named/localhost.zone is in skip_remove, skipping removal
debug: /var/named/localhost.ip6.zone is in skip_remove, skipping removal
debug: /var/named/empty.zone is in skip_remove, skipping removal
debug: /var/named/127.0.0.zone is in skip_remove, skipping removal
debug: keeping directory /var/named/ (contains files)