Package: util-linux
Version: 2.40.2-11
Severity: minor
Dear Maintainer,
when one sudo to root:
"
sudo -i LC_ALL=C
-bash: mesg: command not found
"
"
root@hermes:~# cat .profile
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
tty -s && mesg n || true
"
I don't know the rationale for the "meg" binary removal from util-linux,
maybe it cannot be added back. But a note to edit the root user profile
should be added if required by util-linux.
I have a system with a newer install that has as its /root/.profile:
"
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n 2> /dev/null || true
"
Cheers,
Alban
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500,
'oldstable-debug'), (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'),
(500, 'oldstable'), (90, 'unstable-debug'), (90, 'unstable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.11.7-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages util-linux depends on:
ii libblkid1 2.40.2-11
ii libc6 2.40-3
ii libcap-ng0 0.8.5-3+b1
ii libcrypt1 1:4.4.36-5
ii libmount1 2.40.2-11
ii libpam-modules 1.5.3-7+b1
ii libpam-runtime 1.5.3-7
ii libpam0g 1.5.3-7+b1
ii libselinux1 3.7-3+b1
ii libsmartcols1 2.40.2-11
ii libsystemd0 256.7-3
ii libtinfo6 6.5-2+b1
ii libudev1 256.7-3
ii libuuid1 2.40.2-11
Versions of packages util-linux recommends:
ii sensible-utils 0.0.24
Versions of packages util-linux suggests:
ii dosfstools 4.2-1.1
ii kbd 2.6.4-3
ii util-linux-extra 2.40.2-11
ii util-linux-locales 2.40.2-11
pn wtmpdb <none>
-- no debconf information