FS#34434 - [util-linux] No support for remote users in chsh/chfn in 2.22

Attached to Project: Arch Linux
Opened by Cody Maloney (maloney) - Saturday, 23 March 2013, 21:21 GMT
Last edited by Toolybird (Toolybird) - Sunday, 25 June 2023, 21:28 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

util-linux doesn't have support in 2.22 for remote users (LDAP, etc.) which is a feature loss when the move from shadow-utils to util-linux for these utilities occured. I wrote patches which were accepted and included in 2.23 support this. Please enable this support (Add libuser as a dependency and it should "just work", --with-libuser in configure if you want to force it).

This means libuser needs to move to core though, which probably means it needs to either have the python API disabled or move to a split package (libuser, python2-libuser?).

Additional info:
* util-linux 2.23-rc1
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 25 June 2023, 21:28 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments
Comment by Tom Gundersen (tomegun) - Tuesday, 16 April 2013, 19:57 GMT
Thanks for the detailed request.

Dave, you had opinions about this I believe?
Comment by Dave Reisner (falconindy) - Tuesday, 16 April 2013, 20:01 GMT
My opinion is that we shouldn't be adding this because of the extra deps it drags into core and the limited usefulness of this to the general userbase.
Comment by Tom Gundersen (tomegun) - Tuesday, 16 April 2013, 20:08 GMT
@maloney: did you check the dependencies? What is the least amount of stuff we'd need to move to [core]?
Comment by Cody Maloney (maloney) - Tuesday, 16 April 2013, 20:13 GMT
So long as you split out the python2 interface to libuser, there is only one package added package to core (libuser). Otherwise there is libuser and python2.

I admit the relatively limited usefulness if you don't have non-local accounts, but I have no good stats, just the notes that openldap is in core, ldap auth modules are in extra, and pam krb5 modules have 4 votes in AUR. I also know for the network I'm on no one uses chsh/chfn most of the time so it took quite a while to notice that the functionality was lost (3 months between the arch switch in June and the bug report in September).
Comment by Cody Maloney (maloney) - Tuesday, 16 April 2013, 20:19 GMT
Note python2 has other deps that would also come in (And I vaguely remember a discussion of those in relation to vim at some point in the past)
Comment by Tom Gundersen (tomegun) - Tuesday, 16 April 2013, 20:22 GMT
So I think in principle we would like to support this. It is not an often used feature, but it is handy the few times you actually need it (I have used it a handful times (obviously before it broke, as I didn't even notice)).

That said, adding python2 to core is not an option. However, I think it would be acceptable to have it as an optdepend (which means it can stay in extra and libuser stay in core).

Do you see any problem with that Dave? If not, I'll take it to the ML.
Comment by Dave Reisner (falconindy) - Tuesday, 16 April 2013, 20:33 GMT
> However, I think it would be acceptable to have it as an optdepend (which means it can stay in extra and libuser stay in core).
I'm not clear on how you see this working out... we can't split between repos. As I see it, the options are:

1) duplicate the build -- shared lib goes to core, python stuff goes to extra under the name python2-libuser or such.
2) put libuser in extra regardless, make it an optdepend (breaking chsh/chfn)
3) don't package the python crap.

> I also know for the network I'm on no one uses chsh/chfn most of the time so it took quite a while to notice that the functionality was lost (3 months between the arch switch in June and the bug report in September).
Yeah... this is a rousing endorsement for inclusion...
Comment by Tom Gundersen (tomegun) - Tuesday, 16 April 2013, 20:40 GMT
What I had in mind is:

move libuser to [core], but make python2 an optdepend.

> > I also know for the network I'm on no one uses chsh/chfn most of the time so it took quite a while to notice that the functionality was lost (3 months between the arch switch in June and the bug report in September).
> Yeah... this is a rousing endorsement for inclusion...

Well, you usually only do this once (when you first use a network), so it is not so strange.
Comment by Pablo Lezaeta (Jristz) - Wednesday, 23 April 2014, 19:39 GMT
>we can't split between repos
but you (Arch) already did it, freetype2 was maked an optdep (and makedep) for grup and recide in other repo (freetype2 in extra and grub in core) so is what Arch do and is supported and used on critical package.
So I think is ok do it.
Comment by Doug Newgard (Scimmia) - Saturday, 31 May 2014, 02:35 GMT
Jristz, he means that you cannot have a split PKGBUILD with one package in Core and another in Extra/Community. tomegun's suggestion doesn't do this, so it's not an issue.
Comment by Doug Newgard (Scimmia) - Monday, 06 July 2015, 13:58 GMT
So Dave, with Tom gone, I guess the ball's in your court on this one.
Comment by Toolybird (Toolybird) - Friday, 26 May 2023, 06:47 GMT
So this looks positively ancient. libuser was dropped to the AUR in 2018. Therefore I cannot see this *ever* being implemented. Unless someone comes up with a good reason to keep this open, it will soon be closed as "won't implement".

Loading...