[DSE-Dev] Bug#1073623: policycoreutils: move aliased files from / to /usr (DEP17)

Michael Biebl biebl at debian.org
Thu Aug 15 08:12:02 BST 2024


Control: tags -1 + pending


Hi bigon,

I've uploaded an NMU to DELAYED/7 fixing this RC bug.
The debdiff is attached.

Please let me know if I should delay further.

Regards,
Michael
-------------- next part --------------
diff -Nru policycoreutils-3.5/debian/changelog policycoreutils-3.5/debian/changelog
--- policycoreutils-3.5/debian/changelog	2023-08-24 14:26:45.000000000 +0200
+++ policycoreutils-3.5/debian/changelog	2024-08-15 09:00:46.000000000 +0200
@@ -1,3 +1,10 @@
+policycoreutils (3.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Move aliased files from / to /usr (DEP17). Closes: #1073623
+
+ -- Michael Biebl <biebl at debian.org>  Thu, 15 Aug 2024 09:00:46 +0200
+
 policycoreutils (3.5-2) unstable; urgency=medium
 
   * Made fixfiles default to -T0 (threads=cores) Closes: #1042756
diff -Nru policycoreutils-3.5/debian/policycoreutils.install policycoreutils-3.5/debian/policycoreutils.install
--- policycoreutils-3.5/debian/policycoreutils.install	2023-08-24 14:20:43.000000000 +0200
+++ policycoreutils-3.5/debian/policycoreutils.install	2024-08-15 09:00:46.000000000 +0200
@@ -1,18 +1,18 @@
-debian/local/selinux-autorelabel lib/systemd/
-debian/local/selinux-autorelabel-generator.sh lib/systemd/system-generators
+debian/local/selinux-autorelabel usr/lib/systemd/
+debian/local/selinux-autorelabel-generator.sh usr/lib/systemd/system-generators
 debian/remove-leaf-dirs usr/libexec/selinux/
 etc/sestatus.conf
-usr/sbin/fixfiles sbin/
-usr/sbin/load_policy sbin/
-sbin/restorecon
-sbin/restorecon_xattr
-sbin/setfiles
 usr/bin/secon
 usr/bin/sestatus
 usr/libexec/selinux/hll
+usr/sbin/fixfiles
 usr/sbin/genhomedircon
 usr/sbin/genhomedircon
+usr/sbin/load_policy
+usr/sbin/restorecon
+usr/sbin/restorecon_xattr
 usr/sbin/semodule
+usr/sbin/setfiles
 usr/sbin/sestatus
 usr/sbin/setsebool
 usr/share/bash-completion/completions/setsebool
diff -Nru policycoreutils-3.5/debian/policycoreutils.links policycoreutils-3.5/debian/policycoreutils.links
--- policycoreutils-3.5/debian/policycoreutils.links	2023-07-11 08:02:41.000000000 +0200
+++ policycoreutils-3.5/debian/policycoreutils.links	2024-08-15 09:00:46.000000000 +0200
@@ -1,2 +1,2 @@
-lib/systemd/system/selinux-autorelabel-mark.service lib/systemd/system/basic.target.wants/selinux-autorelabel-mark.service
+usr/lib/systemd/system/selinux-autorelabel-mark.service usr/lib/systemd/system/basic.target.wants/selinux-autorelabel-mark.service
 usr/share/bash-completion/completions/setsebool usr/share/bash-completion/completions/getsebool
diff -Nru policycoreutils-3.5/debian/policycoreutils.lintian-overrides policycoreutils-3.5/debian/policycoreutils.lintian-overrides
--- policycoreutils-3.5/debian/policycoreutils.lintian-overrides	2023-07-11 08:02:41.000000000 +0200
+++ policycoreutils-3.5/debian/policycoreutils.lintian-overrides	2024-08-15 09:00:46.000000000 +0200
@@ -1,4 +1,4 @@
 # selinux-autorelabel-mark.service functionality is included in the LSB
 # selinux-autorelabel script, that's why there is no conterpart in the LSB
 # world
-policycoreutils: package-supports-alternative-init-but-no-init.d-script [lib/systemd/system/selinux-autorelabel-mark.service]
+policycoreutils: package-supports-alternative-init-but-no-init.d-script [usr/lib/systemd/system/selinux-autorelabel-mark.service]
diff -Nru policycoreutils-3.5/debian/policycoreutils.selinux-autorelabel.service policycoreutils-3.5/debian/policycoreutils.selinux-autorelabel.service
--- policycoreutils-3.5/debian/policycoreutils.selinux-autorelabel.service	2023-07-11 08:02:41.000000000 +0200
+++ policycoreutils-3.5/debian/policycoreutils.selinux-autorelabel.service	2024-08-15 09:00:46.000000000 +0200
@@ -7,7 +7,7 @@
 ConditionSecurity=selinux
 
 [Service]
-ExecStart=/lib/systemd/selinux-autorelabel
+ExecStart=/usr/lib/systemd/selinux-autorelabel
 Type=oneshot
 TimeoutSec=0
 RemainAfterExit=yes
diff -Nru policycoreutils-3.5/debian/rules policycoreutils-3.5/debian/rules
--- policycoreutils-3.5/debian/rules	2023-07-11 08:02:41.000000000 +0200
+++ policycoreutils-3.5/debian/rules	2024-08-15 09:00:46.000000000 +0200
@@ -18,6 +18,9 @@
 # Build newrole executable with the audit and namespace support
 export LSPP_PRIV=y
 
+# Install all binaries into /usr
+export SBINDIR=/usr/sbin
+
 %:
 	dh $@
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20240815/2130129a/attachment-0001.sig>


More information about the SELinux-devel mailing list