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

Bug #1931630 reported by Paul Menzel
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-meta-kvm (Ubuntu)
New
Undecided
Unassigned

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
```

Revision history for this message
Paul Menzel (paulmenzel) wrote :

In #<email address hidden> I was told to move this issue to *linux-image-kvm*. How can I do that?

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

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.

Paul Menzel (paulmenzel)
affects: procps (Ubuntu) → linux-meta-kvm (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.