semodule -i fails.
Daniel J Walsh
dwalsh at redhat.com
Tue Dec 23 15:24:47 UTC 2014
It looked like you had a bad module file in
/etc/selinux/targeted/active/modules, which was causing you a problem.
You removed it and cleaned everything up.
On 12/23/2014 02:20 AM, Shintaro Fujiwara wrote:
> [SOLVED]
> # setenforce 0
> # rm -rf /etc/selinux/targeted
> # mkdir /etc/selinux/targeted
> restart Fedora adding "selinux=0" at boot typing "e".
> # yum reinstall selinux*
> # ls -la /etc/selinux/targetd
> # shutdown -r now
> # semodule -B
> returns nothins.
>
> Everything' s fine now.
>
> I consulted Dan's blog.
>
> Thanks!
>
>
>
>
> 2014-12-20 16:10 GMT+09:00 Shintaro Fujiwara
> <shintaro.fujiwara at gmail.com <mailto:shintaro.fujiwara at gmail.com>>:
>
> On Fedora21, semodule -i mymodule.pp fails and even semodule -B.
> messages are the same.
>
> What's wrong?
>
> I use,
> selinux-policy-targeted-3.13.1-103.fc21.noarch .
>
> [root at localhost modules]# semodule -B
> libsepol.print_missing_requirements: mod_selinux's global
> requirements were not met: type/attribute httpd_user_script_ro_t
> (No such file or directory).
> libsemanage.semanage_link_sandbox: Link packages failed (No such
> file or directory).
> semodule: Failed!
>
>
>
>
>
> --
> 日本にヘヴィメタル・ハードロックを根付かせるページ
> http://heavymetalhardrock.no-ip.info/
>
> 世界中でセキュアOSのSELinuxを使いやすくするフリーソフト
> http://sourceforge.net/projects/segatex/
>
> CMS(PHPとPostgreSQLを使ったフリーソフト)
> http://sourceforge.net/projects/webon/
> https://github.com/intrajp/irforum_jp
>
>
>
>
> --
> 日本にヘヴィメタル・ハードロックを根付かせるページ
> http://heavymetalhardrock.no-ip.info/
>
> 世界中でセキュアOSのSELinuxを使いやすくするフリーソフト
> http://sourceforge.net/projects/segatex/
>
> CMS(PHPとPostgreSQLを使ったフリーソフト)
> http://sourceforge.net/projects/webon/
> https://github.com/intrajp/irforum_jp
>
>
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/selinux/attachments/20141223/7316f641/attachment.html>
More information about the selinux
mailing list