diff -Nru util-linux-2.36/debian/changelog util-linux-2.36/debian/changelog --- util-linux-2.36/debian/changelog 2020-08-02 07:14:53.000000000 +1200 +++ util-linux-2.36/debian/changelog 2020-08-11 10:50:23.000000000 +1200 @@ -1,3 +1,12 @@ +util-linux (2.36-2ubuntu2) groovy; urgency=medium + + * Allow users in group adm to access dmesg when DMESG_RESTRICT is enforced. + - debian/util-linux.postinst: Permission changes to /bin/dmesg. + - debian/control: Add libcap2-bin as a dependency to set CAP_SYSLOG + to /bin/dmesg. (LP: #1886112) + + -- Matthew Ruffell Tue, 11 Aug 2020 10:50:23 +1200 + util-linux (2.36-2ubuntu1) groovy; urgency=medium * Merge from Debian unstable. Remaining changes: diff -Nru util-linux-2.36/debian/control util-linux-2.36/debian/control --- util-linux-2.36/debian/control 2020-07-30 04:42:24.000000000 +1200 +++ util-linux-2.36/debian/control 2020-08-11 10:49:16.000000000 +1200 @@ -41,6 +41,7 @@ Pre-Depends: ${misc:Pre-Depends}, ${shlibs:Depends} Depends: login (>= 1:4.5-1.1~), + libcap2-bin (>= 1:2.32-1), ${misc:Depends} Suggests: dosfstools, kbd | console-tools, diff -Nru util-linux-2.36/debian/util-linux.postinst util-linux-2.36/debian/util-linux.postinst --- util-linux-2.36/debian/util-linux.postinst 2020-07-30 04:42:24.000000000 +1200 +++ util-linux-2.36/debian/util-linux.postinst 2020-08-11 10:50:08.000000000 +1200 @@ -9,4 +9,10 @@ # alternative on upgrades from Stretch. update-alternatives --remove pager /usr/bin/pg +# Ubuntu - Allow users in group adm to access dmesg when +# DMESG_RESTRICT is enforced (LP: #1886112) +chown root:adm /bin/dmesg +chmod 0750 /bin/dmesg +setcap cap_syslog=ep /bin/dmesg + #DEBHELPER#