Bug 29050 - Imagegenerierung macht nscd kaputt
Imagegenerierung macht nscd kaputt
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image management
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Stefan Gohmann
Moritz Muehlenhoff
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-05 16:50 CET by Janek Walkenhorst
Modified: 2013-03-26 09:14 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2012-11-05 16:50:15 CET
Nach dem erstellen eines Images können die Clients nicht mehr gejoint werden.

Could not chdir to home directory /dev/null: Not a directory
bash: /dev/null/.bashrc: Ist kein Verzeichnis
unknown user 2005

Ein Restart des nscd behebt dies.
Comment 1 Stefan Gohmann univentionstaff 2012-11-30 08:03:08 CET
Ohne laufenden nscd kann der Client nicht vernünftig joinen.

Das nscd Initskript beendet nicht nur den nscd im chroot, sondern auch auf dem UCS System. Da es das einfachste ist, wird der nscd jetzt nach dem Cleanup auf dem UCS System neu gestartet.
Comment 2 Moritz Muehlenhoff univentionstaff 2013-01-02 15:50:08 CET
nscd kommt in UCC nicht mehr zum Einsatz. 

In univention-ucc-join und ucc-image-toolkit ist der Code noch vorhanden, da er aber durch entsprechende Tests auf /usr/sbin/nscd und /etc/init.d/nscd gekapselt ist, kann er ruhig erstmal drinbleiben. Vielleicht setzt ja doch jemand lokal in Spezialsetups noch den nscd ein.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:40 CET
UCC 1.0 has been released: 
http://forum.univention.de/viewtopic.php?f=26&t=2417
http://forum.univention.de/viewtopic.php?f=54&t=2418

If this error occurs again, please use "Clone This Bug".