semodule -i fails.
Shintaro Fujiwara
shintaro.fujiwara at gmail.com
Tue Dec 23 15:47:02 UTC 2014
Yep, I write my own modules and sometimes it hurts me, but doing so makes
me progress a little, I guess.
Anyway, it's good that you gave us an information how to cover up from it.
2014-12-24 0:24 GMT+09:00 Daniel J Walsh <dwalsh at redhat.com>:
> 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>
> :
>
>> 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 listselinux at lists.fedoraproject.orghttps://admin.fedoraproject.org/mailman/listinfo/selinux
>
>
>
--
日本にヘヴィメタル・ハードロックを根付かせるページ
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/selinux/attachments/20141224/e3dffad3/attachment.html>
More information about the selinux
mailing list