Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 356106 Details for
Bug 477804
user.eclass: enewuser fails on parallel jobs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
potential fix that preserves an ebuild's default if possible
file_477804.txt (text/plain), 725 bytes, created by
Doug Goldstein (RETIRED)
on 2013-08-15 18:34:32 UTC
(
hide
)
Description:
potential fix that preserves an ebuild's default if possible
Filename:
MIME Type:
Creator:
Doug Goldstein (RETIRED)
Created:
2013-08-15 18:34:32 UTC
Size:
725 bytes
patch
obsolete
>--- user.eclass 22 Jun 2012 19:18:24 -0000 1.22 >+++ user.eclass 15 Aug 2013 18:32:47 -0000 >@@ -140,12 +140,22 @@ > euid="next" > fi > if [[ ${euid} == "next" ]] ; then >- for ((euid = 101; euid <= 999; euid++)); do >- [[ -z $(egetent passwd ${euid}) ]] && break >- done >+ case ${CHOST} in >+ *-linux*) >+ einfo " - Userid: next available" >+ ;; >+ *) >+ for ((euid = 101; euid <= 999; euid++)); do >+ [[ -z $(egetent passwd ${euid}) ]] && break >+ done >+ opts+=( -u ${euid} ) >+ einfo " - Userid: ${euid}" >+ ;; >+ esac >+ else >+ opts+=( -u ${euid} ) >+ einfo " - Userid: ${euid}" > fi >- opts+=( -u ${euid} ) >- einfo " - Userid: ${euid}" > > # handle shell > local eshell=$1; shift
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 477804
:
353992
|
356106
|
357554
|
365648