[Bug 1922681] Re: manpages are wrong about PATH inheriting from the environment now
Brian Murray
1922681 at bugs.launchpad.net
Fri Jul 26 13:51:38 UTC 2024
Ubuntu 21.04 (Hirsute Hippo) has reached end of life, so this bug will
not be fixed for that specific release.
** Changed in: cron (Ubuntu Hirsute)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1922681
Title:
manpages are wrong about PATH inheriting from the environment now
Status in cron package in Ubuntu:
New
Status in cron source package in Hirsute:
Won't Fix
Bug description:
I posted this on bug #1779767 but since that got closed it's probably
going to be lost there.
tl;dr the manpage(s) needs to be fixed for this change as well:
Julian, thanks for the fix. In crontab(5) in cron 3.0pl1-136ubuntu2
the manpage is now wrong. It says:
> Several environment variables are set up automatically by the
cron(8) daemon. […] PATH is set to "/usr/bin:/bin". HOME, SHELL, and
PATH may be overridden by settings in the crontab […]
and also
> On the Debian GNU/Linux system, cron supports the pam_env module,
and loads the environment specified by /etc/environment and
/etc/security/pam_env.conf. It also reads locale information from
/etc/default/locale. However, the PAM settings do NOT override the
settings described above nor any settings in the crontab file itself.
Note in particular that if you want a PATH other than
"/usr/bin:/bin", you will need to set it in the crontab file.
These should be fixed I think. There might be other spots that I
didn't notice yet too.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1922681/+subscriptions
More information about the foundations-bugs
mailing list