All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dale Amon <amon@vnl.com>
To: Russell Coker <russell@coker.com.au>
Cc: Dale Amon <amon@vnl.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: More on selinux-default policy install probs
Date: Tue, 9 Dec 2003 19:05:03 +0000	[thread overview]
Message-ID: <20031209190503.GA3812@vnl.com> (raw)
In-Reply-To: <20031209184253.GZ3812@vnl.com>

Just so you can see what I'm seeing... first to make
sure all is virgin, I purge the files:

# dpkg --purge selinux-policy-default                         
(Reading database ... 15591 files and directories currently installed.)
Removing selinux-policy-default ...
Purging configuration files for selinux-policy-default ...

Okay, now we are in a clean state. I attempt to install
the policy package:

# dpkg -i selinux-policy-default_1%3a1.2.real-13_all.deb 
Selecting previously deselected package selinux-policy-default.
(Reading database ... 15228 files and directories currently installed.)
Unpacking selinux-policy-default (from selinux-policy-default_1%3a1.2.real-13_all.deb) ...
Setting up selinux-policy-default (1.2.real-13) ...
/etc/selinux does not exist, aborting!
run-parts: /etc/dpkg/postinst.d/selinux exited with return code 1
"/bin/run-parts --arg=selinux-policy-default /etc/dpkg/postinst.d" failed: 256
dpkg: error processing selinux-policy-default (--install):
 1Error running trigger postinst: No such file or directory
Errors were encountered while processing:
 selinux-policy-default

And it fails... and leaves the postinit.d hook 
behind just to make sure all other package
installs will fail too!

It looks to me like the postinst.d hook might run
before selinux-policy-default.postinst creates the
link. But that doesn't make sense because that 
would happen on any system and always fail the
first time around.

Next I guess I'll have to try debugging these
scripts to see why this happens...

-- 
------------------------------------------------------
   Dale Amon     amon@islandone.org    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------

--
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-09 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09 18:42 More on selinux-default policy install probs Dale Amon
2003-12-09 19:05 ` Dale Amon [this message]

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=20031209190503.GA3812@vnl.com \
    --to=amon@vnl.com \
    --cc=russell@coker.com.au \
    --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.