Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001272 [SysCP] Configfiles trivial always 2009-09-30 21:36 2010-03-02 23:39
Reporter xenonR View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 1.4.2.1
Summary 0001272: Default Config for libnss incomplete (debian/lenny)
Description If you use the Configuration-Generator from sysCP for libnss it generates an incomplete nsswitch.conf. With the generated config the system is unable to use the /etc/hosts. E.g. localhost can't be resolved anymore.
Additional Information To fix this append the line
hosts: files dns
to your generated nsswitch.conf
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000438)
xenonR (reporter)
2009-09-30 22:05

To complete the nsswitch.conf file also append
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

Good night...
(0000452)
crifi (reporter)
2009-12-15 16:36

I can confirm this bug.
(0000462)
kscholz (reporter)
2010-02-08 12:38

I can confirm this bug too...
A full working config should look like this one:

passwd: compat mysql
group: compat mysql
shadow: compat mysql

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
(0000465)
jo (reporter)
2010-03-02 23:39

I'm using "files mysql" instead of "compat mysql".
I changed that because I saw some warnings in the internet and the docs I read on the issue confirmed them (I forgot the details, so this needs to be verified independently before it can go into SysCP).

No SVN - commits yet

- Issue History
Date Modified Username Field Change
2009-09-30 21:36 xenonR New Issue
2009-09-30 22:05 xenonR Note Added: 0000438
2009-12-15 16:36 crifi Note Added: 0000452
2010-02-08 12:38 kscholz Note Added: 0000462
2010-03-02 23:39 jo Note Added: 0000465
Footer