Re: systemd or selinux problem? CAP_SYS_MODULE/CAP_NET_ADMIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 November 2011 00:09, Ian Malone <ibmalone@xxxxxxxxx> wrote:
> On 19 November 2011 18:38, Deron Meranda <deron.meranda@xxxxxxxxx> wrote:
>> On Sat, Nov 19, 2011 at 9:42 AM, Ian Malone <ibmalone@xxxxxxxxx> wrote:
>>> I've got quite a few of these during boot, anyone know what might be the cause?
>>>
>>> Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).
>>> Use CAP_NET_ADMIN and alias X instead.
>>>
>>> Where X includes netdev-snd_ice1724, netdev-snd_ac97_codec, netdev-fat,
>>> netdev-vfat, netdev-bluetooth, netdev-nf_conntrack and others. Think
>>> they may all be netdev-. I've tried an autorelabel in case it's a
>>> labelling issue.
>>
>> This sounds like neither a systemd nor an SELinux issue.  Are you
>> seeing anything more specific, like an AVC error?
>>
>
> No I'm not, two unrelated sealerts (gnome-session-check-accel,
> /bin/mailx). I know there's a systemd unit (or appears to be) to load
> kernel modules, I was wondering if this was responsible for attempting
> to load these with the wrong context.
>
>> Anyway the CAP_* symbols refer to the kernel "capabilities" (do a man
>> capabilities). These are kernel-level security features, but unrelated
>> to SELinux.
>>
>
> Interesting, thanks.

If anyone else encounters this or a similar issue it was caused by a
broken udev rule. To work around this bug
https://bugzilla.redhat.com/show_bug.cgi?id=753648 I had the following
rule, but with a spurious newline:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="rt2500pci", KERNEL=="wlan*",
RUN="/sbin/iw $name set power_save off"

rather than
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="rt2500pci",
KERNEL=="wlan*", RUN="/sbin/iw $name set power_save off"

-- 
imalone
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux