Re: use of kernel/yama/ptrace_scope in rpm scriptlets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 4, 2022 at 2:36 PM Marius Schwarz <fedoradev@xxxxxxxxxxxx> 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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux