Hi Santiago,

util-linux recently stopped installing mesg(1).

On Thu, Nov 21, 2024 at 09:45:07PM +0100, Alban Browaeys wrote:
> 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

Could you see to updating bash-files' dot.profile, which AFAICT is
the template for /root/.profile?

Will installs that have not changed /root/.profile automatically get
the updated file, or do they need to manually change it?

Apparently in older versions the mesg call looked like this:

| tty -s && mesg n || true

Which now writes an error about mesg not existing. For this part
I'll update the NEWS.Debian entry in util-linux (#1088009).

Chris

Reply via email to