Re: gnu linux update question

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

 



On 06/29/2011 06:01 AM, Bryn M. Reeves wrote:
> print "pid: %s" % pid # add this line

  Great idea:

  ./needs-restarting
pid: 1
Traceback (most recent call last):
  File "./needs-restarting", line 138, in <module>
    sys.exit(main(sys.argv))
  File "./needs-restarting", line 118, in main
    for fn in get_open_files(pid):
  File "./needs-restarting", line 85, in get_open_files
    for line in maps.readlines():
IOError: [Errno 13] Permission denied



  From this we see:


$ ls -l /proc/1/smaps
0 -r--r--r--. 1 root root 0 Jun 28 13:25 /proc/1/smaps

$ cat /proc/1/smaps
cat: /proc/1/smaps: Permission denied

So that is the source of the problem - tho it probably should not give up.

gene

-- 
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