Happy New Year everyone,
noticed on device: Pinephone
At least since early last year, most likely much longer, rpm scriptlets report this message:
Couldn't write '0' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
Can the one responsible please add some sort of check to the scriptlet:
if [ -e "..kernel/yama/ptrace_scope" ]; then echo "0" > ..kernel/yama/ptrace_scope fi
or, as it seems to be an irrelevant message, use > /dev/null ?
I would really like to help out with such small stuff, when I'm allowed in the maintaier/packager gang ;)
best regards, Marius
On Tue, Jan 4, 2022 at 2:36 PM Marius Schwarz fedoradev@cloud-foo.de wrote:
Happy New Year everyone,
noticed on device: Pinephone
At least since early last year, most likely much longer, rpm scriptlets report this message:
Couldn't write '0' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
Can the one responsible please add some sort of check to the scriptlet:
if [ -e "..kernel/yama/ptrace_scope" ]; then echo "0" > ..kernel/yama/ptrace_scope fi
or, as it seems to be an irrelevant message, use > /dev/null ?
Hum. I've never seen an error message like that before.
But I think you'd have a better chance of getting this noticed by the right people and fixed by opening a RHBZ ticket for the relevant package. Which package's scriptlet is actually throwing that error? Or is it all %post / %postun / ... RPM scriplets in a transaction? I can't tell from your message.
Fabio
Fabio Valentini decathorpe@gmail.com writes:
if [ -e "..kernel/yama/ptrace_scope" ]; then echo "0" > ..kernel/yama/ptrace_scope fi or, as it seems to be an irrelevant message, use > /dev/null ?
See elfutils-default-yama-scope, though it uses a sysctl file rather than an echo.
- FChE