** Description changed: + [Precise SRU Justification] + policycoreutils fails to purge with the following error: + + Purging configuration files for policycoreutils ... + update-rc.d: /etc/init.d/policycoreutils: file does not exist + dpkg: error processing policycoreutils (--purge): + subprocess installed post-removal script returned error exit status 1 + + Fixing this bug is blocked on Bug #935368, since otherwise the package + will not rebuild in precise, so the debdiff includes a fix. + + [Fix] + Update debian/policycoreutils.postrm to use update-rc.d remove in the purge section instead of update-rc.d defaults. + + For Bug #935368, _GNU_SOURCE needed to be defined earlier in + sandbox/seunshare.c and the path to libsetpol.a had to be updated to the + current multiarch path. Both fixes adapted from the version in quantal. + + [Regression Potential] + The regression potential should be minor since the only source file touched, sandbox/seunshare.c, only has #define _GNU_SOURCE moved from before #include <sched.h> (which: man 2 unshare; suggests is all that is necessary, apparently not) a couple lines up to the beginning of the file. + + [Test Case] + Install policycoreutils and then run: sudo apt-get purge policycoreutils; + + For Bug #935368 attempt to rebuild the policycoreutils 2.1.0-3ubuntu1 in precise. + =============================================================================== + I tested out selinux because I was going to run a somewhat untrusted piece of code (which I ended up running elsewhere anyway), so I decided to purge selinux and all the packages that came with it. When it tried to purge policycoreutils it failed ProblemType: Package DistroRelease: Ubuntu 12.04 Package: policycoreutils (not installed) ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16 Uname: Linux 3.2.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Sun May 27 17:42:56 2012 ErrorMessage: subprocess installed post-removal script returned error exit status 1 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) SourcePackage: policycoreutils Title: package policycoreutils (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005398 Title: Failure trying to purge policycoreutils To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policycoreutils/+bug/1005398/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
