From: Vikram Ambrose <Vikram.Ambrose@windriver.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SELinux@tycho.nsa.gov, Chad Sellers <csellers@tresys.com>,
Caleb Case <ccase@tresys.com>
Subject: Re: libsemanage.semanage_install_active: error during semodule -n -v -b base.pp -s refpolicy
Date: Thu, 12 Jun 2008 13:35:52 -0400 [thread overview]
Message-ID: <48515E78.40400@windriver.com> (raw)
In-Reply-To: <1213288802.17842.195.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
> On Thu, 2008-06-12 at 10:43 -0400, Vikram Ambrose wrote:
>
>> During the "make load" procedure with refpolicy, the semodule command
>> fails, so I tried it manually and I see this error.
>>
>> root@ubuntu:/home/vikram/refpolicy-ac# semodule -b
>> /usr/share/selinux/refpolicy/base.pp -s refpolicy -v -n
>> Attempting to install base module '/usr/share/selinux/refpolicy/base.pp':
>> Ok: return value of 0.
>> Committing changes:
>> libsemanage.semanage_install_active: setfiles returned error code 1. (No
>> such file or directory).
>>
>
> whereis setfiles
>
>
setfiles and the rest of the SELinux "toolchain" was all built from svn
and placed into /hone/testing/root
root's environment has PATH that contains /home/testing/root/bin
as well as LD_LIBRARY_PATH to /home/testing/root/lib
Does libsemanage have a hard coded path to setfiles?
> What versions are you using? Is this with the packages included in
> Hardy Heron?
>
>
svn from yesterday.
>> libsemanage.semanage_install_active: Could not copy
>> /etc/selinux/refpolicy/modules/active/policy.kern to
>> /etc/selinux/refpolicy/policy/policy.23. (No such file or directory).
>> semodule: Failed!
>>
>> root@ubuntu:/home/vikram/refpolicy-ac# find /etc/selinux/
>> /etc/selinux/
>> /etc/selinux/refpolicy
>> /etc/selinux/refpolicy/contexts
>> /etc/selinux/refpolicy/contexts/failsafe_context
>> /etc/selinux/refpolicy/contexts/securetty_types
>> /etc/selinux/refpolicy/contexts/x_contexts
>> /etc/selinux/refpolicy/contexts/netfilter_contexts
>> /etc/selinux/refpolicy/contexts/userhelper_context
>> /etc/selinux/refpolicy/contexts/dbus_contexts
>> /etc/selinux/refpolicy/contexts/customizable_types
>> /etc/selinux/refpolicy/contexts/initrc_context
>> /etc/selinux/refpolicy/contexts/default_contexts
>> /etc/selinux/refpolicy/contexts/users
>> /etc/selinux/refpolicy/contexts/users/staff_u
>> /etc/selinux/refpolicy/contexts/users/user_u
>> /etc/selinux/refpolicy/contexts/users/root
>> /etc/selinux/refpolicy/contexts/removable_context
>> /etc/selinux/refpolicy/contexts/default_type
>> /etc/selinux/refpolicy/contexts/files
>> /etc/selinux/refpolicy/contexts/files/file_contexts.homedirs
>> /etc/selinux/refpolicy/contexts/files/media
>> /etc/selinux/refpolicy/contexts/files/file_contexts
>> /etc/selinux/refpolicy/policy
>> /etc/selinux/refpolicy/policy/policy.23
>> /etc/selinux/refpolicy/seusers
>> /etc/selinux/refpolicy/modules
>> /etc/selinux/refpolicy/modules/active
>> /etc/selinux/refpolicy/modules/active/modules
>> /etc/selinux/refpolicy/modules/semanage.read.LOCK
>> /etc/selinux/refpolicy/modules/semanage.trans.LOCK
>>
>>
>> root@ubuntu:/home/vikram/refpolicy-ac# find /usr/share/selinux/
>> /usr/share/selinux/
>> /usr/share/selinux/refpolicy
>> /usr/share/selinux/refpolicy/[lots of .pp files]
>>
>>
>> Could I get some suggestions to what may be the cause of this error?
>>
>> Thank you.
>>
>> Vikram
>>
>>
--
Vikram Ambrose | Linux Products Division | WindRiver Corporation
--
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:[~2008-06-12 17:35 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 14:43 libsemanage.semanage_install_active: error during semodule -n -v -b base.pp -s refpolicy Vikram Ambrose
2008-06-12 16:40 ` Stephen Smalley
2008-06-12 17:35 ` Vikram Ambrose [this message]
2008-06-12 17:55 ` Stephen Smalley
2008-06-12 17:57 ` Vikram Ambrose
2008-06-12 18:20 ` Stephen Smalley
2008-06-12 18:51 ` Vikram Ambrose
2008-06-12 19:12 ` Stephen Smalley
2008-06-13 15:02 ` Vikram Ambrose
2008-06-13 15:15 ` Stephen Smalley
2008-06-13 15:23 ` Joshua Brindle
2008-06-13 19:11 ` Vikram Ambrose
2008-06-13 19:29 ` Stephen Smalley
2008-06-13 19:31 ` Vikram Ambrose
2008-06-13 19:59 ` Stephen Smalley
2008-06-13 20:16 ` Vikram Ambrose
2008-06-16 12:00 ` Stephen Smalley
2008-06-16 13:53 ` Vikram Ambrose
2008-06-16 14:21 ` Stephen Smalley
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=48515E78.40400@windriver.com \
--to=vikram.ambrose@windriver.com \
--cc=SELinux@tycho.nsa.gov \
--cc=ccase@tresys.com \
--cc=csellers@tresys.com \
--cc=sds@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.