Bug 11559 - Autostart-Variable für NFS-Dienst
Autostart-Variable für NFS-Dienst
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: NFS
UCS 2.0
All Linux
: P4 enhancement (vote)
: UCS 3.1
Assigned To: Florian Best
Stefan Gohmann
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-15 10:43 CEST by Moritz Muehlenhoff
Modified: 2012-12-12 21:07 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:
klaeser: Patch_Available+


Attachments
Autostart-Variablen für univention-nfs (1.12 KB, patch)
2011-10-18 13:53 CEST, Florian Best
Details | Diff
nfs-kernel-server init script patch (469 bytes, patch)
2012-07-13 15:23 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2008-07-15 10:43:27 CEST
Für den NFS-Dienst sollte es auch eine UCR-Autostart Variable nfs/autostart geben.
Comment 1 Florian Best univentionstaff 2011-10-18 13:53:43 CEST
Created attachment 3650 [details]
Autostart-Variablen für univention-nfs
Comment 2 Florian Best univentionstaff 2011-10-24 11:42:59 CEST
Die Variablen werden mit dem Patch erstellt und es wird im init-skript (init.d/nfs-kernel-server) geprüft ob der Dienst gestartet wird / werden darf.
Comment 3 Stefan Gohmann univentionstaff 2012-06-07 12:12:01 CEST
Bitte den Patch übernehmen.
Comment 4 Florian Best univentionstaff 2012-06-11 08:28:12 CEST
Patch wurde mit kleinen Änderungen (bashism entfernt) übernommen.
Paket ist gebaut.
univention-nfs 4.0.8-2
Comment 5 Florian Best univentionstaff 2012-06-13 10:21:39 CEST
Changelog wurde ergänzt
Comment 6 Moritz Muehlenhoff univentionstaff 2012-07-13 14:38:03 CEST
Die Änderung greift nicht, weil das Init-Skript nicht korrekt im Template registriert ist:

root@backup:~# ucr set nfs/autostart=manual
Create nfs/autostart

/etc/init.d/nfs-kernel-server wird in 3.0 nicht aus dem UCR-Template generiert, sondern es wird das Standard-Init-Skript aus dem Debian-Paket verwendet. Grund ist, dass die Registrierung in debian/univention-nfs-server.univention-config-registry fehlt.

Da das UCR-Template conffiles/etc/init.d/nfs-kernel-server gegenüber der aktuellen Version aus nfs-kernel-server auch einige Abweichungen aufweist, würde es einiges an Tests erfordern in 3.0-2 auf die UCR-Template-Variante zu wechseln.

Es sollte daher besser das Init-Skript aus nfs-kernel-server gepatcht werden (oder der Bug geschoben werden).
Comment 7 Florian Best univentionstaff 2012-07-13 15:23:15 CEST
Created attachment 4535 [details]
nfs-kernel-server init script patch
Comment 8 Florian Best univentionstaff 2012-07-13 15:24:59 CEST
3.0-2 Changelog entfernt.
Comment 9 Stefan Gohmann univentionstaff 2012-07-17 17:09:36 CEST
UCS 3.1 will be the next release.
Comment 10 Florian Best univentionstaff 2012-10-22 18:00:01 CEST
fixed in nfs-kernel-server 1:1.2.2-4.34.201210221748
Comment 11 Stefan Gohmann univentionstaff 2012-11-15 08:09:02 CET
Die Variable funktioniert: OK

Changelog: OK

Bzgl. Integration in UMC: Bug #27783
Comment 12 Stefan Gohmann univentionstaff 2012-12-12 21:07:50 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".