Details
-
Type:
Bug
-
Status:
Fix Provided
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 0.4.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:
Debian lenny
Description
OHAI loads all LDAP directory via (presumably) getpwent. This makes ohai output to be enormously big.
/etc/nsswitch.conf has:
passwd: files ldap
/etc/pam.d/common_passwd has:
password sufficient pam_ldap.so use_authtok try_first_pass
password required pam_unix.so use_authtok try_first_pass md5
Need to fix ohai to read passwd files directly.
Activity
Bryan McLellan [Opscode]
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Workflow | jira [ 11485 ] | New OSS [ 22775 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 22775 ] | OSS: Product Management [ 28701 ] |
Jeff Blaine
made changes -
| Status | Open [ 1 ] | Fix Provided [ 10002 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
1113d 14h 49m | 1 | Jeff Blaine | 19/Mar/13 3:24 PM |
For now, the fix in
OHAI-166is the fastest road here. Add:Ohai::Config[:disabled_plugins] = [ "passwd" ]
To your chef client configuration, and you'll skip this plugin entirely.