Bug 28817

Summary: Falsche Init-Reihenfolge von runit
Product: UCS Reporter: Philipp Hahn <hahn>
Component: GeneralAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 Keywords: interim-2
Version: UCS 3.0   
Target Milestone: UCS 3.1   
Hardware: All   
OS: Linux   
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): Troubleshooting
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 19145    

Description Philipp Hahn univentionstaff 2012-10-17 16:28:12 CEST
Verschiedene Dienste werden in UCS über runit gestartet. Beim Herunterfahren wird runit allerdings zu früh und vor den einzelnen Diensten gestoppt, was jetzt im Zusammenhang mit libvirt zum Problem wird:

Stoppreihenfolge:
/etc/rc0.d/K20univention-dhcp
/etc/rc0.d/K20univention-directory-notifier
/etc/rc0.d/K25univention-runit
/etc/rc0.d/K50univention-directory-listener
/etc/rc0.d/K70univention-virtual-machine-manager-daemon
/etc/rc0.d/K71libvirt-guests ← setzt noch laufenden libvirt voraus
/etc/rc0.d/K72libvirt-bin
/etc/rc0.d/K85bind9

Startreihenfolge:
/etc/rc2.d/S08univention-runit
/etc/rc2.d/S15bind9
/etc/rc2.d/S20univention-dhcp
/etc/rc2.d/S20univention-directory-notifier
/etc/rc2.d/S28libvirt-bin
/etc/rc2.d/S29libvirt-guests
/etc/rc2.d/S30univention-virtual-machine-manager-daemon
/etc/rc2.d/S50univention-directory-listener

univention-runit sollte erst bei K92 gestoppt werden!
Comment 1 Philipp Hahn univentionstaff 2012-10-19 14:54:22 CEST
FYI: Der Start-Level wurde in Bug #26848 geändert.

univention-runit stoppt jetzt erst mit K92.

svn36472, univention-runit_5.0.0-1.37.201210191450
ChangeLog: svn153329..30
\item The init script of univention-runit is now stopped later. This prevents early terminations of services like \ucsName{libvirt-bin}, which otherwise fails to save virtual machines (\ucsBug{28817}).
Comment 2 Felix Botner univentionstaff 2012-10-19 16:31:20 CEST
OK,

ls /etc/rc6.d/*runit*
/etc/rc6.d/K92univention-runit

ls /etc/rc0.d/*runit*
/etc/rc0.d/K92univention-runit

Changelog Eintrag OK.
Comment 3 Stefan Gohmann univentionstaff 2012-12-12 21:10:03 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

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