Bug 15335 - Inhalt von /etc/univention/runit wird in /etc/service erwartet
Summary: Inhalt von /etc/univention/runit wird in /etc/service erwartet
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: General
Version: UCS 2.3
Hardware: All All
: P5 normal
Target Milestone: UCS 2.3
Assignee: Daniel Hofmann
QA Contact: Murat Odabas
URL:
Keywords:
Depends on:
Blocks: 14128
  Show dependency treegraph
 
Reported: 2009-08-11 16:48 CEST by Kai Bolte
Modified: 2009-12-21 08:49 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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Bolte 2009-08-11 16:48:47 CEST
Die UMC Weboberfläche funktioniert nach der Installation nicht (Login-Maske erscheint nicht).

==> /var/log/univention/management-console-web.log <==
  File "/usr/share/univention-management-console/frontend/univention-console-frontend.py", line 329, in main
    raise Exception( 'timeout' ) # timeout

# strace -f sv up    univention-management-console-server
execve("/usr/bin/sv", ["sv", "up", "univention-management-console-se"...], [/* 21 vars */]) = 0
gettimeofday({1250007261, 46549}, NULL) = 0
open(".", O_RDONLY|O_NONBLOCK)          = 3
chdir("/etc/service/")                  = 0
chdir("univention-management-console-server") = -1 ENOENT (No such file or directory)
write(1, "fail: univention-management-cons"..., 103fail: univention-management-console-server: unable to change to service directory: file does not exist
) = 103
fchdir(3)                               = 0
_exit(1)                                = ?


Der Inhalt von /etc/univention/runit wird also in /etc/service erwartet, ein Link behebt also erst einmal das Problem:

rm -R service/
ln -sf /etc/runit/univention /etc/service
sv up    univention-management-console-server
Comment 1 Stefan Gohmann univentionstaff 2009-08-12 07:13:45 CEST
Aus dem Debian Changelog von runit:

   * debian/2, debian/rules, debian/runit.README.Debian,
     debian/runsvdir-start.8, debian/update-service, debian/update-service.8:
     switch directory for services from /var/service/ to /etc/service/
     (#461478).

stefan@korall:~$ ls -la /var/service
lrwxrwxrwx 1 root root 21 Mar 16  2007 /var/service -> /etc/runit/univention
stefan@korall:~$

Der Link wird in univention-runit erstellt.

Comment 2 Daniel Hofmann univentionstaff 2009-08-13 13:24:24 CEST
Neuer Link wird jetzt beim installieren erzeugt,
Alter und neuer beim Entfernen entfernt.
Beim Upgrade bleibt der alte Link (leider) bestehen.
Comment 3 Murat Odabas univentionstaff 2009-11-05 15:31:05 CET
Nach der Installation erscheint beim Aufruf des UMC die Login Maske und man kann sich anmelden, verified
Comment 4 Stefan Gohmann univentionstaff 2009-12-21 08:49:49 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".