Public bug reported:

Binary package hint: upstart

When trying to install SElinux in Ubuntu 7.04 Feisty, I noticed that
upstart doesn't work with SElinux.

To reproduce this you must do the following:

- Activate selinux in kernel boot options in GRUB: 
      edit the file /boot/grub/menu.lst, and add "selinux=1" in the "# kopt=" 
line. Run "sudo update-grub" and reboot.

- Install the SElinux packages: 
      sudo apt-get install selinux-basics selinux-utils checkpolicy 
policycoreutils selinux-policy-refpolicy-targeted

- Reboot to activate SElinux. After rebooting Ubuntu with upstart, when
you execute the command "sestatus" the output is:

SELinux status:                 disabled

If you install the package "sysvinit", the shutdown is not performed. It
ends with:

init: timeout opening/writing control channel /dev/initctl

I think thats another bug. It only happens the first time, just after
installing the "sysvinit" package. To conclude the reboot, you have to
either use Linux Magic Keys (Alt+SysRq) or press the reset button on the
computer box.

After rebooting with the package "sysvinit" installed, if you execute
the "sestatus" command with the package "sysvinit" installed, the output
is:

SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          permissive
Policy version:                 21
Policy from config file:        refpolicy-targeted

I have tried many many times, but apparently SElinux doesn't work
without the sysvinit package installed.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
selinux is not enabled with upstart
https://bugs.launchpad.net/bugs/124865
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to