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
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
|
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
I guess we should add gssproxy pkg to our repos.
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.
You can simply ignore this error then.
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.
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.
| 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'.
| 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.