bugDatabase-driven manual pager suite - Bugs: bug #37608, man fron man-db package overstep...

 
 

bug #37608: man fron man-db package overstep RLIMIT_NPROC when run as root

Submitted by:  Ilya Tumaykin <coacher>
Submitted on:  Sun 21 Oct 2012 06:11:37 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 21 Oct 2012 06:11:37 PM UTC, original submission:

Hello.

I have a Gentoo amd64 machine with man-db 2.6.3 and linux kernel 3.5.4 patched with grsecurity patches. Every time I run `man man` as root I get lots of the following warnings in syslog:

When this command run as non-root user from a wheel group or as man user itself everything is fine.
Appropriate parts of limits.conf:

Of course, root is also in wheel group and `ulimit -aH` as root says:

I wonder, why root user is treated so specially by man-db and doesn't have the appropriate limits? And why there are more than 100 threads (or forks or smth else) just to show man page?

I've attached a couple of debugging outputs and an strace one. Could you please answer the above questions?

Ilya Tumaykin <coacher>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26809:  man -d man output (as root) added by coacher (109KiB - application/octet-stream)
file #26810:  strace -C man -d man output (as root) added by coacher (198KiB - application/octet-stream)
file #26811:  man -d man output (as user) added by coacher (109KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by coacher (Submitted the item)
  • -email is unavailable- added by coacher
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-10-21 coacher Attached File- => Added man -d man output (as root), #26809
        Attached File- => Added strace -C man -d man output (as root), #26810
        Attached File- => Added man -d man output (as user), #26811
        Carbon-Copy- => Added coacher

    Back to the top


    Powered by Savane 3.3