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

hostname obfuscation in /sys/kernel/debug/sched/debug #3793

Open
arif-ali opened this issue Sep 27, 2024 · 0 comments
Open

hostname obfuscation in /sys/kernel/debug/sched/debug #3793

arif-ali opened this issue Sep 27, 2024 · 0 comments

Comments

@arif-ali
Copy link
Member

As part of the migration of the ubuntu package and a sync from debian yesterday we found that we can see the hostname in the file /sys/kernel/debug/sched/debug.

In this particular scenario, the hostname was autopkgtest, and a potential process was running with the name autopkgtest-run

the migrattion to ubunu dev went through, but we ought to resolve this, and we either catch it with update on the obfuscation or this should be ignored.

Excerpt from the logs

######### DONE WITH --mask #########
224s !!! TEST FAILED: hostname not obfuscated in all places !!!
224s /tmp/sosreport_test/sys/kernel/debug/sched/debug: Sautopkgtest-run  2121      6977.293077 E      6978.476987         1.500000         2.501360         6   120         0.000000         2.501360         0.000000         0.000000 0 0 /user.slice/user-1000.slice/session-4.scope

Reference: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/amd64/s/sosreport/20240926_175243_bb0ba@/log.gz

Note: we are still using simple.sh for tests here, due to the fact avocado is still not packaged in Debian and Ubuntu, we are actively working to address. Once that is done, we can get rid of this simple.sh for validation

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

No branches or pull requests

1 participant