grosser / parallel

Ruby: parallel processing made simple and fast
MIT License
4.16k stars 254 forks source link

Avoid thousands of lsof warnings in chroot #303

Closed henrich closed 3 years ago

henrich commented 3 years ago

Just executing lsof in pbuilder/cowbuilder chroot environment causes flood of warnings. Just -l option avoids this noise. In chroot environment, /etc/passwd is a limited one but /proc has lot of processes that are related to users in the parent environment.

-l option means "inhibits the conversion of user ID numbers to login names."

grosser commented 3 years ago

thx, worked fine on mac too