From: Stephen Smalley <sds@tycho.nsa.gov>
To: "C.J. Adams-Collier KF7BMP" <cjac@colliertech.org>
Cc: Dominick Grift <dominick.grift@gmail.com>,
SE-Linux <selinux@tycho.nsa.gov>,
Russell Coker <russell@coker.com.au>
Subject: Re: SELinux on Wheezy
Date: Thu, 09 Feb 2012 12:53:31 -0500 [thread overview]
Message-ID: <1328810011.6866.65.camel@moss-pluto> (raw)
In-Reply-To: <1328808846.5174.41.camel@foxtrot.cjac.ntr.f5net.com>
On Thu, 2012-02-09 at 09:34 -0800, C.J. Adams-Collier KF7BMP wrote:
> > That's interesting, and it might explain why your policy didn't get
> > fully installed originally. Is that alsa.pp file from the current
> > selinux-policy package or is it a leftover of an older one? What is the
> > error you get with it? It should be removed if it doesn't work.
>
> cjac@foxtrot:~$ locate alsa.pp | xargs dpkg -S | awk -F: '{print $1}' | xargs debsums | grep alsa.pp
> /usr/share/selinux/default/alsa.pp OK
> cjac@foxtrot:~$
>
> How do I check for an error. Not on STDOUT or STDERR it seems... This
> may be one of the strangest, least useful error message I've ever seen.
> But it's got stiff competition.
>
> cjac@foxtrot:~$ locate alsa.pp | xargs dpkg -S | awk -F: '{print $1}' | xargs debsums | grep alsa.pp | sudo xargs semodule -i
> semodule: Failed on OK!
I'm not sure what you are trying to do, but the above command will
ultimately call semodule -i on both alsa.pp and the "OK" string from the
output above, and as OK is not a module or even a file it naturally
fails. I just wanted to know what semodule -i alsa.pp reports, since
you said it failed in some way.
> > Feel free to submit a patch for the EXAMPLES section in the semodule man
> > page. Even better would be to improve semodule so that it automatically
> > detects the base module and handles it so that you can just do semodule
> > -i *.pp in all cases and not have to worry about filtering the list and
> > handling base specially.
>
> sounds reasonable. git uri anyone?
SELinux userspace lives at http://userspace.selinuxproject.org.
You can clone via git clone http://oss.tresys.com/git/selinux.git .
semodule is under policycoreutils.
--
Stephen Smalley
National Security Agency
--
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.
next prev parent reply other threads:[~2012-02-09 17:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 4:26 SELinux on Wheezy C.J. Adams-Collier KF7BMP
2012-02-06 15:39 ` Stephen Smalley
2012-02-06 16:17 ` C.J. Adams-Collier KF7BMP
2012-02-06 23:23 ` C.J. Adams-Collier KF7BMP
2012-02-06 23:48 ` Dominick Grift
2012-02-07 17:42 ` Stephen Smalley
2012-02-07 18:44 ` Dominick Grift
2012-02-07 18:55 ` C.J. Adams-Collier KF7BMP
2012-02-09 13:17 ` Russell Coker
2012-02-06 15:56 ` Dominick Grift
2012-02-06 16:21 ` C.J. Adams-Collier KF7BMP
2012-02-07 17:35 ` C.J. Adams-Collier KF7BMP
2012-02-07 17:47 ` Stephen Smalley
2012-02-07 18:56 ` C.J. Adams-Collier KF7BMP
2012-02-07 20:02 ` C.J. Adams-Collier
2012-02-07 20:08 ` Stephen Smalley
2012-02-07 21:05 ` C.J. Adams-Collier
2012-02-08 13:24 ` Stephen Smalley
2012-02-08 17:39 ` C.J. Adams-Collier KF7BMP
2012-02-08 17:54 ` Stephen Smalley
2012-02-08 19:45 ` C.J. Adams-Collier KF7BMP
2012-02-08 20:17 ` Stephen Smalley
2012-02-08 21:32 ` C.J. Adams-Collier KF7BMP
2012-02-09 13:08 ` Russell Coker
2012-02-09 13:55 ` Stephen Smalley
2012-02-09 17:34 ` C.J. Adams-Collier KF7BMP
2012-02-09 17:53 ` Stephen Smalley [this message]
2012-02-09 13:05 ` Russell Coker
2012-02-09 16:40 ` C.J. Adams-Collier KF7BMP
2012-02-09 13:12 ` Russell Coker
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=1328810011.6866.65.camel@moss-pluto \
--to=sds@tycho.nsa.gov \
--cc=cjac@colliertech.org \
--cc=dominick.grift@gmail.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.