debsums warning after upgrade to Ubuntu 24.04 (noble): changed file /etc/X11/xorg.conf.d/99-v3d.conf (from ubuntu-raspi-settings-desktop package)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-raspi-settings (Ubuntu) |
Triaged
|
Undecided
|
Dave Jones |
Bug Description
System: Raspberry Pi 4 Model B Rev 1.4
After upgrade to Ubuntu 24.04 (noble) I'm getting this debsums warning:
# debsums -sa ubuntu-
debsums: changed file /etc/X11/
The difference between the file installed and the file from the ubuntu-
- The file installed is indented with two spaces:
Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
- The file from the package is indented with one tabulator:
Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
If I replace the file installed with the one from the package in order to avoid the debsums warning, the file is auto-replaced again during boot by the systemd update-
This service runs the script /usr/bin/
...
sed -e "s/IDENTIFIER/
Section "OutputClass"
Identifier "IDENTIFIER"
MatchDriver "DRIVER"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
EOF
mv "$TMPFILE" "/etc/X11/
...
I understand that this fix is done in every boot because we (users) should use the same OS installed media with different Raspberry Pi models.
Well... a possible solution is to change the package file to have two spaces of indentation instead of a tabulator, or to change the script to use a tabulator instead of two spaces. The objective is having both files identical to avoid the debsums warning... But unfortunately this "fix" only avoids the debsums warning for the systems that are not a Raspberry Pi 5 because in that case the warning is unavoidable as the result installed file will be always different from the one of the package. So this isn't a perfect solution.
summary: |
- debsums warning after upgrade to Ubuntu 22.04 (noble): changed file + debsums warning after upgrade to Ubuntu 24.04 (noble): changed file /etc/X11/xorg.conf.d/99-v3d.conf (from ubuntu-raspi-settings-desktop package) |
description: | updated |
description: | updated |
Changed in ubuntu-raspi-settings (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Dave Jones (waveform) |