Re: semodule -i fails.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
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@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!





--
日本にヘヴィメタル・ハードロックを根付かせるページ

世界中でセキュアOSのSELinuxを使いやすくするフリーソフト
http://sourceforge.net/projects/segatex/

CMS(PHPとPostgreSQLを使ったフリーソフト)
http://sourceforge.net/projects/webon/
https://github.com/intrajp/irforum_jp



--
日本にヘヴィメタル・ハードロックを根付かせるページ

世界中でセキュア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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux