[RFC] Adding --force option to semodule

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

 



Hi, I was updating a policy because I had to add some permissions.

So, I added number in .te file and successfully upgraded mypolicy.

semodule -u mypolicy.pp

5 minutes later, I found another permission should have been added to
mypolicy.pp so I added it and .te number remains the same.

Yes, I should have added permissions at one time and make no haste.

But, isn't it convenient to add --force option to semodule ?
Now, if the number is the same, I get this error.

[root@localhost xx]# semodule -u mypolicy.pp
libsemanage.get_direct_upgrade_filename: Previous module mypolicy is same
or newer. (No such file or directory).






-- 
日本にヘヴィメタル・ハードロックを根付かせるページ
http://heavymetalhardrock.no-ip.info/ <http://www.heavymetalhardrock.tk/>

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

CMS(PHPとPostgreSQLを使ったフリーソフト)
http://sourceforge.net/projects/webon/
--
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