Your message dated Sun, 31 Aug 2014 19:19:08 +0000
with message-id <[email protected]>
and subject line Bug#753726: fixed in libselinux 2.3-2
has caused the Debian Bug report #753726,
regarding Please don't run "telinit u" under systemd
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.)
--
753726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libselinux1
Version: 2.3-1
Severity: important
Tags: patch
The current version of libselinux1.postint runs "telinit u" to tell init
to re-exec itself. This was added so the system can shutdown cleanly when
sysvinit is the active PID 1.
Under systemd this is not necessary since systemd uses a dedicated
systemd-shutdown [1] tool which replaces init on shutdown. This ensures all
file systems can be unmounted cleanly.
Running "telinit u" midway through a dist-upgrade can have unwanted side
effects as the systemd package might be in an inconsistent state.
As you can see at [2], apt decided to remove libaudit0 (which is a
dependency of systemd in wheezy) and replace it with libaudit1. The new
systemd package is not yet unpacked. Running "telinit u" in such a state
will then lead to kernel panic.
Therefore please consider applying the attached patch in your next
upload.
Cheers,
Michael
[1] http://www.freedesktop.org/software/systemd/man/systemd-halt.service.html
[2] http://people.debian.org/~biebl/Debian-2014-07-04T13-18-40-656412000Z.webm
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libselinux1:amd64 depends on:
ii libc6 2.19-4
ii libpcre3 1:8.31-5
ii multiarch-support 2.19-4
libselinux1:amd64 recommends no packages.
libselinux1:amd64 suggests no packages.
-- no debconf information
diff --git a/debian/libselinux1.postinst b/debian/libselinux1.postinst
index ad87276..6ad2da1 100644
--- a/debian/libselinux1.postinst
+++ b/debian/libselinux1.postinst
@@ -4,8 +4,12 @@ set -e
if [ "$1" = "configure" ]; then
# Restart init. If it fails, there is nothing we can do, so
- # just ignore the error (NOTE: Borrowed from libc6.postinst)
- telinit u 2>/dev/null || true ; sleep 1
+ # just ignore the error (NOTE: Borrowed from libc6.postinst).
+ # Skip if systemd is the active PID 1, since systemd doesn't
+ # need a reexec for a clean shutdown
+ if ! [ -d /run/systemd/system ]; then
+ telinit u 2>/dev/null || true ; sleep 1
+ fi
fi
#DEBHELPER#
--- End Message ---
--- Begin Message ---
Source: libselinux
Source-Version: 2.3-2
We believe that the bug you reported is fixed in the latest version of
libselinux, 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 libselinux 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, 31 Aug 2014 20:57:58 +0200
Source: libselinux
Binary: selinux-utils libselinux1 libselinux1-dev ruby-selinux python-selinux
Architecture: source amd64
Version: 2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian SELinux maintainers <[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
libselinux1 - SELinux runtime shared libraries
libselinux1-dev - SELinux development headers
python-selinux - Python bindings to SELinux shared libraries
ruby-selinux - Ruby bindings to SELinux shared libraries
selinux-utils - SELinux utility programs
Closes: 753726 753803 756826
Changes:
libselinux (2.3-2) unstable; urgency=medium
.
* Team upload.
* Add debian/patches/Add-pcre-version-string.patch: Add pcre version string
to the compiled file_contexts format. This is necesarry to detect the
cases where the internal libpcre representation has changed, if it's the
case libselinux will rely on the non-compiled file (Closes: #756826)
* Add debian/patches/Log-an-error-on-unknown-classes.patch: Log an error on
unknown classes and permissions.
* d/p/libselinux-man-Add-missing-manpage-links-to-security.patch: Add the
missing manpage links for selinux_mkload_policy(3) and
selinux_init_load_policy(3) (Closes: #753803)
* Drop debian/libselinux1.postinst: Reloading systemd during an upgrade in
an uncontroled way might endup with unwanted side effects (Closes: #753726)
Checksums-Sha1:
850d4d35e7d693f57a6e5e34ad97a9f56eb32df6 2024 libselinux_2.3-2.dsc
905a6ad71a14b7043e956868ccac94864eebdaec 24384 libselinux_2.3-2.debian.tar.xz
ab2d844612829e076d99e14c1bb0b10c14f9362f 84586 selinux-utils_2.3-2_amd64.deb
576af4ae3518ddbcbd5a586247792f78f15965e3 89808 libselinux1_2.3-2_amd64.deb
4dec597291fb4de67e77f6ec3b96eae85144d020 157790 libselinux1-dev_2.3-2_amd64.deb
f02377d91b9de7c97cf2b293d362a259bdbf84a9 76980 ruby-selinux_2.3-2_amd64.deb
94fe40eebf61cb074e0a91d892c94450fcf2b502 171060 python-selinux_2.3-2_amd64.deb
Checksums-Sha256:
aea0e0502dd1d4df17be644efb0bfe2d38e32ba2e0769eaaf8a2b64a0eb99786 2024
libselinux_2.3-2.dsc
8ec4bdb5acc066d1b369877e9a94ec1a723e4d31691753e0e1861d0884b3fd1a 24384
libselinux_2.3-2.debian.tar.xz
41c7c44f42174efe8e0147e39dfc7e4128caad9d3e02c80b363b66c5b4586525 84586
selinux-utils_2.3-2_amd64.deb
37bf5f0d0d50579bdff97098ff330cb44dd0148e20db91aa3848dd19c698e528 89808
libselinux1_2.3-2_amd64.deb
a8e09683b84a7984ccacbbdafa23d935eefa1487151bf98b7d23da268dab2853 157790
libselinux1-dev_2.3-2_amd64.deb
0d72ab3bd888d57acc93a5b23d449769146be9e540362fe63d8a9090e2664e56 76980
ruby-selinux_2.3-2_amd64.deb
ae8f74ad9e25f6d4abea39537622c119ed4dc16f199edf6017998fad45cf0321 171060
python-selinux_2.3-2_amd64.deb
Files:
228dbf27cee859f98733919f34651f5f 84586 admin optional
selinux-utils_2.3-2_amd64.deb
0e591f4a5e698fce38ec427c1f8ac989 89808 libs required
libselinux1_2.3-2_amd64.deb
7d8434b4a07054f9fa5cd6550aa79880 157790 libdevel optional
libselinux1-dev_2.3-2_amd64.deb
5269b9dfbd49ecd4e3b46d03c7a51d68 76980 ruby optional
ruby-selinux_2.3-2_amd64.deb
bb3693e581084d55b32445e33d59ffd9 171060 python optional
python-selinux_2.3-2_amd64.deb
204030e522fbd0d335a52d2bf3739fcb 2024 libs optional libselinux_2.3-2.dsc
f5b29653930819a24155b42e78063e4e 24384 libs optional
libselinux_2.3-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJUA3F+AAoJEB/FiR66sEPVXIAH+gOS/BremXYH6iWp6/gUOkR7
vOPzlg+VILdeYKuazF4lh54cWl9+C58Qnr12l+45w0C5WOSz1PpQj3EZ4/TZaCOc
ZDRIYII0NfPdW4R6y5Od3Nh6rannNLRABa1ICWdZfEGci/bTyfxJPV/msV31TF0L
dHySBXUyjoS1JZD4HJF1KZ/IMxT0rGQCi/CgOli41jK0Lbzv6HnYPILG3+C1K/df
k0JBGZzKIn16MHDP4DBCpB7afyy9ksBVlSq9muz/v2/ldyNWWgy5MF/mgScwt41b
ayg4+P9yTP3sTaIrtvB2VKVmbalCXtNRZKQjwAL/Ew3cDPVGzYj5zsRsS622dZI=
=ZSR3
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
SELinux-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel