FS#42635 - [nfs-utils] [feature] Error "Unit gssproxy.service failed to load: No such file or directory."

Attached to Project: Arch Linux
Opened by Martin Schnitkemper (Martin-MS) - Friday, 31 October 2014, 13:14 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 28 February 2015, 22:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: systemd reports "Cannot add dependency job for unit gssproxy.service, ignoring: Unit gssproxy.service failed to load: No such file or directory." and ended in "Dependency failed for Network Manager Wait Online." on boot with enabled nfs-server.service

* package version(s): nfs-utils 1.3.1-1 and systemd 216-3

Steps to reproduce:
After every issue of the command "systemctl start nfs-server.service" I got the message "Cannot add dependency job for unit gssproxy.service, ignoring: Unit gssproxy.service failed to load: No such file or directory." and after "systemctl enable nfs-server.service" I got it on every boot, together with "Dependency failed for Network Manager Wait Online."

Found

| Wants=rpc-gssd.service gssproxy.service rpc-svcgssd.service
| ...
| After= rpc-gssd.service gssproxy.service rpc-svcgssd.service

in /usr/lib/systemd/system/nfs-server.service but no package that contains gssproxy.service.

These are the changes in nfs-server.service between version 1.3.1-1 and 1.3.0-4:

| --- /var/tmp/nfs-server.service 2014-09-09 15:12:31.000000000 +0200
| +++ /tmp/nfs-server.service 2014-10-02 22:21:42.000000000 +0200
| @@ -2,12 +2,13 @@
| Description=NFS server and services
| Requires= network.target proc-fs-nfsd.mount rpcbind.target
| Requires= nfs-mountd.service
| -Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service rpc-svcgssd.service
| +Wants=rpc-statd.service nfs-idmapd.service auth-rpcgss-module.service
| +Wants=rpc-gssd.service gssproxy.service rpc-svcgssd.service
| Wants=rpc-statd-notify.service
|
| After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service
| After= nfs-idmapd.service rpc-statd.service
| -After= rpc-gssd.service rpc-svcgssd.service
| +After= rpc-gssd.service gssproxy.service rpc-svcgssd.service
| Before= rpc-statd-notify.service
|
| Wants=nfs-config.service

But even if I remove the gssproxy.service-references I get still the "Dependency failed for Network Manager Wait Online." error on boot if I enable the service. If I disable the service, the error message does not appear.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 28 February 2015, 22:15 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Saturday, 01 November 2014, 08:54 GMT
@tpowa: have a look at http://fedoraproject.org/wiki/Features/gss-proxy + http://pkgs.fedoraproject.org/cgit/gssproxy.git/tree/

I guess we should add gssproxy pkg to our repos.
Comment by Mantas Mikulėnas (grawity) - Friday, 09 January 2015, 07:33 GMT
I uploaded https://aur.archlinux.org/packages/gssproxy/

Note that gssproxy requires libverto, and krb5 doesn't install the pkg-config file for its bundled verto (only the libraries+headers). So I made a separate libverto package and rebuilt my krb5 --with-system-verto. I guess you could specify VERTO_CFLAGS and VERTO_LIBS manually instead.
Comment by Martin Schnitkemper (Martin-MS) - Sunday, 01 February 2015, 09:46 GMT
The missing gsproxy ist not the real problem (I can remove it from a custom service file), my problem is the highlitghted message "Dependency failed for Network Manager Wait Online." on every boot if the nfs-services starts.
Comment by Tobias Powalowski (tpowa) - Thursday, 05 February 2015, 08:10 GMT
I guess you have Networkmanager installed and not configured?
You can simply ignore this error then.
Comment by Martin Schnitkemper (Martin-MS) - Saturday, 07 February 2015, 22:07 GMT
That is true, I have it installed and it is also configured but disabled the service since I use netctl to establish network connections.
If I disable netctl and enable the NetworkManager then the message disappears. But with the NetworkManager I have always on shutdown the 1m30s delay because the nfs share cannot be unmount since the network is already down; with netctl the unmount of a nfs share works without problems.
Comment by Andreas Radke (AndyRTR) - Wednesday, 25 February 2015, 18:38 GMT
nfs-utils-1.3.2-statd-nowait.patch fixes the "Dependency failed for Network Manager Wait Online."

The initial missing dependency gss-proxy is now in testing repo. Please install this pkg and report if the initial bug is solved. I will add gss-proxy to the nfs-utils deps.
Comment by Martin Schnitkemper (Martin-MS) - Wednesday, 25 February 2015, 21:46 GMT
I installed nfs-utils-1.3.2-4 from testing repo on a VM and still got on boot both

| Feb 25 22:37:59 inet2 systemd[1]: Cannot add dependency job for unit gssproxy.service, ignoring: Unit gssproxy.service failed to load: No such file or directory.

and

| Feb 25 22:37:59 inet2 systemd[1]: Dependency failed for Network Manager Wait Online.
| Feb 25 22:37:59 inet2 systemd[1]: Job NetworkManager-wait-online.service/start failed with result 'dependency'.

Comment by Andreas Radke (AndyRTR) - Thursday, 26 February 2015, 07:29 GMT
nfs-utils 1.3.2-5 pulls in gssproxy. Give it another try.
Comment by Martin Schnitkemper (Martin-MS) - Friday, 27 February 2015, 21:11 GMT
I tried nfs-utils 1.3.2-5 and gssproxy 0.3.1-3: The "gssproxy.service failed to load"-error has been gone, but

| Feb 27 22:04:00 inet2 systemd[1]: Dependency failed for Network Manager Wait Online.
| Feb 27 22:04:00 inet2 systemd[1]: Job NetworkManager-wait-online.service/start failed with result 'dependency'.

still appears on boot and issue a highlighted warning message on the console.
Comment by Andreas Radke (AndyRTR) - Saturday, 28 February 2015, 22:15 GMT
This is something different. Please file a new bug with additional systemd debug output. This one was about gssproxy missing.

Loading...