Bug#988148: initscripts: Can not umount /usr at shutdown

2021-06-02 Thread lorenzo
Hi Hans,
thank you for reporting this.

On Thu, 06 May 2021 18:49:00 +0200
"Hans-J. Ullrich"  wrote:

> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled

This report is from a machine that runs systemd as init, so
just to be sure: is the "can not unmount /usr" message happening on
another machine that runs Sysv as init?

Regards,
Lorenzo



Bug#988148: initscripts: Can not umount /usr at shutdown

2021-05-06 Thread Hans-J. Ullrich
Package: initscripts
Version: 2.96-7
Severity: normal

Dear Maintainer,

I du not know, if thisis really a bug. However, when shutting system down, it 
hangs some time with the message "can not unmount /usr" and then after a while 
it shuts off.


A look at /etc/init.d/umountfs told me, that many devices are listed to be 
unmounted and also /usr. But, as I am using cryptdisks, my devices are called 
/dev/mapper/usr. Examination of the file is missing an entry "/dev/mapper/*" 
and so of course, every shutdown is waiting for a timeout and is producing the 
error message.

It is IMO a minor problem, does not much harm, but I would like to mention it. 

Please feel free, in case I am wrong, to close this case.

Thank you very much for reading this.

Best regards

Hans



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initscripts depends on:
ii  lsb-base  11.1.0
ii  sysv-rc   2.96-7

Versions of packages initscripts recommends:
ii  e2fsprogs  1.46.2-1
ii  psmisc 23.4-2

initscripts suggests no packages.

-- Configuration Files:
/etc/rc.local changed:
setkeycodese055 235 # WLAN
setkeycodese056 236 # WLAN
setkeycodese004 129 # Bluetooth
setkeycodese012 208 # ACER Arcade
setkeycodese033 200 # '\xa4' character
setkeycodese034 201 # '$' character
exit 0


-- debconf-show failed