Setools 1.0.1 released
We have just released version 1.0.1 of setools. This is a minor update that fixes some bugs and synchronizes with the changes in the NSA and RedHat packages of setools. The most important update is to the seuser policy to make it compile correctly with the latest official SELinux policy. Source and binaries are available from our website:
http://www.tresys.com/selinux/
I have also attached a patch for the last NSA release of SELinux and updated the sourceforge cvs repository.
The next release, sometime in early December, will include improved information flow analysis, the ability to save and load complex queries in apol, the removal of Tcl/TK and X dependencies from the command-line tools, and a log file analysis tool that leverages libapol to help a policy developer or system administrator understand the audit message from SELinux.
Karl
Signature · 10 lines
Karl MacMillan Tresys Technology [email protected] (410)290-1411x134 -- 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.
GDM and PAM problems?
I have built a 2.6 Kernel on top of Fedora (test 3) using Dan Walsh's selUpgrade script. It worked like a charm.
There does seem to be a problem with GDM and PAM with those RPMs. If I install the GDM and PAM RPMs, I get an error of "Cannot get default context for jadmin" right after login with the jadmin user (or any other user).
Without the GDM and PAM RPMs it works great!
Anybody know what the solution might be?
Thanks
Rick
--
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.
Re: GDM and PAM problems?
Quoted 4 lines · Richard Herbert Wanner
I have built a 2.6 Kernel on top of Fedora (test 3) using Dan Walsh's selUpgrade script. It worked like a charm.
There does seem to be a problem with GDM and PAM with those RPMs. If I install the GDM and PAM RPMs, I get an error of "Cannot get default context for jadmin" right after login with the jadmin user (or any other user).
Quoted 13 lines
Without the GDM and PAM RPMs it works great!
Anybody know what the solution might be?
Thanks
Rick
/etc/security/selinux/src/policy/domains/program
You have to relabel the files after you install them. Make sure you copy the xserver.te and xdm.te from /etc/security/selinux/src/policy/domains/program/unused to /etc/security/selinux/src/policy/domains/program
cd /etc/security/selinux/src/policy
make relabel
Restart Xserver.
Quoted 8 lines
--
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.
--
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.
Here is the patch - I forgot to attach it yesterday.
Karl
Quoted 19 lines · Karl MacMillan
We have just released version 1.0.1 of setools. This is a minor update that fixes some bugs and synchronizes with the changes in the NSA and RedHat packages of setools. The most important update is to the seuser policy to make it compile correctly with the latest official SELinux policy. Source and binaries are available from our website:
http://www.tresys.com/selinux/
I have also attached a patch for the last NSA release of SELinux and updated the sourceforge cvs repository.
The next release, sometime in early December, will include improved information flow analysis, the ability to save and load complex queries in apol, the removal of Tcl/TK and X dependencies from the command-line tools, and a log file analysis tool that leverages libapol to help a policy developer or system administrator understand the audit message from SELinux.
Karl
Signature · 4 lines
Karl MacMillan Tresys Technology [email protected] (410)290-1411x134
setools/apol/top.tcl +3 -3
@@ -15,7 +15,7 @@ variable filename "" variable policyConf_lineno "" variable polstats "" - variable gui_ver "1.0" + variable gui_ver "1.0.1" variable copyright_date "2001-2003" variable recent_files variable num_recent_files 0
@@ -1122,9 +1122,9 @@ catch {destroy $w} toplevel $w - label $w.1 -justify left -font {helvetica 10 bold} \ + label $w.1 -justify left \ -text "Policy Summary Statistics\n " - label $w.2 -justify left -font {helvetica 10} \ + label $w.2 -justify left \ -text "\ Policy Version: $polversion\n\n\ Number of Classes and Permissions\n\
setools/ChangeLog-setools +15 -0
@@ -1,6 +1,21 @@ CHANGE LOG, SE Linux TOOLS (setools) ======================================================== +October 30, 2003 SE Linux Tools, version 1.0.1 + +Apol: + Update to default font configuration + +Sepcut: + Update to default font configuration + +Seuser: + Updated seuser .te file + Update seuser Makefile to use -Z option when installing seuser + Update to default font configuration + + +======================================================== September 22, 2003 SE Linux Tools, version 1.0 Added BWidgets source under packages.
setools/INSTALL +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.0 +SELinux Tools (setools), version 1.0.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -September 22, 2003 +October 30, 2003 BUILDING AND INSTALLING NOTES AND WARNINGS
setools/INSTALL-RPM +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.0 +SELinux Tools (setools), version 1.0.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -September 22, 2003 +October 30, 2003 INSTALLATION NOTES FOR RPM
setools/KNOWN-BUGS +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.0 +SELinux Tools (setools), version 1.0.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -September 22, 2003 +October 30, 2003 CURRENT BUGS AND ISSUES
setools/policy/seuser.te +58 -10
95 lines not on this page · raw message
setools/README +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.0 +SELinux Tools (setools), version 1.0.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -September 22, 2003 +October 30, 2003 OVERVIEW
setools/sepct/top.tcl +3 -2
@@ -14,7 +14,7 @@ # ::Sepct (top-level namespace) ############################################################## namespace eval Sepct { - variable gui_ver "0.3.2" + variable gui_ver "0.3.3" variable copyright_date "2002-2003" variable helpFilename "" # Global variable to hold name of root directory
@@ -2031,8 +2031,9 @@ } # Add entries to the Tk option database - option add *TitleFrame.l.font "Helvetica 10 bold italic" + # First set all fonts in general; then we can change specific fonts option add *Font "Helvetica 10" + option add *TitleFrame.l.font "Helvetica 10 bold italic" option add *Dialog*font "Helvetica 10" option add *text*font "Helvetica 10"
setools/setools.spec +4 -3
@@ -1,13 +1,14 @@ Summary: SELinux tools for managing policy Name: setools -Version: 1.0 +Version: 1.0.1 Release: 1 License: GPL Group: System Environment/Base -Source: http://www.tresys.com/Downloads/selinux-tools/setools-1.0.tgz +Source: http://www.tresys.com/Downloads/selinux-tools/setools-1.0.1.tgz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot -Requires: checkpolicy, policycoreutils, policy, policy-sources, bwidget +BuildRequires: perl, tcl +Requires: tcl, tk, checkpolicy, policycoreutils, policy, policy-sources, bwidget BuildArch: i386 %description
setools/seuser/Makefile +11 -3
@@ -62,9 +62,13 @@ @if [ -e /etc/security/selinux/src/policy ]; then \ install -d $(TE_PROGS_DIR); \ install -d $(FC_PROGS_DIR); \ + install -m 644 -Z system_u:object_r:policy_src_t ../policy/seuser.te $(TE_PROGS_DIR); \ + install -m 644 -Z system_u:object_r:policy_src_t ../policy/seuser.fc $(FC_PROGS_DIR); \ + else \ + install -d $(TE_PROGS_DIR); \ + install -d $(FC_PROGS_DIR); \ install -m 644 ../policy/seuser.te $(TE_PROGS_DIR); \ install -m 644 ../policy/seuser.fc $(FC_PROGS_DIR); \ - else \ echo "ERROR: YOU MUST HAVE THE POLICY SOURCE INSTALLED TO $(POLICY_SRC_DIR)."; \ echo " seuser did not install because the policy source was not"; \ echo " found. type 'make install-src' from your policy directory,"; \
@@ -78,12 +82,16 @@ fi install: seuser policy-install se_user.tcl + install -d $(BINDIR); @if [ -e /etc/security/selinux/src/policy ]; then \ + install -m 755 -Z system_u:object_r:seuser_exec_t seuser $(BINDIR); \ + install -m 644 -Z system_u:object_r:seuser_conf_t $(SEUSER_CONF_FILE) $(INSTALL_LIBDIR); \ + else \ install -m 755 seuser $(BINDIR); \ install -m 644 $(SEUSER_CONF_FILE) $(INSTALL_LIBDIR); \ - install -m 755 $(SE_SHELL_SCRIPTS) $(BINDIR); \ - install -m 644 se_user.tcl $(SEUSER_HELP_FILE) $(INSTALL_LIBDIR); \ fi + install -m 755 $(SE_SHELL_SCRIPTS) $(BINDIR) + install -m 644 se_user.tcl $(SEUSER_HELP_FILE) $(INSTALL_LIBDIR) clean: rm -f *.o core seuser *~ se_user.tcl tmp.tcl
setools/seuser/seuser_help.txt +2 -2
@@ -1,7 +1,7 @@ SELinux User Manager Help File -seuser, Version 0.5.2 -September 15, 2003 +seuser, Version 0.5.3 +October 30, 2003 [email protected] ----------------------------------
setools/seuser/seuser_top.tcl +3 -2
@@ -37,7 +37,7 @@ variable b_lbl_groups # Miscellaneous variables - variable gui_ver "0.5.2" + variable gui_ver "0.5.3" variable copyright_date "2003" variable progressMsg "" variable delete_user_ans
@@ -958,8 +958,9 @@ exit } - option add *TitleFrame.l.font "Helvetica 10 bold italic" + # First set all fonts in general; then we can change specific fonts option add *Font "Helvetica 10" + option add *TitleFrame.l.font "Helvetica 10 bold italic" option add *Dialog*font "Helvetica 10" option add *ListBox*font $SEUser_Top::text_font option add *text*font $SEUser_Top::text_font
setools/VERSION +1 -1
@@ -1 +1 @@ -1.0 +1.0.1
Quoted 1 line · Karl MacMillan
We have just released version 1.0.1 of setools. This is a minor update
Karl, I've not used your tools yet because I'm only working with selinux on servers and firewalls with minimal package sets, ie no X.
Do your tools allow study of policy files on the non-selinux build system? Or are there command line tools useable directly on the target system?
Signature · 10 lines
------------------------------------------------------
IN MY NAME: Dale Amon, CEO/MD
No Mushroom clouds over Islandone Society
London and New York. www.islandone.org
------------------------------------------------------
--
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 · Dale Amon
Quoted 1 line · Karl MacMillan
We have just released version 1.0.1 of setools. This is a minor update
Do your tools allow study of policy files on the non-selinux build system? Or are there command line tools useable directly on the target system?
The policy analysis tool apol doesn't require selinux at all and the policy editing tool sepcut only needs checkpolicy for full functionality. You can simply copy your policy source files and a policy.conf file from your server to a desktop machine to edit and analyze your policy.
The selinux/linux user management tool seuser can be run from the command line. Unfortunately, the current release still links with and requires Tcl/TK and therefore requires at least the X libraries to be present. Our next release removes this requirement. We are also working on some command line policy query tools that allow you to do some of the simpler queries from apol. I'm not certain when these will be released, but they may be included with our next release in late November or December.
Karl
Signature · 10 lines
Karl MacMillan Tresys Technology [email protected] (410)290-1411x134 -- 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 5 lines · Karl MacMillan
The policy analysis tool apol doesn't require selinux at all and the policy editing tool sepcut only needs checkpolicy for full functionality. You can simply copy your policy source files and a policy.conf file from your server to a desktop machine to edit and analyze your policy.
Thanks. That could be very useful. It's the main reason I've not spent time learning how to use them so far.
Quoted 8 lines
The selinux/linux user management tool seuser can be run from the command line. Unfortunately, the current release still links with and requires Tcl/TK and therefore requires at least the X libraries to be present. Our next release removes this requirement. We are also working on some command line policy query tools that allow you to do some of the simpler queries from apol. I'm not certain when these will be released, but they may be included with our next release in late November or December.
I guess I'll have to wait on that one then. There's just no way X libs are sneaking onto my firewalls! :-)
Signature · 10 lines
------------------------------------------------------
IN MY NAME: Dale Amon, CEO/MD
No Mushroom clouds over Islandone Society
London and New York. www.islandone.org
------------------------------------------------------
--
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.GNU Coding Standards (was: Setools 1.0.1 released)
In reply to Karl MacMillanQuoted 1 line · Karl MacMillan
We have just released version 1.0.1 of setools.
...
Quoted 6 lines
The next release, sometime in early December, will include improved information flow analysis, the ability to save and load complex queries in apol, the removal of Tcl/TK and X dependencies from the command-line tools, and a log file analysis tool that leverages libapol to help a policy developer or system administrator understand the audit message from SELinux.
Karl,
It would also be very helpful if the setools distribution adhered to GNU Coding Standards. The standards have been developed over a long period of time, and compliant distributions fit into the Linux framework well. Furthermore, tools are available that automate most of the work needed to meet the standards. The lastest generation of autoconf, automake, libtool, and autoheader, make managing releases a no-brainer.
If you're not an Emacs user, you can read about the GNU Coding Standards with the command "info standards".
You can see an example of a distribution that meets the standards in the selinux-usr/slat directory of the nsa module in the selinux project's CVS repository on SourceForge. I just finished tuning it.
John
--
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.
Re: GNU Coding Standards (was: Setools 1.0.1 released)
Quoted 9 lines · John D. Ramsdell
It would also be very helpful if the setools distribution adhered to GNU Coding Standards. The standards have been developed over a long period of time, and compliant distributions fit into the Linux framework well. Furthermore, tools are available that automate most of the work needed to meet the standards. The lastest generation of autoconf, automake, libtool, and autoheader, make managing releases a no-brainer.
This was discussed off-list - we will not be moving to the GNU config tools until there is a compelling reason to do so. As for more general coding standards, we will continue to follow the linux kernel style instead of the GNU style.
Karl
Quoted 8 lines
If you're not an Emacs user, you can read about the GNU Coding Standards with the command "info standards".
You can see an example of a distribution that meets the standards in the selinux-usr/slat directory of the nsa module in the selinux project's CVS repository on SourceForge. I just finished tuning it.
John
Signature · 10 lines
Karl MacMillan Tresys Technology [email protected] (410)290-1411x134 -- 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.
Re: GNU Coding Standards
In reply to John D. RamsdellNote that GNU automake requires perl, which does
not seem to be in the base selinux tool chest
(at least in the 2.4 flavor).
In making test systems from scratch I've been
finding these chicken-egg problems with the
tool chain. I've been considering using
the busybox package as a bootstrap mechanism.
Quoted 34 lines · John D. Ramsdell
Quoted 1 line · Karl MacMillan
We have just released version 1.0.1 of setools.
...
Quoted 6 lines
The next release, sometime in early December, will include improved information flow analysis, the ability to save and load complex queries in apol, the removal of Tcl/TK and X dependencies from the command-line tools, and a log file analysis tool that leverages libapol to help a policy developer or system administrator understand the audit message from SELinux.
Karl,
It would also be very helpful if the setools distribution adhered to GNU Coding Standards. The standards have been developed over a long period of time, and compliant distributions fit into the Linux framework well. Furthermore, tools are available that automate most of the work needed to meet the standards. The lastest generation of autoconf, automake, libtool, and autoheader, make managing releases a no-brainer.
If you're not an Emacs user, you can read about the GNU Coding Standards with the command "info standards".
You can see an example of a distribution that meets the standards in the selinux-usr/slat directory of the nsa module in the selinux project's CVS repository on SourceForge. I just finished tuning it.
Quoted 7 lines
John
--
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.
--
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.
Re: GNU Coding Standards
Quoted 3 lines · On Sat, 15 Nov 2003 05:23, "[email protected]" <[email protected]> wrote:
Note that GNU automake requires perl, which does
not seem to be in the base selinux tool chest
(at least in the 2.4 flavor).
When building a distribution from scratch (EG a port to a new CPU) there are problems with circular dependencies involving Perl. But this is not a problem for us as we are working on adding SE Linux to existing distributions that have Perl, getting Perl to compile is someone else's problem.
newrules.pl has been in the SE Linux distribution for a long time and there are no plans to re-write it in another language.
Some people believe that they can make setfiles run faster by re-writing it in Perl. I doubt that, but if they can succeed then I'm sure that the code will be accepted.
I'm not trying to push automake, just noting that Perl is something that's OK to use for SE Linux.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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.