Your message dated Fri, 25 Mar 2022 11:48:24 +0100
with message-id <[email protected]>
and subject line Re: Bug#1008231: base-files: root doesn't have games path
has caused the Debian Bug report #1008231,
regarding base-files: root doesn't have games path
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.)


-- 
1008231: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: base-files
Version: 11.1+deb11u2
Severity: normal
Tags: newcomer
X-Debbugs-Cc: [email protected]

Dear Maintainer,

root doesn't have the games path so for example if you try to use fortunes:
"bash: fortune: command not found".
This should be related to the post script of this package.

Changing in /etc/profile the root PATH:

if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

to
"PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
works.


-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages base-files depends on:
ii  gawk [awk]  1:5.1.0-1
ii  mawk [awk]  1.3.4.20200120-2

base-files recommends no packages.

base-files suggests no packages.

--- End Message ---
--- Begin Message ---
El 24/3/22 a las 21:39, Scorpion2185 escribió:
Package: base-files
Version: 11.1+deb11u2
Severity: normal
Tags: newcomer
X-Debbugs-Cc: [email protected]

Dear Maintainer,

root doesn't have the games path so for example if you try to use fortunes:
"bash: fortune: command not found".

This is intentional and the rationale is that the root user exists to install new software, admin the system, and so on, but not to play games.

This is also consistent with the PATHs defined in /etc/login.defs.

If your point is that fortune is not really a game and it would make sense for root to execute it, please reopen and reassign this bug to the fortune package.

Thanks.

--- End Message ---

Reply via email to