* [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup
@ 2015-03-26 12:23 bugzilla at busybox.net
2015-03-26 12:35 ` [Buildroot] [Bug 7976] " bugzilla at busybox.net
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 12:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Summary: mkuser script fails with: user already exists with
group nogroup
Product: buildroot
Version: 2015.02
Platform: PC
OS/Version: Windows
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: tommygunsster at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
The file:
buildroot-2015.02/support/scripts/mkusers
Lines: 170-173:
# check the user does not already exist in another group
if [ -n "${_ugroup}" -a "${_ugroup}" != "${group}" ]; then
fail "user already exists with group '${_ugroup}'\n"
fi
Issue causes a total failure to build if the user exists with the group
already. This shouldn't happen as it actually has less work to do right?
My work around was to comment the fail line and all seems to have continued to
work properly.
I don't know what impacts this has but as it's not failing to a real "problem"
and the mkusers script is new from what I can find, I doubt there will be any
major issues.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
@ 2015-03-26 12:35 ` bugzilla at busybox.net
2015-03-26 14:28 ` bugzilla at busybox.net
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 12:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Tom Elliott <tommygunsster@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FIXME
CC| |tommygunsster at gmail.com
OS/Version|Windows |Linux
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
2015-03-26 12:35 ` [Buildroot] [Bug 7976] " bugzilla at busybox.net
@ 2015-03-26 14:28 ` bugzilla at busybox.net
2015-03-26 16:30 ` bugzilla at busybox.net
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 14:28 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
2015-03-26 12:35 ` [Buildroot] [Bug 7976] " bugzilla at busybox.net
2015-03-26 14:28 ` bugzilla at busybox.net
@ 2015-03-26 16:30 ` bugzilla at busybox.net
2015-03-26 17:23 ` bugzilla at busybox.net
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 16:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-03-26 16:30:27 UTC ---
Created attachment 5956
--> https://bugs.busybox.net/attachment.cgi?id=5956
Enhance error messages
Hello!
The only package we have that wants to add a user with group 'nogroup' is
the mysql package, and it builds just fine here.
Do you have a custom users table? Do you have a local package that wants
to add another user with group 'nogroup'?
In any case, care to apply the attached patch and report on the new error
message, please? (note: this patch only expands the error message, and
does not attempt to provide a fix, since I can't reproduce).
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (2 preceding siblings ...)
2015-03-26 16:30 ` bugzilla at busybox.net
@ 2015-03-26 17:23 ` bugzilla at busybox.net
2015-03-26 17:37 ` bugzilla at busybox.net
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 17:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #2 from Tom Elliott <tommygunsster@gmail.com> 2015-03-26 17:23:20 UTC ---
I'm not seeing anything that has the nogroup that I'm installing. I am not
installing the mysql package though.
I do have some customization's to add some of the packages we need for the
initrd file.
Weirdly enough, i've uncommented the thing and deleted the rootfs.ext file(s)
and i'm no longer able to replicate this either.
I'll do a make clean and have it run though the entire build process and upload
the log I'm generating for this. Hopefully we'll see the problem again.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (3 preceding siblings ...)
2015-03-26 17:23 ` bugzilla at busybox.net
@ 2015-03-26 17:37 ` bugzilla at busybox.net
2015-03-26 20:34 ` bugzilla at busybox.net
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 17:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-03-26 17:37:24 UTC ---
Hello,
Do not forget to apply the patch I attached, so that you can see
more details about the failure if it happens again; this will be
extra useful to help debug the issue.
Thanks!
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (4 preceding siblings ...)
2015-03-26 17:37 ` bugzilla at busybox.net
@ 2015-03-26 20:34 ` bugzilla at busybox.net
2015-03-26 20:36 ` bugzilla at busybox.net
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 20:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Tom Elliott <tommygunsster@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5956|0 |1
is obsolete| |
--- Comment #4 from Tom Elliott <tommygunsster@gmail.com> 2015-03-26 20:34:07 UTC ---
Created attachment 5961
--> https://bugs.busybox.net/attachment.cgi?id=5961
mkusers patch corrected
found a typo in the patch you sent me. Reuploaded just to help out.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (5 preceding siblings ...)
2015-03-26 20:34 ` bugzilla at busybox.net
@ 2015-03-26 20:36 ` bugzilla at busybox.net
2015-03-26 21:11 ` bugzilla at busybox.net
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 20:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #5 from Tom Elliott <tommygunsster@gmail.com> 2015-03-26 20:36:15 UTC ---
Created attachment 5966
--> https://bugs.busybox.net/attachment.cgi?id=5966
Patched Build Log Info.
As requested, the information of this log shows the error. It looks like it's
coming from sshd
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (6 preceding siblings ...)
2015-03-26 20:36 ` bugzilla at busybox.net
@ 2015-03-26 21:11 ` bugzilla at busybox.net
2015-03-29 15:37 ` bugzilla at busybox.net
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-26 21:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Tom Elliott <tommygunsster@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5961|0 |1
is obsolete| |
--- Comment #6 from Tom Elliott <tommygunsster@gmail.com> 2015-03-26 21:11:34 UTC ---
Created attachment 5971
--> https://bugs.busybox.net/attachment.cgi?id=5971
mkusers patch corrected 2
Found another issue in the patch and just corrected again.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (7 preceding siblings ...)
2015-03-26 21:11 ` bugzilla at busybox.net
@ 2015-03-29 15:37 ` bugzilla at busybox.net
2015-03-29 17:18 ` bugzilla at busybox.net
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 15:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #7 from Tom Elliott <tommygunsster@gmail.com> 2015-03-29 15:37:47 UTC ---
So while the patch is great to lead us to find the cause of the problem (in our
case it looks like it's the openssh package I have building with it) is there
anything I should look into further to help troubleshoot why this, seemingly,
small issue is occurring and the first place?
Is there also anything wrong with commenting the fail part of this so the
rootfs file can actually be built?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (8 preceding siblings ...)
2015-03-29 15:37 ` bugzilla at busybox.net
@ 2015-03-29 17:18 ` bugzilla at busybox.net
2015-03-29 17:19 ` bugzilla at busybox.net
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 17:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #8 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-03-29 17:18:57 UTC ---
Tom,
Could you attach your .config pleae, so I can try to reproduce here?
And yes, this check is here on purpose: we do not want two packages
to try to install the same user with different groups. For example,
the following is clearly wrong:
define FOO_USERS
foo_u - foo_g - * - - -
endef
define BAR_USERS
foo_u - bar_g - * - - -
endef
because the user 'foo_u' can have only one main group. And we want to
catch this.
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (9 preceding siblings ...)
2015-03-29 17:18 ` bugzilla at busybox.net
@ 2015-03-29 17:19 ` bugzilla at busybox.net
2015-03-29 17:24 ` bugzilla at busybox.net
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 17:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (10 preceding siblings ...)
2015-03-29 17:19 ` bugzilla at busybox.net
@ 2015-03-29 17:24 ` bugzilla at busybox.net
2015-03-29 18:04 ` bugzilla at busybox.net
2015-03-29 18:09 ` bugzilla at busybox.net
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 17:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #9 from Tom Elliott <tommygunsster@gmail.com> 2015-03-29 17:24:55 UTC ---
There's a few things have to be taken into consideration for this to work.
First, you need the structure laid out for the customizations we have.
Here's a breakdown of what I need to do.
I build on debian 7.8 x86_64 for now:
Download the structure we need from:
http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/src/buildroot/
Copy the files inside to your buildroot's extracted folder.
Copy the fog.buildroot.config.64 to .config
Then try building.
This is the simplest I can tell you for right now. Hopefully it's helpful
enough and if you need help I'm right here.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (11 preceding siblings ...)
2015-03-29 17:24 ` bugzilla at busybox.net
@ 2015-03-29 18:04 ` bugzilla at busybox.net
2015-03-29 18:09 ` bugzilla at busybox.net
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 18:04 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
--- Comment #10 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-03-29 18:04:16 UTC ---
Tom,
OK, I fond your issue.
In your Buildroot tree, you already have an sshd user in your passwd
file, see:
http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/src/buildroot/system/skeleton/etc/passwd
And this sshd user is part of group 99, which is 'nobody'.
This is breakage on your side.
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [Bug 7976] mkuser script fails with: user already exists with group nogroup
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
` (12 preceding siblings ...)
2015-03-29 18:04 ` bugzilla at busybox.net
@ 2015-03-29 18:09 ` bugzilla at busybox.net
13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-03-29 18:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7976
--- Comment #11 from Tom Elliott <tommygunsster@gmail.com> 2015-03-29 18:09:21 UTC ---
I'm very sorry to have wasted your time then. I should've known to look there.
Thank you very much for the assistance at any rate.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2015-03-29 18:09 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 12:23 [Buildroot] [Bug 7976] New: mkuser script fails with: user already exists with group nogroup bugzilla at busybox.net
2015-03-26 12:35 ` [Buildroot] [Bug 7976] " bugzilla at busybox.net
2015-03-26 14:28 ` bugzilla at busybox.net
2015-03-26 16:30 ` bugzilla at busybox.net
2015-03-26 17:23 ` bugzilla at busybox.net
2015-03-26 17:37 ` bugzilla at busybox.net
2015-03-26 20:34 ` bugzilla at busybox.net
2015-03-26 20:36 ` bugzilla at busybox.net
2015-03-26 21:11 ` bugzilla at busybox.net
2015-03-29 15:37 ` bugzilla at busybox.net
2015-03-29 17:18 ` bugzilla at busybox.net
2015-03-29 17:19 ` bugzilla at busybox.net
2015-03-29 17:24 ` bugzilla at busybox.net
2015-03-29 18:04 ` bugzilla at busybox.net
2015-03-29 18:09 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.