selinux can't be reconfigured

Bug #207784 reported by Reinhard Tartler
6
Affects Status Importance Assigned to Milestone
selinux (Ubuntu)
In Progress
Undecided
Unassigned

Bug Description

Binary package hint: selinux

reconfiguring the selinux package fails:

siretart@hardy:~$ sudo dpkg-reconfigure selinux
dpkg-trigger: dpkg-trigger must be called from a maintainer script (or with a --by-package option)

Ideally it would offer the same configuration screens as on initial install

Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" [WWW] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

 We have instructions on debugging some types of problems at [WWW] http://wiki.ubuntu.com/DebuggingProcedures

 At a minimum, we need:
 1. the specific steps or actions you took that caused you to encounter the problem,
 2. the behavior you expected, and
 3. the behavior you actually encountered (in as much detail as possible).

Can you please also report the version of selinux you are using?
 Thanks!

Changed in selinux:
status: New → Incomplete
Revision history for this message
Reinhard Tartler (siretart) wrote :

I clarified the bug description

description: updated
Changed in selinux:
status: Incomplete → New
Revision history for this message
Caleb Case (calebcase) wrote : Re: [Bug 207784] Re: selinux can't be reconfigured

This is related to LP: #198421
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/198421

See that bug for a quick solution and the associated tree with a fix.

Thanks for the report,

Caleb

On Thu, Mar 27, 2008 at 11:56 AM, Reinhard Tartler <email address hidden> wrote:
> I clarified the bug description
>
> ** Description changed:
>
>
> Binary package hint: selinux
>
> - siretart@hardy:~$ id -Z
> - id: --context (-Z) works only on an SELinux-enabled kernel
> + reconfiguring the selinux package fails:
> +
>
> siretart@hardy:~$ sudo dpkg-reconfigure selinux
> dpkg-trigger: dpkg-trigger must be called from a maintainer script (or with a --by-package option)
> +
> + Ideally it would offer the same configuration screens as on initial
> + install
>
> ** Changed in: selinux (Ubuntu)
> Status: Incomplete => New
>
>
>
> --
> selinux can't be reconfigured
> https://bugs.launchpad.net/bugs/207784
> You received this bug notification because you are subscribed to selinux
> in ubuntu.
>

Revision history for this message
Caleb Case (calebcase) wrote :

The related bug in debconf is in progress and I wanted this to reflect that.

Changed in selinux:
status: New → In Progress
Revision history for this message
Tom Gregory (tom-postnix-deactivatedaccount) wrote :

I also get that error when reconfigure selinux with dpkg-reconfigure.

Further, selinux instalation in my system doesn't create the policy which will cause an error when booting as i describe in https://bugs.edge.launchpad.net/ubuntu/+source/selinux/+bug/224948

Revision history for this message
Esa Häkkinen (esa+hakkinen) wrote :

reporting solution for me:

/var/lib/dpkg/info/selinux.prerm assumes it can run /etc/init.d/selinux, which might not exist.

I created /etc/init.d/selinux with content:
!/bin/sh
exit 0

After this I could remove package selinux.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.