Package: libsepol
Severity: normal
Tags: patch
I have found an old patch I wanted to send to you, which I had created to
fix an issue during upgrades of multiple Ubuntu Hardy boxes to Debian
testing.
The installation of libsepol1 failed as follows:
Setting up libsepol1 (2.0.41-1) …
init: Not being executed as init
dpkg: error processing libsepol1 (--configure):
subprocess installed post-installation script returned error exit
status 1
It looks like the patch to debian/postinst would still apply for 2.1.0.
I am attaching it inline, because it is so trivial:
# diff /var/lib/dpkg/info/libsepol1.postinst{.orig,} -u
--- /var/lib/dpkg/info/libsepol1.postinst.orig 2010-11-05 14:24:44.000000000
+0100
+++ /var/lib/dpkg/info/libsepol1.postinst 2010-11-05 14:24:52.000000000
+0100
@@ -171,7 +171,7 @@
if [ -x /sbin/telinit ]; then
(telinit u ; sleep 1)
else
- (init u ; sleep 1)
+ (init u || true ; sleep 1)
fi
fi
fi
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]