Bug 35466 - /var/run/univention-management-console/ is missing after UMC startup/restart
/var/run/univention-management-console/ is missing after UMC startup/restart
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.0
Other Linux
: P5 critical (vote)
: UCS 4.0
Assigned To: Florian Best
Felix Botner
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-25 09:52 CEST by Sönke Schwardt-Krummrich
Modified: 2014-11-26 06:55 CET (History)
4 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 Sönke Schwardt-Krummrich univentionstaff 2014-07-25 09:52:03 CEST
The directory /var/run/univention-management-console/ is missing after UMC startup/restart. The directory is required by the UMC modules to put a socket file in there.

Within the postinst of di-univention-system-setup a workaround has been added, that should be removed once the bug is fixed.
Comment 1 Philipp Hahn univentionstaff 2014-07-28 10:57:40 CEST
Please not that /var/run/ (and /run) contain data, which is only relevant for the current boot; They are often placed in a tmpfs or are cleaned up on shutdown / reboot to prune stale process data. Any directory or file therein should be created each time by the corresponding /etc/init.d/ scripts.
<http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard>
Comment 2 Florian Best univentionstaff 2014-08-18 14:38:19 CEST
(In reply to Philipp Hahn from comment #1)
Well, there is no init script for "umc-module". Nevertheless the directory will be created by "umc-module" before starting the new module server process if it doesn't exists.

The workaround has been removed.
Comment 3 Florian Best univentionstaff 2014-08-18 14:39:04 CEST
interim bug - no changelog required.
Comment 4 Felix Botner univentionstaff 2014-08-26 11:12:43 CEST
OK - /var/run/univention-management-console/ is created when using UMC
Comment 5 Stefan Gohmann univentionstaff 2014-11-26 06:55:26 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

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