Bug 44844 - Installation stalls during system-setup at "Configuring libnss-ldap (amd64)"
Installation stalls during system-setup at "Configuring libnss-ldap (amd64)"
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-22 22:24 CEST by Michael Grandjean
Modified: 2020-07-03 20:52 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017110121000657
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments
dpkg log (523.02 KB, text/x-log)
2017-06-22 22:24 CEST, Michael Grandjean
Details
setup log (84.62 KB, text/x-log)
2017-06-22 22:24 CEST, Michael Grandjean
Details
screenshot of stalled system-setup (31.43 KB, image/png)
2017-06-22 22:25 CEST, Michael Grandjean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2017-06-22 22:24:07 CEST
Scenario during technical training today:

UCS Master already installed on bare metal (Lynx training computers) with UCS 4.2-1, KDE, UVMM and KVM.

Then we installed a VM via UVMM as UCS Backup. The UCS Backup had the following partitioning:

> Nr. 1   primary    499.1 MB   B  f   ext2      /boot
> Nr. 2   primary     16.8 GB      f   ext4      /
> Nr. 5   logical      4.2 GB      f   ext4      /var/log

The root partition had additional mount options configured:
> relatime,usrquota,grpquota,user_xattr

Nagios was selected as additional software component. 
The options to automatically join and update the system were selected (active).

With this combination, UCS 4.2-1 stalled reliably during the configuration of the system role. The progress bar shows "5 %" and "Configuring libnss-ldap (amd64)" and then nothing happens for at least 20 minutes.

I will attach setup.log and dpkg.log
Comment 1 Michael Grandjean univentionstaff 2017-06-22 22:24:37 CEST
Created attachment 8957 [details]
dpkg log
Comment 2 Michael Grandjean univentionstaff 2017-06-22 22:24:57 CEST
Created attachment 8958 [details]
setup log
Comment 3 Michael Grandjean univentionstaff 2017-06-22 22:25:56 CEST
Created attachment 8959 [details]
screenshot of stalled system-setup
Comment 4 Michael Grandjean univentionstaff 2017-06-22 23:31:59 CEST
My best guess at the moment is "usrquota,grpquota".
Comment 5 Jürn Brodersen univentionstaff 2017-06-23 12:42:57 CEST
This happens on a master system if qouta was enabled during the debian setup, too.

It seems the quota package fails to install (see /var/log/apt/term.log). Due to that failure "univention-server-master" fails to install as well (setup.log).

I guess "univention-server-master" should have set config files that are needed for "libnss-ldap". Because libnss-ldap can't find any config files it asks for information on stdin and just waits for input... (/var/log/apt/term.log)

I don't know why the installation of the quota package fails in the first place. Maybe the partition needs to be remounted?
Comment 6 Nico Gulden univentionstaff 2017-11-09 10:21:08 CET
External feedback: Ticket#2017110121000657. User needed several tries to install the system. This was quite annoying.
Comment 7 Ingo Steuwer univentionstaff 2020-07-03 20:52:31 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.