Re: [gentoo-user] NFS mounting
On Monday 21 October 2024 03:12:23 BST Peter Humphrey wrote: > On Friday 18 October 2024 15:55:19 BST Michael wrote: > > --->8 > > > exportfs -rav > > Ah! I knew about 'exportfs -r' but not the 'av'. When I added that I got > this: > > exportfs: duplicated export entries: > exportfs: > :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano > ngid=250) exportfs: > :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano > ngid=250) exporting :/mnt/nfs/portage.packages > exporting > :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano > ngid=250) exportfs: Failed to stat > 192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anon > gid=250): No such file or directory exporting :/mnt/nfs/portage > exporting :192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0) > exportfs: Failed to stat > 192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0): No such file or > directory > > Of course there's a duplicate export entry; I'm exporting two directories to > the one machine. Well, three actually, counting the top-level one, > /mnt/nfs. But is that duplication the cause of the 'Failed to stat...'? > > Do I need to set some opotions on an rpc service, or something? Assuming all required directories are on the same fs, what happens if you *only* export the parent directory? Something like this: /mnt/nfs \ 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] What does su user flag actually mean?
пн, 21 окт. 2024 г. в 14:38, Michael : > > On Monday 21 October 2024 12:07:47 BST gevisz wrote: > > I skipped updating my profile from 17 to 23 in the beginning of June 2024 > > and are now installing Gentoo anew. I have disabled pam use flag globally > > and now portage complains that for the package linux-utils "the following > > REQUIRED_USE flag constraints are unsatisfied: su? ( pam )" > > > > I have tried and found out that that package will compile if I also disable > > the su user flag. However, I do not understand the consequences. > > The explanation of the su user flag says that with +su user flag > > linux-utis will be compiled into "the su program" > > > > Can somebody explain to me what it means? > > > > Thank you. > > The su command (Substitute User) can be built either by emerging the sys-apps/ > util-linux package with USE="su", or by emerging the sys-apps/shadow package > similarly. The wiki states "Avoid installing both these commands > simultaneously": > > https://wiki.gentoo.org/wiki/Su Thank you for the explanation. I've got it.
Re: [gentoo-user] What does su user flag actually mean?
пн, 21 окт. 2024 г. в 14:33, netfab : > > Le 21/10/24 à 13:07, gevisz a tapoté : > > Can somebody explain to me what it means? > > It seems that the "su" useflag is building the "su" utility, and that > this useflag is enabled by default on gentoo. > > See 1 and 2. > > So I guess that if "su" useflag is disabled, the "su" utility is not > built nor installed. > > > sys-apps/util-linux: Revbump to introduce "logger" and "su" USE flags > > Bug: https://bugs.gentoo.org/700834 > > > sys-apps/util-linux: enable su by default > > shadow 4.10+ is deprecating 'su', so we're switching > > to util-linux's implementation by default. > > 1. > https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=2077815d701422d1f19942a695f7f19eaf49604e > 2. > https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=c550eb53b108fcf6d4e2a38778230bc9a7d078e8 Thank you for your explanation too. However, I didn't get it until Michael explained it in other words.
Re: [gentoo-user] What does su user flag actually mean?
Le 21/10/24 à 13:07, gevisz a tapoté : > Can somebody explain to me what it means? It seems that the "su" useflag is building the "su" utility, and that this useflag is enabled by default on gentoo. See 1 and 2. So I guess that if "su" useflag is disabled, the "su" utility is not built nor installed. > sys-apps/util-linux: Revbump to introduce "logger" and "su" USE flags > Bug: https://bugs.gentoo.org/700834 > sys-apps/util-linux: enable su by default > shadow 4.10+ is deprecating 'su', so we're switching > to util-linux's implementation by default. 1. https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=2077815d701422d1f19942a695f7f19eaf49604e 2. https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=c550eb53b108fcf6d4e2a38778230bc9a7d078e8
[gentoo-user] What does su user flag actually mean?
I skipped updating my profile from 17 to 23 in the beginning of June 2024 and are now installing Gentoo anew. I have disabled pam use flag globally and now portage complains that for the package linux-utils "the following REQUIRED_USE flag constraints are unsatisfied: su? ( pam )" I have tried and found out that that package will compile if I also disable the su user flag. However, I do not understand the consequences. The explanation of the su user flag says that with +su user flag linux-utis will be compiled into "the su program" Can somebody explain to me what it means? Thank you.
Re: [gentoo-user] What does su user flag actually mean?
On Monday 21 October 2024 12:07:47 BST gevisz wrote: > I skipped updating my profile from 17 to 23 in the beginning of June 2024 > and are now installing Gentoo anew. I have disabled pam use flag globally > and now portage complains that for the package linux-utils "the following > REQUIRED_USE flag constraints are unsatisfied: su? ( pam )" > > I have tried and found out that that package will compile if I also disable > the su user flag. However, I do not understand the consequences. > The explanation of the su user flag says that with +su user flag > linux-utis will be compiled into "the su program" > > Can somebody explain to me what it means? > > Thank you. The su command (Substitute User) can be built either by emerging the sys-apps/ util-linux package with USE="su", or by emerging the sys-apps/shadow package similarly. The wiki states "Avoid installing both these commands simultaneously": https://wiki.gentoo.org/wiki/Su signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NFS mounting
On Monday 21 October 2024 09:22:37 BST Michael wrote: > Assuming all required directories are on the same fs, what happens if you > *only* export the parent directory? Something like this: > > /mnt/nfs \ > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,an > ongid=250) Actually, the converse turned out to be right. Removing the top-level /mnt/nfs spec from /etc/exports allowed the whole thing to spring into life. Go figure, as they say in the colonies. ;) -- Regards, Peter.