Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74237 - sudo should not install pam.d file when pam USE flag not set
Summary: sudo should not install pam.d file when pam USE flag not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-12 14:35 UTC by Ginsu
Modified: 2005-04-19 18:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ginsu 2004-12-12 14:35:58 UTC
The ebuild for sudo should not install /etc/pam.d/sudo when the pam USE flag is not set.

Reproducible: Always
Steps to Reproduce:
1. Unset pam use flag.
2. emerge sudo
3.

Actual Results:  
The file sudo gets placed in /etc/pam.d

Expected Results:  
No file should have gotten installed into /etc/pam.d
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-04-18 22:03:09 UTC
wfm.

>>> Merging app-admin/sudo-1.6.7_p5-r2 to /
 * >>> SetUID: [chmod go-r] /var/tmp/portage-pkg/sudo-1.6.7_p5-r2/bin/us  [ ok ]do  ...
--- /etc/
>>> /etc/sudoers
--- /usr/
--- /usr/bin/
>>> /usr/bin/sudo
--- /usr/sbin/
>>> /usr/sbin/visudo
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/sudo-1.6.7_p5-r2/
>>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.syslog.conf.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/README.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/UPGRADE.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/PORTING.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/TODO.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/HISTORY.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/TROUBLESHOOTING.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.sudoers.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.pam.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/BUGS.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/CHANGES.gz
>>> /usr/share/doc/sudo-1.6.7_p5-r2/RUNSON.gz
--- /usr/share/man/
--- /usr/share/man/man5/
>>> /usr/share/man/man5/sudoers.5.gz
--- /usr/share/man/man8/
>>> /usr/share/man/man8/visudo.8.gz
>>> /usr/share/man/man8/sudo.8.gz

Comment 2 SpanKY gentoo-dev 2005-04-19 18:50:42 UTC
should be all set now