[Bug 779145] New: nfs4 mounts with sec=krb5 not mounted during boot
https://bugzilla.novell.com/show_bug.cgi?id=779145 https://bugzilla.novell.com/show_bug.cgi?id=779145#c0 Summary: nfs4 mounts with sec=krb5 not mounted during boot Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mephisto@gmx.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 I try to mount home directories through nfs4 using sec=krb5 on a client machine using openSUSE 12.2. During bootup, mounting fails, I can find a "Permission denied by server" message in the logs. After the system finished booting, a manual mount via "mount /home" succeeds (hence, the fstab entry as well as all kerberos stuff is working). My guess would be that during startup some important service (rpc.gssd?) is not yet available when systemd tries to mount the home directory. Reproducible: Always Steps to Reproduce: 1. Prepare your system to mount a nfs4 share with kerberos security enabled. 2. Add a corresponding line to fstab to automate the mounting 3. reboot Actual Results: nfs directory not mounted. Expected Results: nfs directory should be mounted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c1
--- Comment #1 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c2
--- Comment #2 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c5
--- Comment #5 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c6
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c7
--- Comment #7 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c8
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c9
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c10
--- Comment #10 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c11
--- Comment #11 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c12
--- Comment #12 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c13
--- Comment #13 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c14
--- Comment #14 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c15
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c16
--- Comment #16 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c17
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c18
--- Comment #18 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c19
--- Comment #19 from Heiner Markert
From my understanding this would mean that the system does not know about the correct timezone during early boot, as initrd does not contain the required information. This seems to explain the behavior.
Given that /etc/sysconfig/clock does not exist in initrd, do you still need the dmesg debug output of systemd? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c20
--- Comment #20 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c21
--- Comment #21 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c22
--- Comment #22 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c23
--- Comment #23 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c24
--- Comment #24 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c25
Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c26
Suresh Jayaraman
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c27
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c28
--- Comment #28 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c29
--- Comment #29 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c30
--- Comment #30 from Frederic Crozat
(In reply to comment #27)
It should be noted that this should already done in the initrd by the warpclock tool before the root file system is checked and mounted. As the kernel does accept this only once the second time in systemd does not hurt.
Hmm, I tested on a 12.2 system (with localtime set), booting with "shell" to be stopped in the initrd and then I called warpclock manually (making sure /etc/adjtime in initrd was properly set) but the time returned by "date" was incorrect (of 1 hour). Then continuing boot under systemd "fixed" the clock.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c31
--- Comment #31 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c32
--- Comment #32 from Frederic Crozat
Please could you retest as I'd like to see an strace of the warpclock call that is please add strace to the initrd and reboot to do so. The mkinitrd package should have the changelog entry
Correction, I did the test in initrd on both up to date Factory and 12.2 (which have the changelog you mentionned). I'm attaching strace of warpclock, done on up to date 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c33
--- Comment #33 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c34
--- Comment #34 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c35
--- Comment #35 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c36
--- Comment #36 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c37
--- Comment #37 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c38
--- Comment #38 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c39
--- Comment #39 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c41
--- Comment #41 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c42
--- Comment #42 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c
Jiri Kosina
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c43
--- Comment #43 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c44
--- Comment #44 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c45
--- Comment #45 from Heiner Markert
https://bugzilla.novell.com/show_bug.cgi?id=779145
https://bugzilla.novell.com/show_bug.cgi?id=779145#c46
FeiXiang Zhang
participants (1)
-
bugzilla_noreply@novell.com