All of lore.kernel.org
 help / color / mirror / Atom feed
* Debian package: how to relabel
@ 2003-09-13 16:05 Dale Amon
  2003-09-13 16:22 ` Russell Coker
  2003-09-13 20:28 ` Debian package: how to relabel Colin Walters
  0 siblings, 2 replies; 8+ messages in thread
From: Dale Amon @ 2003-09-13 16:05 UTC (permalink / raw)
  To: Stephen Smalley
  Cc: Russell Coker, Dale Amon, Colin Walters, SELinux Mail List

Question for either one of you. How do I do the equiv
of a make relabel with the debian package install? I
have a man page for setfiles but can't seem to find
the command itself...

-- 
------------------------------------------------------
       IN MY NAME:            Dale Amon, CEO/MD
  No Mushroom clouds over     Islandone Society
    London and New York.      www.islandone.org
------------------------------------------------------

--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 16:05 Debian package: how to relabel Dale Amon
@ 2003-09-13 16:22 ` Russell Coker
  2003-09-13 16:32   ` Dale Amon
  2003-09-13 20:28 ` Debian package: how to relabel Colin Walters
  1 sibling, 1 reply; 8+ messages in thread
From: Russell Coker @ 2003-09-13 16:22 UTC (permalink / raw)
  To: Dale Amon, Stephen Smalley; +Cc: Dale Amon, Colin Walters, SELinux Mail List

On Sun, 14 Sep 2003 02:05, Dale Amon wrote:
> Question for either one of you. How do I do the equiv
> of a make relabel with the debian package install? I
> have a man page for setfiles but can't seem to find
> the command itself...

make -C /etc/selinux relabel

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 16:22 ` Russell Coker
@ 2003-09-13 16:32   ` Dale Amon
  2003-09-13 16:42     ` Dale Amon
  0 siblings, 1 reply; 8+ messages in thread
From: Dale Amon @ 2003-09-13 16:32 UTC (permalink / raw)
  To: Russell Coker
  Cc: Dale Amon, Stephen Smalley, Colin Walters, SELinux Mail List

On Sun, Sep 14, 2003 at 02:22:39AM +1000, Russell Coker wrote:
> make -C /etc/selinux relabel

Close but no cigar. I'm missing /usr/sbin/setfiles.
What package should have installed it? I've got
a man page for it but no binary.

-- 
------------------------------------------------------
       IN MY NAME:            Dale Amon, CEO/MD
  No Mushroom clouds over     Islandone Society
    London and New York.      www.islandone.org
------------------------------------------------------

--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 16:32   ` Dale Amon
@ 2003-09-13 16:42     ` Dale Amon
  2003-09-13 17:26       ` Russell Coker
  0 siblings, 1 reply; 8+ messages in thread
From: Dale Amon @ 2003-09-13 16:42 UTC (permalink / raw)
  To: Russell Coker
  Cc: Dale Amon, Stephen Smalley, Colin Walters, SELinux Mail List

On Sat, Sep 13, 2003 at 05:32:59PM +0100, Dale Amon wrote:
> On Sun, Sep 14, 2003 at 02:22:39AM +1000, Russell Coker wrote:
> > make -C /etc/selinux relabel
> 
> Close but no cigar. I'm missing /usr/sbin/setfiles.
> What package should have installed it? I've got
> a man page for it but no binary.

In answer to my own question, it appears to be part of the
policycoreutils package, but is not installed for some
reason... I think a forced reinstall is in order!

--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 16:42     ` Dale Amon
@ 2003-09-13 17:26       ` Russell Coker
  2003-09-13 21:27         ` Dale Amon
  2003-09-14 11:47         ` Using Colin's Debian archive Dale Amon
  0 siblings, 2 replies; 8+ messages in thread
From: Russell Coker @ 2003-09-13 17:26 UTC (permalink / raw)
  To: Dale Amon; +Cc: Dale Amon, Stephen Smalley, Colin Walters, SELinux Mail List

On Sun, 14 Sep 2003 02:42, Dale Amon wrote:
> On Sat, Sep 13, 2003 at 05:32:59PM +0100, Dale Amon wrote:
> > On Sun, Sep 14, 2003 at 02:22:39AM +1000, Russell Coker wrote:
> > > make -C /etc/selinux relabel
> >
> > Close but no cigar. I'm missing /usr/sbin/setfiles.
> > What package should have installed it? I've got
> > a man page for it but no binary.
>
> In answer to my own question, it appears to be part of the
> policycoreutils package, but is not installed for some
> reason... I think a forced reinstall is in order!

I guess there are problems with the dependencies for Debian packages.  
Reinstall is not necessary, just install policycoreutils (or is that what you 
meant?).

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 16:05 Debian package: how to relabel Dale Amon
  2003-09-13 16:22 ` Russell Coker
@ 2003-09-13 20:28 ` Colin Walters
  1 sibling, 0 replies; 8+ messages in thread
From: Colin Walters @ 2003-09-13 20:28 UTC (permalink / raw)
  To: Dale Amon; +Cc: Stephen Smalley, Russell Coker, SELinux Mail List

On Sat, 2003-09-13 at 12:05, Dale Amon wrote:
> Question for either one of you. How do I do the equiv
> of a make relabel with the debian package install? I
> have a man page for setfiles but can't seem to find
> the command itself...

You can relabel an individual package like this:

/etc/dpkg/postinst.d/selinux packagename


--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Debian package: how to relabel
  2003-09-13 17:26       ` Russell Coker
@ 2003-09-13 21:27         ` Dale Amon
  2003-09-14 11:47         ` Using Colin's Debian archive Dale Amon
  1 sibling, 0 replies; 8+ messages in thread
From: Dale Amon @ 2003-09-13 21:27 UTC (permalink / raw)
  To: Russell Coker
  Cc: Dale Amon, Stephen Smalley, Colin Walters, SELinux Mail List

On Sun, Sep 14, 2003 at 03:26:59AM +1000, Russell Coker wrote:
> I guess there are problems with the dependencies for Debian packages.  
> Reinstall is not necessary, just install policycoreutils (or is that what you 
> meant?).

No, a reinstall. There was a policycoreutils.list and etc already in
the system and a setfiles.8 man page. I did a

	apt-get install --reinstall policycoreutils

and just forced it. No idea why it gave me only a partial 
install.



--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Using Colin's Debian archive
  2003-09-13 17:26       ` Russell Coker
  2003-09-13 21:27         ` Dale Amon
@ 2003-09-14 11:47         ` Dale Amon
  1 sibling, 0 replies; 8+ messages in thread
From: Dale Amon @ 2003-09-14 11:47 UTC (permalink / raw)
  To: Russell Coker
  Cc: Dale Amon, Stephen Smalley, Colin Walters, SELinux Mail List

If you are trying to work with the experimental 
debian packages for selinux available from Colin's
site, you can fit it into your normal update 
procedures.

Add this line to the top of your /etc/apt/sources.list file:

deb http://web.verbum.org/debian experimental/

Add this to your /etc/apt/preferences file, or if
you haven't got one, make this the whole of it:

Package: *
Pin: release l=walters
Pin-Priority: 1100

This will also work with dselect if you are using
apt as the update method.

-- 
------------------------------------------------------
       IN MY NAME:            Dale Amon, CEO/MD
  No Mushroom clouds over     Islandone Society
    London and New York.      www.islandone.org
------------------------------------------------------

--
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-14 11:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-13 16:05 Debian package: how to relabel Dale Amon
2003-09-13 16:22 ` Russell Coker
2003-09-13 16:32   ` Dale Amon
2003-09-13 16:42     ` Dale Amon
2003-09-13 17:26       ` Russell Coker
2003-09-13 21:27         ` Dale Amon
2003-09-14 11:47         ` Using Colin's Debian archive Dale Amon
2003-09-13 20:28 ` Debian package: how to relabel Colin Walters

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.