Opened 5 years ago

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

Description

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.

https://www.sudo.ws/stable.html#1.8.29


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

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

os x: 10.7.5

Change History (4)

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

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

Cc: JohnFHall added

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

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

Resolution: fixed
Status: assignedclosed

In 428873514f09c0d63123163a00b175b107eba769/macports-ports (master):

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

​See: https://bugzilla.sudo.ws/show_bug.cgi?id=904
Closes: #59513

Note: See TracTickets for help on using tickets.