[ltp] Thinkpad APM Support
Andrew Jesaitis
linux-thinkpad@linux-thinkpad.org
Tue, 16 Aug 2005 14:26:55 -0600
honey@gneek.com wrote:
> On Tue, 16 Aug 2005, Andrew Jesaitis wrote:
>
>> SELinux is getting in the way of certain ACPI functions (blanking the
>> screen and swusp2). Anyway, I changed the
>> system-config-securtiylevel file directly, but that didn't seem to
>> help. If I disable SELinux globally things work fine, but this
>> probably isn't the best solution.
>
>
> Very odd - once set in s-c-securitylevel (and acpid restarted) it
> really shouldn't get in the way. Check the boolean file I mentioned,
> my /etc/selinux/targeted/booleans.local has:
>
> apmd_disable_trans=1
>
> (current SELinux policy treats apm and acpid in the same breath, which
> I've argued a bit it shouldn't - acpid needs to do more). Then check
> /var/log/audit/audit.log on keypress to look for denied errors.
Okay got it working... /etc/sysconfig/system-config-securitylevel
disables the firewall, which appears to have no effect on the acpid.
But, disabling apmd selinux protection worked.
>
>> One completely unrelated question that is really easy...is there an
>> "open as root" command in gnome because its a little annoying to have
>> my email acct under one user and have to log in as root to change
>> locked files.
>
>
> Unsure what you mean by locked files - you mean
> ownership/permissions? "su -"...? I think I'm missing the question
> here :)
No you got it. Basically is there a GUI (gnome) equivalent of su?
Andrew