Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid thousands of lsof warnings in chroot #303

Merged
merged 1 commit into from Sep 3, 2021

Conversation

henrich
Copy link
Contributor

@henrich henrich commented Sep 2, 2021

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

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
Copy link
Owner

grosser commented Sep 3, 2021

thx, worked fine on mac too

@grosser grosser merged commit 1243fea into grosser:master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants