Your message dated Mon, 10 Oct 2022 22:23:02 +0000
with message-id <[email protected]>
and subject line Bug#1021180: fixed in usrmerge 33
has caused the Debian Bug report #1021180,
regarding usrmerge may break user-mode-linux rootfs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1021180: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021180
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: usrmerge
Version: 31
Severity: normal
X-Debbugs-Cc: [email protected]
Hello,
I'm just filing it as a report here as I'm not sure if this qualifies as
a valida bug. Nevertheless it does break the user's system.
```
Setting up perl (5.34.0-5) ...
Setting up libfile-find-rule-perl (0.34-2) ...
Selecting previously unselected package usrmerge.
(Reading database ... 22180 files and directories currently installed.)
Preparing to unpack .../archives/usrmerge_32_all.deb ...
Unpacking usrmerge (32) ...
Setting up usrmerge (32) ...
sched: RT throttling activated
mv: cannot move '/lib/modules' to '/usr/lib/modules': Device or resource busy
FATAL ERROR:
mv --no-clobber /lib/modules /usr/lib/modules: rc=1
You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.
E: usrmerge failed.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error
exit status 1
Errors were encountered while processing:
usrmerge
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
The below occurred inside a Debian Unstable rootfs running
user-mode-linux.
And the reason this fails is because:
```
root@uml:~# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
hostfs /lib/modules hostfs /usr/lib/uml/modules 0 0
hostfs /var/tmp/Debian-Build/containers hostfs
/var/tmp/Debian-Build/containers 0 0
/swapfile swap swap defaults 0 0
/dev/ubda / ext4 discard,errors=remount-ro 0 1
```
The uml kernel is a modular kernel. The bare boot is built as the
monolithic kernel and everything else as modules, which are then mounted
from the host to the UML guest.
Now, going forward, I can manually fix it by mounting to
/usr/lib/modules and arranging the symlink to the old location in the
guest, something that usrmerge is trying to do.
But I report it here only to keep parties aware and if/whether they have
a better detection and handling of this scenario.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500,
'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=locale: Cannot set
LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages usrmerge depends on:
ii libfile-find-rule-perl 0.34-2
ii perl 5.34.0-5
usrmerge recommends no packages.
usrmerge suggests no packages.
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_TIME = "en_IO.UTF-8",
LANG = "en_IN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_IN.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
--- End Message ---
--- Begin Message ---
Source: usrmerge
Source-Version: 33
Done: Marco d'Itri <[email protected]>
We believe that the bug you reported is fixed in the latest version of
usrmerge, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <[email protected]> (supplier of updated usrmerge package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 10 Oct 2022 23:52:46 +0200
Source: usrmerge
Architecture: source
Version: 33
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Closes: 1020463 1021180
Changes:
usrmerge (33) unstable; urgency=medium
.
* Added a version number to the conflict with cruft. (See #941998.)
* convert-usrmerge: stop if /lib/modules/ is a mount point, which is
common on User Mode Linux. (Closes: #1021180)
* Implemented only for Hurd systems a modified algorithm provided by
Samuel Thibault. (Closes: #1020463)
Checksums-Sha1:
60b994005467e3903134bb5aa808f11c45711de3 981 usrmerge_33.dsc
c59a66e92755367526c2956a805890e9517016a0 14084 usrmerge_33.tar.xz
5a03c66631cba762fb03058c67d2c9fff9f70ed2 5447 usrmerge_33_amd64.buildinfo
Checksums-Sha256:
2bb5db7017ba0703691b6d4da14329d80e2d6eb8ae51a9fcd783f0ee8a369ab2 981
usrmerge_33.dsc
55e1f5b8ba2e10e418f6c70de627ee9554c5caf730f657ba062b060a916b3b7d 14084
usrmerge_33.tar.xz
d3f186f11156733f5ca3decfc1dca00ed6f40a45afe42ab84ba14c8dd8fc9147 5447
usrmerge_33_amd64.buildinfo
Files:
87ef4961f5772e4bddfe4ff1766c6cf3 981 admin optional usrmerge_33.dsc
7a2412be8c0e1263ea0ae05092ca8f31 14084 admin optional usrmerge_33.tar.xz
efa7cb28d3089f01b93efe4adcf918cc 5447 admin optional
usrmerge_33_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCY0SXOQAKCRDLPsM64d7X
gT2tAP4uQegb5h5Rkjuxn/9MaMGfWRLn6tD/Ym2Wn4EJ3jWMsgD/fZEEH2dUUJHA
mtQNWN6EmKsVbbZhkVSfB00d04ZkkA4=
=2lGg
-----END PGP SIGNATURE-----
--- End Message ---