[Bug 1867537] Re: 10-link-restrictions.conf missing - removed by postinst
Peter White
1867537 at bugs.launchpad.net
Tue Sep 14 19:35:48 UTC 2021
Oh, I just found the file. It has a different name than suggested in the
changelog:
/usr/lib/sysctl.d/protect-links.conf
And silly me didn't of just checking what sysctl returns for those values set in there. It's all good:
$ sudo sysctl fs.protected_fifos
fs.protected_fifos = 1
$ sudo sysctl fs.protected_hardlinks
fs.protected_hardlinks = 1
$ sudo sysctl fs.protected_regular
fs.protected_regular = 2
$ sudo sysctl fs.protected_symlinks
fs.protected_symlinks = 1
So, from my POV the debsums error, while technically correct, is a non-
issue.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1867537
Title:
10-link-restrictions.conf missing - removed by postinst
Status in procps package in Ubuntu:
Confirmed
Bug description:
The file "10-link-restrictions.conf" is listed in DEBIAN/conffiles in
the binary deb package, and the file is present/installed, but it is
removed by the "postinst" script resulting in "debsums" flagging it as
a missing config file:
root at beluga:~# lsb_release -d
Description: Ubuntu Focal Fossa (development branch)
root at beluga:~# apt policy procps
procps:
Installed: 2:3.3.16-1ubuntu2
Candidate: 2:3.3.16-1ubuntu2
Version table:
*** 2:3.3.16-1ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root at beluga:~# debsums -ac procps
debsums: missing file /etc/sysctl.d/10-link-restrictions.conf (from procps package)
This is not an issue in 18.04:
manager at brigante:~$ lsb_release -d
Description: Ubuntu 18.04.4 LTS
manager at brigante:~$ apt policy procps
procps:
Installed: 2:3.3.12-3ubuntu1.2
Candidate: 2:3.3.12-3ubuntu1.2
Version table:
*** 2:3.3.12-3ubuntu1.2 500
500 http://it.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
2:3.3.12-3ubuntu1.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
2:3.3.12-3ubuntu1 500
500 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
manager at brigante:~$ debsums -ac procps
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1867537/+subscriptions
More information about the foundations-bugs
mailing list