Public bug reported:

*procps* ships `/etc/sysctl.d/10-magic-sysrq.conf:kernel.sysrq = 176`,
which is run by `systemd-sysctl.service`. This fails on a system run
with a Linux image built for virtual machines *linux-image-kvm*, which
has `CONFIG_MAGIC_SYSRQ` not set.

```
$ sudo /lib/systemd/systemd-sysctl
Couldn't write '176' to 'kernel/sysrq', ignoring: No such file or directory
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
Couldn't write '4194304' to 'kernel/pid_max': Invalid argument
$ grep SYSRQ /boot/config-5.4.0-1009-kvm
# CONFIG_MAGIC_SYSRQ is not set
```

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1931630

Title:
  Linux images for virtual machines with unset `CONFIG_MAGIC_SYSRQ`
  cause `10-magic-sysrq.conf` to fail

Status in procps package in Ubuntu:
  New

Bug description:
  *procps* ships `/etc/sysctl.d/10-magic-sysrq.conf:kernel.sysrq = 176`,
  which is run by `systemd-sysctl.service`. This fails on a system run
  with a Linux image built for virtual machines *linux-image-kvm*, which
  has `CONFIG_MAGIC_SYSRQ` not set.

  ```
  $ sudo /lib/systemd/systemd-sysctl
  Couldn't write '176' to 'kernel/sysrq', ignoring: No such file or directory
  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
  Couldn't write '4194304' to 'kernel/pid_max': Invalid argument
  $ grep SYSRQ /boot/config-5.4.0-1009-kvm
  # CONFIG_MAGIC_SYSRQ is not set
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1931630/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to