All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom <tom@lemuria.org>
To: selinux@tycho.nsa.gov
Subject: the /etc/selinux problem
Date: Wed, 3 Dec 2003 11:17:47 +0100	[thread overview]
Message-ID: <20031203111746.A27632@lemuria.org> (raw)

Someone here had an install problem - sorry, I don't remember your
name.

I stepped back through my install and found your solution:


There is a hen-egg problem in /etc/dpkg/postinst.d/selinux when you
upgrade (don't know about fresh installs). Here's what I did to get it
solved:

dpkg --purge selinux-policy-default
manually rm -r /etc/selinux and rm -r /usr/share/selinux/policy
now vi /etc/dpkg/postinst.d/selinux and put an exit 0 right at the
start.
now dpkg -i selinux-policy-default_1.2.real-13_all.deb

should now work. Remove the exit 0 from the script. You may have to
issue a make relabel, but that's a good idea anyways.


-- 
PGP/GPG key: http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2003-12-03 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 10:17 Tom [this message]
2003-12-03 13:26 ` the /etc/selinux problem Dale Amon
2003-12-10  1:20 ` Dale Amon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031203111746.A27632@lemuria.org \
    --to=tom@lemuria.org \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.