Re: gnu linux update question

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

 



On 06/28/2011 08:17 PM, Daniel J Walsh wrote:
>>   Does this work as regular user for you? For me -  selinux makes it crash.
> run ausearch -m avc -ts recent
> 
> And see if it generates any output.
> 
> SELinux error messages are written to /var/log/audit/audit.log
> 
> 
> 

  Thanks Dan - Nope no selinux logs on this one best I can tell. If I
run as user I get:

 $ needs-restarting
Traceback (most recent call last):
  File "/usr/bin/needs-restarting", line 137, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/needs-restarting", line 117, in main
    for fn in get_open_files(pid):
  File "/usr/bin/needs-restarting", line 84, in get_open_files
    for line in maps.readlines():
IOError: [Errno 13] Permission denied


  Its odd - line 117 in needs-restarting is this fragment:


    for pid in return_running_pids(uid=myuid):
        try:
            pid_start = os.stat('/proc/' + pid)[stat.ST_CTIME]
        except OSError, e:
            continue
        found_match = False
        for fn in get_open_files(pid):

Works fine as root.
-- 
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