Ausgeführtes Scriptlet: elfutils-libelf-0.182-3.fc34.aarch64 7/7 Couldn't write '0' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory Not setting net/ipv4/conf/all/rp_filter (explicit setting exists). Not setting net/ipv4/conf/default/rp_filter (explicit setting exists). Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists). Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists). Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists). Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists). Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory Device: Pinephone Kernel: 5.11.0rc7 (megi Build)
(In reply to customercare from comment #0) > Ausgeführtes Scriptlet: elfutils-libelf-0.182-3.fc34.aarch64 > 7/7 > Couldn't write '0' to 'kernel/yama/ptrace_scope', ignoring: No such file or > directory > Not setting net/ipv4/conf/all/rp_filter (explicit setting exists). > Not setting net/ipv4/conf/default/rp_filter (explicit setting exists). > Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists). > Not setting net/ipv4/conf/default/accept_source_route (explicit setting > exists). > Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists). > Not setting net/ipv4/conf/default/promote_secondaries (explicit setting > exists). > Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such > file or directory > > > Device: Pinephone > Kernel: 5.11.0rc7 (megi Build) I am slightly confused. Is this an error on Fedora, or are you reusing the Fedora package on a pinephone device that doesn't have those settings? If your setup doesn't support those settings then you shouldn't use the Fedora specific scripts.
It's the Fedora SIG Mobilities Build for Pinephone ( more or the official fedora version ) . The base image uses Fedora Minimal afaik. Currently it's F34. If those missing kernel settings are a problem of any kind, give me a hint and i will forward it to the megi kernel builder.
(In reply to customercare from comment #2) > If those missing kernel settings are a problem of any kind, give me a hint > and i will forward it to the megi kernel builder. There are various settings mentioned in those warnings that have nothing to do with elfutils. All elfutils does is: %sysctl_apply 10-default-yama-scope.conf sysctl_apply is a macro from the systemd package that simply reloads various sysctl settings. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_binfmt_d_sysctl_d_and_tmpfiles_d You probably need to coordinate with the systemd packagers what that macro should do for non-existing settings.
This seems a generic issue with the sysctl_apply macro when used for sysctl values the kernel doesn't support. This should either be fixed in systemd to handle such issues. Or the kernel simply needs to support such sysctls to be able to handle Fedora packages.
> Not setting net/ipv4/conf/all/rp_filter (explicit setting exists). > Not setting net/ipv4/conf/default/rp_filter (explicit setting exists). > Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists). > Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists). > Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists). > Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists). → Those will be gone with https://github.com/systemd/systemd/pull/18663. > Couldn't write '0' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory I think this should be added to the kernel. > Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such https://github.com/systemd/systemd/pull/18705