Your message dated Sun, 24 Jan 2016 11:34:45 +0000
with message-id <[email protected]>
and subject line Bug#767930: fixed in policycoreutils 2.4-4
has caused the Debian Bug report #767930,
regarding files with the same name installed in / and /usr
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
767930: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767930
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: policycoreutils
Version: 2.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge
The package installs a symbolic link and a file with the same name in
both /bin/ and /usr/bin/, so it makes impossible to convert a system
to the everything-in-usr directories scheme.
The attached patch solves this problem by creating the link in postinst
and only if it is needed.
For more information about everything-in-usr please read
http://anonscm.debian.org/cgit/users/md/usrmerge.git/tree/debian/README.Debian
--
ciao,
Marco
diff -urpN a/debian/policycoreutils.postinst b/debian/policycoreutils.postinst
--- a/debian/policycoreutils.postinst 2014-05-17 12:30:42.000000000 +0200
+++ b/debian/policycoreutils.postinst 2014-11-02 15:43:37.000000000 +0100
@@ -39,6 +39,9 @@ SELINUXTYPE=default
SETLOCALDEFS=0
EOF
fi
+ if [ ! -e /usr/sbin/load_policy ]; then
+ ln -s /sbin/load_policy /usr/sbin/load_policy
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff -urpN a/debian/policycoreutils.postrm b/debian/policycoreutils.postrm
--- a/debian/policycoreutils.postrm 2014-05-17 12:30:42.000000000 +0200
+++ b/debian/policycoreutils.postrm 2014-11-02 15:43:45.000000000 +0100
@@ -20,7 +20,13 @@ set -e
case "$1" in
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ remove)
+ if [ -L /usr/sbin/load_policy ]; then
+ rm /usr/sbin/load_policy
+ fi
;;
purge)
diff -urpN a/debian/rules b/debian/rules
--- a/debian/rules 2014-05-17 12:30:42.000000000 +0200
+++ b/debian/rules 2014-11-02 15:40:35.000000000 +0100
@@ -30,10 +30,6 @@ override_dh_auto_install:
override_dh_install:
dh_install --list-missing
-# Fix symlink
- rm -f $(CURDIR)/debian/policycoreutils/usr/sbin/load_policy
- ln -s /sbin/load_policy $(CURDIR)/debian/policycoreutils/usr/sbin/load_policy
-
override_dh_fixperms:
dh_fixperms -Xusr/sbin/seunshare
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: policycoreutils
Source-Version: 2.4-4
We believe that the bug you reported is fixed in the latest version of
policycoreutils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laurent Bigonville <[email protected]> (supplier of updated policycoreutils
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 24 Jan 2016 12:12:53 +0100
Source: policycoreutils
Binary: policycoreutils policycoreutils-python-utils python-sepolicy
policycoreutils-gui policycoreutils-dev policycoreutils-sandbox restorecond
mcstrans newrole
Architecture: source amd64 all
Version: 2.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian SELinux maintainers <[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
mcstrans - SELinux core policy utilities (mcstrans utilities)
newrole - SELinux core policy utilities (newrole application for RBAC/MLS)
policycoreutils - SELinux core policy utilities
policycoreutils-dev - SELinux core policy utilities (development utilities)
policycoreutils-gui - SELinux core policy utilities (graphical utilities)
policycoreutils-python-utils - SELinux core policy utilities (Python utilities)
policycoreutils-sandbox - SELinux core policy utilities (graphical sandboxes)
python-sepolicy - Python binding for SELinux Policy Analyses
restorecond - SELinux core policy utilities (restorecond utilities)
Closes: 767930
Changes:
policycoreutils (2.4-4) unstable; urgency=medium
.
* Team upload.
* Drop d/p/0009-find-does-not-have-a-context-switch.patch, findutils now
supports the -context switch, also be sure we have the correct version
installed.
* Create the /usr/sbin/load_policy symlink in the postinst script to support
the everything-in-usr directories scheme. (Closes: #767930)
Checksums-Sha1:
297a86812300d7d7ec9de495ba4640fc6590eb9d 2626 policycoreutils_2.4-4.dsc
7af45fbfe2db41cbcca8a9d5325480ea26e37ba9 32596
policycoreutils_2.4-4.debian.tar.xz
35d884b54758c7ee2ab994d24ddccf288970f662 52250 mcstrans-dbgsym_2.4-4_amd64.deb
4bcc1e4d8fbc1d0da02b6bb050ff0c7785568247 132422 mcstrans_2.4-4_amd64.deb
a1f15991378b9fbd0d219fd8655802d01f688a83 34040 newrole-dbgsym_2.4-4_amd64.deb
11077fcd10ced32e689e3f659e8db35b059c1c6c 54724 newrole_2.4-4_amd64.deb
23f46dd3b718c56d67343455fed765e0707c8588 117300
policycoreutils-dbgsym_2.4-4_amd64.deb
fe4036e9e1cad2343012a325f46be00e2e10644c 43738
policycoreutils-dev-dbgsym_2.4-4_amd64.deb
43afc4b74245472b49cb63353b595510ee1bdbac 166836
policycoreutils-dev_2.4-4_amd64.deb
b9ebbe376801c8e5946c24793549b7a328d79bf9 1579762
policycoreutils-gui_2.4-4_all.deb
67e113381e7c7a74a15d90a0104f559b670e8896 8050
policycoreutils-python-utils-dbgsym_2.4-4_amd64.deb
2ba73c3011936e49edc2a7390d57741ceddaaac5 86000
policycoreutils-python-utils_2.4-4_amd64.deb
0deb773b414587f3f465cb225d32ef051f074207 17636
policycoreutils-sandbox-dbgsym_2.4-4_amd64.deb
ca384e410661f058ab5e225db8457ed496a61a18 46638
policycoreutils-sandbox_2.4-4_amd64.deb
18e6ae6377ad00570076e9d91b9f7b093bc2aebb 575204 policycoreutils_2.4-4_amd64.deb
d984faf7c078003863389ea51555c3465b8e0513 43716
python-sepolicy-dbgsym_2.4-4_amd64.deb
3884caacd45c1a453d9059e1a1e558604f50a25f 75730 python-sepolicy_2.4-4_amd64.deb
b9a151c379b0cbae1784a9ee0ff7d64e36e78607 33340
restorecond-dbgsym_2.4-4_amd64.deb
17fcb57a3992ec65fdbeb3b632f2ca8cf67ee112 52042 restorecond_2.4-4_amd64.deb
Checksums-Sha256:
ccd4d106d0941812cd1042be5fef13c78dc72fccf5d0006ef0234e1c32b665d4 2626
policycoreutils_2.4-4.dsc
07dad170bf733c07074700e7561396f53c5f4c33e25919a3f02daa323b837882 32596
policycoreutils_2.4-4.debian.tar.xz
8b036e534263fbf7e32bccae17809028827406d69d0c69f1eed79de6fbc8782c 52250
mcstrans-dbgsym_2.4-4_amd64.deb
6b7d672a45d546fe985e9ea4ce0473c8412ba0679efe16f7704c3f9e22f5cdfe 132422
mcstrans_2.4-4_amd64.deb
97f986c7879556348443e5a1a56aa9b3e1e8d4175b57366411ccfb92e3621c04 34040
newrole-dbgsym_2.4-4_amd64.deb
45bc7a563095e46cad22b347e68a677cc0de1d481a6a858736e15fa447b478bf 54724
newrole_2.4-4_amd64.deb
df3c817d27751ffa7e9601e6bca6b31930b6dc4943ac80c6a78c2e1cd3a3d430 117300
policycoreutils-dbgsym_2.4-4_amd64.deb
d163ebf9166484548d896821a0862494dd7457926082497c2e8442bcba15b2c9 43738
policycoreutils-dev-dbgsym_2.4-4_amd64.deb
340c312bfd74ba7978ebb952770f04dff18461eed851d9c511075675c3df6f47 166836
policycoreutils-dev_2.4-4_amd64.deb
08d6f6adb4acb6470b26ccc00609f632199580dd8ba5c97716a3391725b4241a 1579762
policycoreutils-gui_2.4-4_all.deb
7badc4c4b6a5c4058cee534dddd36ef96ca169da62008d0e26d77b72c00f102a 8050
policycoreutils-python-utils-dbgsym_2.4-4_amd64.deb
cd291f6f50b03a427e9d41f034b4bf3f077e4c58b56ffcbf70fa52090083d7d2 86000
policycoreutils-python-utils_2.4-4_amd64.deb
2f9f40426135173df262cd76e874ddbe46e298e172614670a9115be347e37e1a 17636
policycoreutils-sandbox-dbgsym_2.4-4_amd64.deb
f92a87a2be09d6c55cb90252f19b57228156ec83b115c3d22fbca59bfe6841ef 46638
policycoreutils-sandbox_2.4-4_amd64.deb
29ea8eed57e42c54cb8f672fe8243df8d5712111021b6f8d1fe54df40d242713 575204
policycoreutils_2.4-4_amd64.deb
f566972c0fb23fd79120257b20a77ac793207a1ff7e325fee365be20b5fece23 43716
python-sepolicy-dbgsym_2.4-4_amd64.deb
ed65e134b7719deb08133ce058183293a1c8c3def649620b1c7f37df9390eeb2 75730
python-sepolicy_2.4-4_amd64.deb
31918da0dc62dc01e3a0dfdd7f054f7b3a0affcc9131df1d8f876f416c3556d5 33340
restorecond-dbgsym_2.4-4_amd64.deb
0784f452c645e7aa6acef277ed925b5e84b57048740a6f21e599d21c88f20bc3 52042
restorecond_2.4-4_amd64.deb
Files:
6c97664addcf0b8e0682e00d61adb86f 2626 utils optional policycoreutils_2.4-4.dsc
339433ce37d55da74e3c0e2fede53d50 32596 utils optional
policycoreutils_2.4-4.debian.tar.xz
32df02d64c262a446163d4b6f17ba188 52250 debug extra
mcstrans-dbgsym_2.4-4_amd64.deb
bd17a7063d925f26097fdac685eb1b60 132422 utils extra mcstrans_2.4-4_amd64.deb
a6e30bfccc11a4e276543e8f0a36b842 34040 debug extra
newrole-dbgsym_2.4-4_amd64.deb
2d8d38cfdb344cc5e326446e5dabaf8c 54724 utils extra newrole_2.4-4_amd64.deb
4eee524cb439eebc858af3843d775bb5 117300 debug extra
policycoreutils-dbgsym_2.4-4_amd64.deb
4978f76893ee04d24c39adfa52869df0 43738 debug extra
policycoreutils-dev-dbgsym_2.4-4_amd64.deb
8709b97a47f8bbb1e6cd5abfbf03dc69 166836 devel optional
policycoreutils-dev_2.4-4_amd64.deb
bec144c2e3b14050ab27c896bb7dfc0e 1579762 utils extra
policycoreutils-gui_2.4-4_all.deb
ac55ff8cbe0e47e41016bf3543dff51e 8050 debug extra
policycoreutils-python-utils-dbgsym_2.4-4_amd64.deb
d0ab61c4e481d5af3da9bf7fefd47f2e 86000 utils optional
policycoreutils-python-utils_2.4-4_amd64.deb
ea156e9deddb7b19aea7608f7fc274be 17636 debug extra
policycoreutils-sandbox-dbgsym_2.4-4_amd64.deb
40c1c845f30793b582d94863163ace34 46638 utils extra
policycoreutils-sandbox_2.4-4_amd64.deb
5fda9f55c7e42a098256341c7d1a3423 575204 utils optional
policycoreutils_2.4-4_amd64.deb
b5544b8e5493409651d7653ef228be7f 43716 debug extra
python-sepolicy-dbgsym_2.4-4_amd64.deb
f7da98b6015251b2c9a1afa421abc945 75730 python optional
python-sepolicy_2.4-4_amd64.deb
9f7a1520ad5fe713dac6acff9ab65573 33340 debug extra
restorecond-dbgsym_2.4-4_amd64.deb
9f350c6f00e24aeafdf4605c67e5c224 52042 utils optional
restorecond_2.4-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJWpLNoAAoJEB/FiR66sEPVAfUH/19LT2GNiZYfopMU0aXZJvQf
Q18/vGTfIiMM2xspl2nVAEWoZOtXZhdISs3IOXXQORfV7KwxYMhF/8WohmK5ODYd
JSlkNHV/6AGtBA/IEoFfB9PZNw0qc5IWVT7prsHj5K8vLZ6iQUivxlHnhSmlMEvC
hTBVRydXeklXvhBZLN0OObxacfnQk+1zcL1dgH+fKEg0gLS5NKdwS12d5N/KgYdA
MBSCk7jHVOATnWoWyY+TpLGzJ7EHGojAleSUkTsnAHw7LY+KFxbopepbbh0THOiv
CTce/XAOjDQJc2AchLUHfPVVh7Ej0ZNRvK7xSiZFaTfg8C8dPgYvW2XB91hklOY=
=urn9
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
SELinux-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel