This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
procps
Watch
1
Star
0
Fork
0
You've already forked procps
Code
Issues
Pull Requests
Packages
Releases
Activity
55cc33fc0a
procps
/
testsuite
/
sysctl_slash_test.conf
2 lines
30 B
Plaintext
Raw
Normal View
History
Unescape
Escape
sysctl: print dotted keys again When the globbing update was put into sysctl, you could no longer simply use the keys because one key could potentially be multiple paths once the glob expansion occured. Using the path instead gave a unique output. Except certain programs, such as salt, expected the output to use the dotted path "kernel.hostname" and not "kernel/hostname". We can no longer use the original key, so now for each path: Copy the path strip off /proc/ convert all / to . The sysctl testsuite was also updated to check for a few different types of conversion failures. References: commit 6389deca5bf667f5fab5912acde78ba8e0febbc7 https://www.freelists.org/post/procps/some-procpsn4400-fixes,4 https://repo.saltproject.io/ Signed-off-by: Craig Small <csmall@dropbear.xyz>
2022-04-09 09:48:28 +05:30
kernel/hostname = procps-test
Reference in New Issue
Copy Permalink