sepcut is broken
Just did a fresh install of Fedora core 1, and then ran Dan Walsh's selUpgrade script.
Had a few conflicts to deal with....mostly glibc 2.3.3, tk 8.4,tcl 8.4 and db4.2.52
Resolved conflicts...ran script again and it went ok.
Had to install bwidget manually.
Now sepcut is broken...error:page"pct_Test:text" does not exist...
There were many duplicate .te files in the /etc/security/selinux/src/policy/domains/program and unused....which were resolved.
seaudit works fine...so does apol and seuserx
Any help would be appreciated.
Thanks.
Signature · 8 lines
****************************************** * Mark Shakespeare * * Engineering Computer Operations Team * * Lawrence Livermore National Laboratory * * 7000 East Ave L-130 * * Livermore,Ca 94550 * * 925-423-9922 [email protected] * ******************************************
Quoted 10 lines · Mark Shakespeare
Just did a fresh install of Fedora core 1, and then ran Dan Walsh's selUpgrade script.
Had a few conflicts to deal with....mostly glibc 2.3.3, tk 8.4,tcl 8.4 and db4.2.52
Resolved conflicts...ran script again and it went ok.
Had to install bwidget manually.
Why did you have to install it manually? Also, are you using Dan's packages for setools or ours?
Quoted 2 lines
Now sepcut is broken...error:page"pct_Test:text" does not exist...
We're looking into this, but at first glance it looks like there might be something wrong with your installation. Can you download our source and try that:
http://www.tresys.com/selinux/selinux_policy_tools.html
If you are using tcl 8.4 you might have to change the top level makefile
- just change the TCLVER variable at the top to 8.4.
Quoted 4 lines
There were many duplicate .te files in the
/etc/security/selinux/src/policy/domains/programand unused....which were resolved.
Dan and Russell - I noticed this as well. Is this duplication intentional? This breaks the convention, on which sepcut depends, that a .te file is either in programs or unused but not both.. We are making sepcut handle this situation more gracefully, but I would like to see this convention retained.
Quoted 2 lines
seaudit works fine...so does apol and seuserx
Great.
Karl
Quoted 12 lines
Any help would be appreciated.
Thanks.
Signature · 8 lines
****************************************** * Mark Shakespeare * * Engineering Computer Operations Team * * Lawrence Livermore National Laboratory * * 7000 East Ave L-130 * * Livermore,Ca 94550 * * 925-423-9922 [email protected] * ******************************************
Signature · 11 lines
Karl MacMillan Tresys Technology [email protected] http://www.tresys.com (410) 290-1411 x134 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Karl MacMillan
Quoted 4 lines · Mark Shakespeare
There were many duplicate .te files in the
/etc/security/selinux/src/policy/domains/programand unused....which were resolved.Dan and Russell - I noticed this as well. Is this duplication intentional? This breaks the convention, on which sepcut depends, that a .te file is either in programs or unused but not both.. We are making sepcut handle this situation more gracefully, but I would like to see this convention retained.
Dan's policy spec file copies most of the unused .te files up prior to installing the policy so that they are included in the built policy. He could move them up instead, I suppose. Of course, a better system than moving .te files around would be preferable for enabling and disabling them; I think Russell suggested a while back creating something like the kernel configuration system for the policy, and saving the enabled/disabled state in a separate .config file.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 13 lines · Stephen Smalley
Quoted 11 lines · Karl MacMillan
Quoted 4 lines · Mark Shakespeare
There were many duplicate .te files in the
/etc/security/selinux/src/policy/domains/programand unused....which were resolved.Dan and Russell - I noticed this as well. Is this duplication intentional? This breaks the convention, on which sepcut depends, that a .te file is either in programs or unused but not both.. We are making sepcut handle this situation more gracefully, but I would like to see this convention retained.
Quoted 3 lines
Dan's policy spec file copies most of the unused .te files up prior to installing the policy so that they are included in the built policy. He could move them up instead, I suppose.
That would fix the problem for the short term.
Quoted 5 lines
Of course, a better system than
moving .te files around would be preferable for enabling and disabling them; I think Russell suggested a while back creating something like the kernel configuration system for the policy, and saving the enabled/disabled state in a separate .config file.
I think that sounds like a better solution as well. Any thoughts on the specifics of the format? A file with just a list of module file names would work and be simple for the make process to use, but now is a good time to consider if any other information should be included in the file. Additionally, this could allow developers to group .te files in subdirectories if they wanted some more organization.
Karl
Signature · 11 lines
Karl MacMillan Tresys Technology [email protected] http://www.tresys.com (410) 290-1411 x134 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Karl MacMillan
I think that sounds like a better solution as well. Any thoughts on the specifics of the format? A file with just a list of module file names would work and be simple for the make process to use, but now is a good time to consider if any other information should be included in the file. Additionally, this could allow developers to group .te files in subdirectories if they wanted some more organization.
The kernel configuration just specifies option values, and the kernel Makefiles specify the lists of object files to be built based on those option values. We could eliminate the indirection for the policy, i.e. one option per optional .te file. The list of core policy .te files could be specified in the Makefile, and the build process could then just add the contents of the .config file to that list to produce the full list of enabled .te files. A 'make config' could automatically enable all dependencies when you enable a .te file based on the Depends lines in the optional .te files.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
A message that is not in the archive (sent off-list or not yet received): p06020411bc35dc7ed885@[128.115.96.64]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): p06020412bc35f035775a@[128.115.96.64]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): p06020414bc35f7241764@[128.115.96.64]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): p06020415bc3612f59c62@[128.115.96.64]
Quoted 6 lines · Mark Shakespeare
Karl,
Appreciate your help here. I failed to mention that I had installed
a newer release of BWidgets....version 1.7Well....I removed it, and defaulted to version 1.4.1
Great - I'm glad that it is working for you now. We will test setools with bwidgets 1.7 and get things working for the next release.
Quoted 5 lines
Now sepcut works......although I'am getting a "
security_load_policyfailed".... " make: *** [reload] Error 3 " now...any ideas????
Looks like you don't have permission to do a policy reload. Make certain that you are root and in the sysadm_r:sysamd_t context (the context is only important if you are in enforcing mode).
Karl
Signature · 11 lines
Karl MacMillan Tresys Technology [email protected] http://www.tresys.com (410) 290-1411 x134 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.