Summary: | eutils.eclass: make enewuser/enewgroup use --system for system accounts with newer shadow package versions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wolfram Schlich (RETIRED) <wschlich> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | anigel, evert.gentoo, ljubo108, luke-jr+gentoobugs, mbartoszkiewicz, polynomial-c, prote |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wolfram Schlich (RETIRED)
![]() That would be a quite handy enhancement IMHO. any news on this one? :) There's a patch in bug #262559 which allows enewgroup to use SYS_GID_MIN/MAX. Unfortunately, this patch is lost after every sync so to implement this patch, one could write a simple script including the following commands until the patch is in portage: emerge --sync patch --forward -d /usr/portage/eclass < /path/to/eutils.patch I use it all the time! (In reply to comment #3) > There's a patch in bug #262559 which allows enewgroup to use SYS_GID_MIN/MAX. > > Unfortunately, this patch is lost after every sync so to implement this patch, > one could write a simple script including the following commands until the > patch is in portage: > > emerge --sync > patch --forward -d /usr/portage/eclass < /path/to/eutils.patch > > I use it all the time! > Bad idea. That's not how you use a modified eclass. Instead you copy it to overlay, edit it, and set FEATURES="metadata-transfer" for it to be in effect. I applied the patch in portage overlay, now I know how you use a modified eclass, thanx! Now I have another problem, because I see eutils.eclass has been changed (the function epatch_user has been added) so I had to patch this one in overlay again. Now my question, is there any news on this bug? I'm asking because otherwise I find myself monitoring changes in eutils.eclass and re-applying the patch in overlay everytime eutils.eclass has been changed... This is fixed in the tree. *** Bug 279608 has been marked as a duplicate of this bug. *** |