#4771 closed enhancement (fixed)
sudo-1.8.10
Reported by: | Fernando de Oliveira | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | 7.6 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Change History (16)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
comment:4 by , 11 years ago
Replying to fo:
Forgot: was it decided to leave sudo with --libexec?
Looks like it has been forgotten, since the installed directories line has /usr/libexec/sudo.
comment:5 by , 11 years ago
About rundir: I think configure adds sudo, that is, if you input:
--with-rundir=/some/path
you'll end up with the timestamp parent dir being /some/path/sudo. So, I think the default is OK.
comment:8 by , 11 years ago
Default: /var/run/sudo
--with-rundir=/var/run/sudo: same as default
--with-rundir=/run/sudo: as the value indicates (/run/sudo)
--with-rundir=/run: /run (no "sudo' created, if not explicitly written, unless they are the defaults).
The deprecated hada in the book the explanation:
"--with-timedir=/var/lib/sudo: This switch places the variable time stamp files in a FHS compatible location."
The reason I asked was if there is some FHS rule for the new variable or some particularity from (B)LFS to not be in the default /var/run/sudo.
My preference, if there is no special reason, is /var/run/sudo. The developpers there like /var/run. Even there is a new directory /var/db/sudo.
So, Bruce, if you do not have a special reason, I would prefer /var/run/sudo (default, no switches, no explanations needed at the text).
What do you think?
comment:10 by , 11 years ago
Understood, if a switch was needed, I would put that, then. Good enough reason, being direct. When time comes, will use this advice. Thanks.
comment:12 by , 11 years ago
Replying, belatedly, to Fernando and Pierre about libexecdir :
I reinstated it with the following command explanation: --libexecdir=/usr/lib/sudo: This switch controls where private programs are installed. Everything in that directory is a library, so they belong under /usr/lib instead of /usr/libexec.
And yes, I did forget to check the list of directories. I still think that libs don't belong in /usr/libexec (I'm taking a *pedantic* view of the FHS, since I believe it is intended for pedants :-) but Bruce queried this - thread at http://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg16480.html and I'm not going to press the point.
The people doing the work (that's you guys, until you burn out) get to make the decisions. Whether I agree with them, or use them in my own builds, is neither here nor there. Live Long And Prosper!
comment:13 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:15 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Thanks. Switch is back at r12854.
--with-timedir=DIR deprecated
use now:
Since we have /var/run and it apparently is cleared on reboot, I can replace
Or, as suggested, just remove --with-timedir and leave the application use its defaults.
As this is a security issue, I will sopt with sudo and go to another package, while waiting some input, please.
Thanks in advance.