Nick,
Seuser looks for the policy.conf file in /etc/security/selinux/src by
default, but it seems that some systems only have the policy.conf file in
/etc/security/selinux/src/policy (note the extra policy directory at the
end). If that is the case on your system, in the file
/usr/share/setools/seuser.conf change the line:
policy.conf /etc/security/selinux/src/policy.conf
to
policy.conf /etc/security/selinux/src/policy/policy.conf
On my Fedora Core 2 test 2 system the policy.conf is in both locations -
anyone know which is the location for default installs of Fedora Core 2?
Steve Smalley reminded me that this change of location was discussed a while
ago. We will change the default location for seuser for the next release,
but until then this change will need to be made to the configuration file.
Dan, any way to get this minor update made to the redhat packages?
Karl
Karl MacMillan
Tresys Technology
http://www.tresys.com
(410)290-1411 ext 134
Karl
Karl MacMillan
Tresys Technology
http://www.tresys.com
(410)290-1411 ext 134
> -----Original Message-----
> From: fedora-selinux-list-bounces(a)redhat.com [mailto:fedora-selinux-
list-
> bounces(a)redhat.com] On Behalf Of Nick
> Sent: Thursday, April 29, 2004 7:10 PM
> To: fedora-selinux-list(a)redhat.com
> Subject: Re: Problem with Tresys tools on Core 2
>
> On Thu, 2004-04-29 at 13:10, Nick wrote:
> > Conditions:
> > -----------
> >
> > Install from DVD ISO
> > yum upgrade
> > installation of RPMS
> > checkpolicy-1.10-1.i386.rpm
> > policy-sources-1.11.2-18.noarch.rpm
> > setools-1.3-2.i386.rpm
> > setools-gui-1.3-2.i386.rpm
> >
> >
> > Results
> > -------
> >
> > [root@rocket policy]# seinfo -r
> > Could not open policy!
>
> I rebuilt and now seinfo -r works.
>
> > [root@rocket policy]# seuser -X
> > Error in StartScript (/usr/share/setools/se_user.tcl):
>
> This still does not work
>
> > Thanks Nick
> --
> Nick Gray
> Senior Systems Engineer
> Bruzenak Inc.
> nagray(a)austin.rr.com
> (512) 331-7998
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list(a)redhat.com
>
http://www.redhat.com/mailman/listinfo/fedora-selinux-list
--
fedora-selinux-list mailing list
fedora-selinux-list(a)redhat.com
http://www.redhat.com/mailman/listinfo/fedora-selinux-list