[Bug 1931630] Re: Linux images for virtual machines with unset `CONFIG_MAGIC_SYSRQ` cause `10-magic-sysrq.conf` to fail

Hans Joachim Desserud 1931630 at bugs.launchpad.net
Sat Jun 12 07:27:42 UTC 2021


Thanks for reporting.

>I was told to move this issue to *linux-image-kvm*. How can I do that?

If you look at the yellow line under "affects" it lists "procps
(Ubuntu)". Next to it is a triangle which you can click to expand, where
you can change details such as the package name and status.

To move this bug report to another package you want to replace the
package name. Note that you may need to use `linux-meta-kvm` if `linux-
image-kvm` doesn't work, since bugs are tracked against source packages
not binary ones.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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



More information about the foundations-bugs mailing list