apt-get doesn't support SELinux (Was Re: portmap)
gbpeck at sbcglobal.net
Thu Feb 3 19:29:54 UTC 2005
On Wed, Feb 02, 2005 at 04:38:29PM -0700, Jared W. Robinson wrote:
> As an FYI, apt-get doesn't support SELinux. I didn't know that until now.
Actually, apt-get has SELinux support in CVS, just not in the latest
released version (0.5.15cnc6). Which version of apt-get are you running,
and from which repository? I know that apt in Fedora Extras is using the
CVS version, but I believe Dag's apt might still be at the last released
BTW, the SELinux patch is available at
It's pretty minor.
> On Wed, Feb 02, 2005 Daniel J Walsh wrote:
> > >
> > > I installed the FC3 machine from scratch, and it was running for
> > > some time without problems in targeted mode. [...] But looking at it
> > > today, many libraries in the /lib directory had the wrong contexts.
> > > I wonder if using apt-get and freshrpms or the Dag Wieers rpms had
> > > anything to do with the "degradation" of my system.
> > apt-get does not have the SELinux port, so any RPM that you installed
> > would get the default context for the directory that it was installed
> > in. Yum and rpm support SELinux but apt does not. (We don't ship apt so
> > I don't get a chance to change it. You might find a SELinux version of
> > it available from debian.)
More information about the fedora-selinux-list