[Bug 354195] [NEW] setroubleshoot init script does fails to detect selinux status
pacificnw
ssmyth at sapereconsulting.com
Thu Apr 2 23:30:05 UTC 2009
Public bug reported:
Binary package hint: setroubleshoot
Ubuntu 9.04 Jaunty server beta with selinux-policy-default installed
sapere at seubuntu9:~$ sudo apt-cache policy setroubleshoot
setroubleshoot:
Installed: 2.0.12-2
Candidate: 2.0.12-2
Version table:
*** 2.0.12-2 0
500 http://us.archive.ubuntu.com jaunty/universe Packages
100 /var/lib/dpkg/status
Expected:
--------------
sudo /etc/init.d/setroubleshoot start
sudo ps aux | grep setroubleshoot to service started
Observed defect:
-----------------------
In the setroubleshoot init script, under the start() routine, the "sestatus" variable does not have the "\n" anymore used to grep correctly for "status". You end up getting "default" for $is_enabled variable, which is really the SELINUXTYPE. I just used
the "sestatus" command again to get the correct $is_enabled variable rather than the $sestatus variable, which as mentioned, is the sestatus output with no "\n".
** Affects: setroubleshoot (Ubuntu)
Importance: Undecided
Status: New
--
setroubleshoot init script does fails to detect selinux status
https://bugs.launchpad.net/bugs/354195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list