Opened 4 years ago

Closed 4 years ago

#59513 closed defect (fixed)

sudo: setrlimit(8): Invalid argument

Reported by: iefdev (Eric F) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: JohnFHall (John Hall)
Port: sudo


With latest sudo-1.8.29, one of the changes was:

Sudo now sets most resource limits to their maximum value to avoid problems caused by insufficient resources, such as an inability to allocate memory or open files and pipes.

And now sudo: setrlimit(8): Invalid argument is thrown on every command.

$ sudo echo foo
sudo: setrlimit(8): Invalid argument

os x: 10.7.5

Change History (4)

comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)

comment:2 Changed 4 years ago by JohnFHall (John Hall)

Cc: JohnFHall added

comment:3 in reply to:  1 Changed 4 years ago by iEFdev

comment:4 Changed 4 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 428873514f09c0d63123163a00b175b107eba769/macports-ports (master):

sudo: fix "setrlimit(8): Invalid argument" issue

Closes: #59513

Note: See TracTickets for help on using tickets.