View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Sun Jan 19, 2025 9:37 pm Post subject: NFS server/client install fails here... |
|
|
Installed as Code: | emerge -pv net-fs/nfs-utils
These are the packages that would be merged, in reverse order:
Calculating dependencies....... done!
Dependency resolution took 14.65 s (backtrack: 0/20).
[ebuild R ] net-fs/nfs-utils-2.7.1::gentoo USE="-caps -junction -kerberos -ldap libmount -nfsv3 nfsv4 -sasl (-selinux) -tcpd uuid" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB | Throws Code: | modprobe nfsd
rc-service nfs start
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rpc.statd start
* Starting NFS statd ...
* Detaching to start `/sbin/rpc.statd' ...
* start-stop-daemon: failed to start `/sbin/rpc.statd' [ !! ]
* ERROR: rpc.statd failed to start
* ERROR: cannot start nfs as rpc.statd would not start |
Install follows wiki but nfs4 only and module.
I must be missing something... _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Tue Jan 21, 2025 6:27 pm; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Sun Jan 19, 2025 10:26 pm Post subject: |
|
|
Is
Code: |
/etc/init.d/rpcbind
|
running? _________________
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Sun Jan 19, 2025 11:22 pm Post subject: |
|
|
@alamahant,
Thks 4 ur support.
To my understanding [nfsv4] has strong implication because CONFIG_RPCSEC_GSS_KRB5 gets forced.
Since I want an off the shelf easy and quick solution for home network, I currently switched to nfsv3. Code: | emerge -pv net-fs/nfs-utils
These are the packages that would be merged, in reverse order:
Calculating dependencies.... done!
Dependency resolution took 14.68 s (backtrack: 0/20).
[ebuild R ] net-fs/nfs-utils-2.7.1::gentoo USE="-caps -junction -kerberos -ldap libmount nfsv3 -nfsv4 -sasl (-selinux) -tcpd uuid" 0 KiB |
Code: | rc-service nfs start
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nfs start
* Exporting NFS directories ... [ ok ]
* Starting NFS mountd ...
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6 [ ok ]
* Starting NFS daemon ... [ ok ]
* Starting NFS smnotify ... [ ok ] | Would be nice to get rid of these Code: | pc.mountd: svc_tli_create: could not open connection for [tp/ud]p6 |
Could be I later come back to [nfsv4] aiming to figure out how to have it working in a minimalist approach.
Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Tue Jan 21, 2025 12:56 am Post subject: |
|
|
Quote: |
CONFIG_RPCSEC_GSS_KRB5 gets forced.
|
I think only if you use sec=krb5(pi) in /etc/exports.
Then you will need also to invoke
rpc.gssd
and
rpc.svcgssd
by adding them in /etc/conf.d/nfs(client).
I am not certain but i think nfs4 uses rpc.idmapd by default. _________________
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Tue Jan 21, 2025 7:00 pm Post subject: |
|
|
Setting the client side; Code: | emerge -p -v net-fs/nfs-utils
* IMPORTANT: 82 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in reverse order:
Calculating dependencies ..... done!
Dependency resolution took 31.15 s (backtrack: 0/20).
[ebuild R ] net-fs/nfs-utils-2.7.1::gentoo USE="-caps -junction -kerberos -ldap libmount nfsv3 -nfsv4 -sasl (-selinux) -tcpd uuid" 0 Ki |
Code: | grep NFS /boot/config-5.15.175-gentoo-dist
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_KERNFS=y
CONFIG_NFS_FS=m
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=m
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=m
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=m
CONFIG_PNFS_BLOCK=m
CONFIG_PNFS_FLEXFILE_LAYOUT=m
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
CONFIG_NFS_FSCACHE=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFS_DEBUG=y
CONFIG_NFS_DISABLE_UDP_SUPPORT=y
# CONFIG_NFS_V4_2_READ_PLUS is not set
CONFIG_NFSD=m
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
CONFIG_NFSD_V4_SECURITY_LABEL=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_NFS_V4_2_SSC_HELPER=y
|
Code: | lsmod|grep nfs
nfs 372736 0
lockd 122880 1 nfs
sunrpc 520192 2 lockd,nfs
fscache 393216 1 nfs |
Starting the service throws: Code: | rc-service nfsclient start
* Caching service dependencies ...
Service 'nfsclient' needs non existent service 'rpc.idmapd' [ ok ]
* ERROR: nfsclient needs service(s) rpc.idmapd |
Side note: Oh boy, I hardly recall having such a hard time with a gentoo wiki.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Tue Jan 21, 2025 7:47 pm Post subject: |
|
|
Learning the hard way: Code: | emerge -p -v net-fs/nfs-utils
* IMPORTANT: 74 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in reverse order:
Calculating dependencies .!!! /etc/portage/package.env references non-existent file: /etc/portage/env/slibtool-max-error
!!! /etc/portage/package.env references non-existent file: /etc/portage/env/slibtool-max-error
. ...... done!
Dependency resolution took 19.26 s (backtrack: 0/20).
[ebuild R ] net-fs/nfs-utils-2.7.1::gentoo USE="-caps -junction -kerberos -ldap libmount nfsv3 nfsv4 -sasl (-selinux) -tcpd uuid" 0 KiB | Now starts as:
Code: | rc-service nfsclient start
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rpcbind start
* Starting rpcbind ...
* Detaching to start `/sbin/rpcbind' ... [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rpc.statd start
* Starting NFS statd ...
* Detaching to start `/sbin/rpc.statd' ... [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rpc.pipefs start
* Setting up RPC pipefs ... [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rpc.idmapd start
* Starting idmapd ... [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nfsclient start
* Starting NFS sm-notify ... |
Thks 4 ur attention, interest and support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Tue Jan 21, 2025 8:16 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9331
|
Posted: Tue Jan 21, 2025 8:09 pm Post subject: |
|
|
Code: | * IMPORTANT: 82 config files in '/etc/portage' need updating. |
Code: | * IMPORTANT: 74 config files in '/etc/portage' need updating. |
I have no words ... |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Tue Jan 21, 2025 8:55 pm Post subject: |
|
|
asturm wrote: | I have no words ... | You have at least FOUR words and A.E.I.O.U. is no more than the ordered list of the FIVE vowels of the alphabet.
It would be much appreciated here if you keep out of the way with what I can't refrain to consider as a trolling like posture since you have no evidences your point is any relevant
to the OP.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1845 Location: Germany
|
Posted: Wed Jan 22, 2025 12:36 pm Post subject: |
|
|
CaptainBlood wrote: | asturm wrote: | I have no words ... | You have at least FOUR words and A.E.I.O.U. is no more than the ordered list of the FIVE vowels of the alphabet.
It would be much appreciated here if you keep out of the way with what I can't refrain to consider as a trolling like posture since you have no evidences your point is any relevant
to the OP.
Thks 4 ur attention, interest & support. |
Could it have been phrased better by asturm, yes.
Are you a total beginner who does need a complete explenation every time, no.
So please, do not start a heated conversion over something rather silly and please stay on topic. And maybe those config updates could lead to a solution of your journey? _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23030
|
Posted: Wed Jan 22, 2025 12:44 pm Post subject: |
|
|
Although there is no specific evidence that the pending updates are relevant, it is standard practice to expect users to address known warnings and errors before trying to debug new problems. OP has shown that there are an unusually large number of pending configuration updates[1] and an erroneous package.env entry.
OP: please get Portage to a state where it is not actively warning about known issues, then try to reproduce your original problem. If you need help resolving these warnings, please ask.
[1]: I think the highest I've ever seen for /etc/portage was less than 10. I've only seen in the many tens when ca-certificates triggers a bulk update in /etc/ssl/certs. |
|
Back to top |
|
|
|