* [Buildroot] [Bug 5366] New: can't login (root or default)
@ 2012-07-19 7:50 bugzilla at busybox.net
2012-07-19 7:57 ` [Buildroot] [Bug 5366] " bugzilla at busybox.net
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-19 7:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
Summary: can't login (root or default)
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: anton at fit.com.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 4424
--> https://bugs.busybox.net/attachment.cgi?id=4424
config file for the buildroot
After building the rootfs it seems that i can't login.
For instance, after the login prompt i type 'root', then it asks for the
password (from what i understand it should have skipped that and show the shell
prompt).
"
Welcome to Buildroot
buildroot login: root
Password:
Login incorrect
buildroot login: default
Password:
Login incorrect
buildroot login:
"
The corresponding config file is included in the attachment.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
@ 2012-07-19 7:57 ` bugzilla at busybox.net
2012-07-19 13:53 ` bugzilla at busybox.net
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-19 7:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-07-19 07:57:07 UTC ---
Can you try disabling BR2_PACKAGE_UTIL_LINUX_AGETTY=y and doing a full rebuild
(make clean; make) ?
We generally only use the getty program from Busybox, so if you use the getty
program from util-linux, there may be a need to adapt certain configuration
files.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
2012-07-19 7:57 ` [Buildroot] [Bug 5366] " bugzilla at busybox.net
@ 2012-07-19 13:53 ` bugzilla at busybox.net
2012-07-20 8:20 ` bugzilla at busybox.net
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-19 13:53 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #2 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-19 13:53:15 UTC ---
(In reply to comment #1)
> Can you try disabling BR2_PACKAGE_UTIL_LINUX_AGETTY=y and doing a full rebuild
> (make clean; make) ?
Yup,...
It did not help.
I have a feeling it has to do with the WCHAR (the last time i had such a
problem disabling it and everything that depended on it solved the problem).
>
> We generally only use the getty program from Busybox, so if you use the getty
> program from util-linux, there may be a need to adapt certain configuration
> files.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
2012-07-19 7:57 ` [Buildroot] [Bug 5366] " bugzilla at busybox.net
2012-07-19 13:53 ` bugzilla at busybox.net
@ 2012-07-20 8:20 ` bugzilla at busybox.net
2012-07-20 11:25 ` bugzilla at busybox.net
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-20 8:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-07-20 08:20:59 UTC ---
Can you repost your new .config and confirm that you did a complete "make
clean; make" ?
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (2 preceding siblings ...)
2012-07-20 8:20 ` bugzilla at busybox.net
@ 2012-07-20 11:25 ` bugzilla at busybox.net
2012-07-20 11:27 ` bugzilla at busybox.net
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-20 11:25 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #4 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-20 11:25:54 UTC ---
Created attachment 4436
--> https://bugs.busybox.net/attachment.cgi?id=4436
config file that has the AGETTY turned off
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (3 preceding siblings ...)
2012-07-20 11:25 ` bugzilla at busybox.net
@ 2012-07-20 11:27 ` bugzilla at busybox.net
2012-07-20 12:26 ` bugzilla at busybox.net
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-20 11:27 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #5 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-20 11:26:59 UTC ---
(In reply to comment #3)
> Can you repost your new .config and confirm that you did a complete "make
> clean; make" ?
sure can.
It's more like:
make clean
make uclibc-menuconfig (to switch on the c99 floating-point support)
make
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (4 preceding siblings ...)
2012-07-20 11:27 ` bugzilla at busybox.net
@ 2012-07-20 12:26 ` bugzilla at busybox.net
2012-07-20 12:50 ` bugzilla at busybox.net
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-20 12:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-07-20 12:26:50 UTC ---
Can you ask Buildroot to generate a tarball from your root filesystem, and put
it online somewhere (if it doesn't contain anything confidential or
proprietary)?
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (5 preceding siblings ...)
2012-07-20 12:26 ` bugzilla at busybox.net
@ 2012-07-20 12:50 ` bugzilla at busybox.net
2012-07-26 4:55 ` bugzilla at busybox.net
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-20 12:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #7 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-20 12:50:08 UTC ---
(In reply to comment #6)
> Can you ask Buildroot to generate a tarball from your root filesystem, and put
> it online somewhere (if it doesn't contain anything confidential or
> proprietary)?
Ye, i can:
http://narod.ru/disk/57181292001.18e379e53510d51e84a28efe2e5ef7bc/rootfs.tar.gz.html
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (6 preceding siblings ...)
2012-07-20 12:50 ` bugzilla at busybox.net
@ 2012-07-26 4:55 ` bugzilla at busybox.net
2012-07-26 6:50 ` bugzilla at busybox.net
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-26 4:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #8 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-26 04:55:42 UTC ---
(In reply to comment #6)
> Can you ask Buildroot to generate a tarball from your root filesystem, and put
> it online somewhere (if it doesn't contain anything confidential or
> proprietary)?
I think i figures out the cause of the problem.
What should the '/bin/login' be? In the versions that work it points to
'busybox'. In the version that does not work (this version) it's a standard
executable.
Could this be the reason that i can't login?
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (7 preceding siblings ...)
2012-07-26 4:55 ` bugzilla at busybox.net
@ 2012-07-26 6:50 ` bugzilla at busybox.net
2012-07-26 7:41 ` bugzilla at busybox.net
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-26 6:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-07-26 06:50:42 UTC ---
(In reply to comment #8)
> I think i figures out the cause of the problem.
> What should the '/bin/login' be? In the versions that work it points to
> 'busybox'. In the version that does not work (this version) it's a standard
> executable.
>
> Could this be the reason that i can't login?
Ah, yes, good point! /bin/login can be provided by util-linux. I thought about
getty (which I told you already), but I forgot about /bin/login. Can you try
disabling BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS to see if it works better?
It would be nice to figure out why the /bin/login from util-linux doesn't work.
My initial suspicion would be that it lacks the SUID-root bit set, but on my
system /bin/login doesn't have this bit set. Or maybe the util-linux /bin/login
requires some configuration file that we don't have or something.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (8 preceding siblings ...)
2012-07-26 6:50 ` bugzilla at busybox.net
@ 2012-07-26 7:41 ` bugzilla at busybox.net
2012-07-26 19:07 ` bugzilla at busybox.net
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-26 7:41 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #10 from Jonathan Liu <net147@gmail.com> 2012-07-26 07:41:23 UTC ---
Have you tried changing root:x: to root:: in /etc/passwd?
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (9 preceding siblings ...)
2012-07-26 7:41 ` bugzilla at busybox.net
@ 2012-07-26 19:07 ` bugzilla at busybox.net
2012-07-26 19:09 ` bugzilla at busybox.net
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-26 19:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #11 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-26 19:06:59 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
>
> > I think i figures out the cause of the problem.
> > What should the '/bin/login' be? In the versions that work it points to
> > 'busybox'. In the version that does not work (this version) it's a standard
> > executable.
> >
> > Could this be the reason that i can't login?
>
> Ah, yes, good point! /bin/login can be provided by util-linux. I thought about
> getty (which I told you already), but I forgot about /bin/login. Can you try
> disabling BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS to see if it works better?
>
Yup, if i disable BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS it works (i can login).
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] can't login (root or default)
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (10 preceding siblings ...)
2012-07-26 19:07 ` bugzilla at busybox.net
@ 2012-07-26 19:09 ` bugzilla at busybox.net
2012-08-21 12:03 ` [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty bugzilla at busybox.net
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-07-26 19:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
--- Comment #12 from Shokurov Anton V. <anton@fit.com.ru> 2012-07-26 19:09:16 UTC ---
(In reply to comment #10)
> It would be nice to figure out why the /bin/login from util-linux doesn't work.
> My initial suspicion would be that it lacks the SUID-root bit set, but on my
> system /bin/login doesn't have this bit set. Or maybe the util-linux /bin/login
> requires some configuration file that we don't have or something.
> Have you tried changing root:x: to root:: in /etc/passwd?
Yes, i have. This does make it work (i can login), but since this is a 'hack'
(i don't know why this makes it work) i refrained from using this in our
system.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (11 preceding siblings ...)
2012-07-26 19:09 ` bugzilla at busybox.net
@ 2012-08-21 12:03 ` bugzilla at busybox.net
2013-12-11 17:15 ` bugzilla at busybox.net
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2012-08-21 12:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|can't login (root or |Login doesn't work with
|default) |util-linux versions of
| |login/agetty
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (12 preceding siblings ...)
2012-08-21 12:03 ` [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty bugzilla at busybox.net
@ 2013-12-11 17:15 ` bugzilla at busybox.net
2018-05-01 13:17 ` bugzilla at busybox.net
2018-05-02 1:12 ` bugzilla at busybox.net
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2013-12-11 17:15 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
|.org |
--- Comment #13 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-12-11 17:15:55 UTC ---
This should be fixed by commits 72b3c1db513a6235fd5e5f00fb6c15071ffc6015,
33e3245e047858cd89223cf5b4afbf4cb32318b0 and
1a0b170a55126115d883f6cde9871e06a80f9cc2 (maybe i'm missing some other) for the
2014.02 release.
If you're still seeing issues with this feel free to reopen this bug with the
details (and using a latest git version). Thanks.
--
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] 17+ messages in thread
* [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (13 preceding siblings ...)
2013-12-11 17:15 ` bugzilla at busybox.net
@ 2018-05-01 13:17 ` bugzilla at busybox.net
2018-05-02 1:12 ` bugzilla at busybox.net
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2018-05-01 13:17 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
Dhananjay Patil <dhananjay.patil@lnttechservices.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
Version|unspecified |2017.11
CC| |dhananjay.patil at lnttechserv
| |ices.com
--- Comment #14 from Dhananjay Patil <dhananjay.patil@lnttechservices.com> ---
I am facing same problem for buildroot 2017.11
Both options BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS and
BR2_PACKAGE_UTIL_LINUX_AGETTY are disabled.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
` (14 preceding siblings ...)
2018-05-01 13:17 ` bugzilla at busybox.net
@ 2018-05-02 1:12 ` bugzilla at busybox.net
15 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2018-05-02 1:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5366
Carlos Santos <casantos@datacom.ind.br> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #15 from Carlos Santos <casantos@datacom.ind.br> ---
(In reply to Dhananjay Patil from comment #14)
Please do not reopen an old case just because you see a similar problem six
years later. Both Buildroot and util-linux changed a lot since 2012. Open a new
bug and attach your defconfig, as well as other information that can be useful
to reproduce your problem, instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2018-05-02 1:12 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 7:50 [Buildroot] [Bug 5366] New: can't login (root or default) bugzilla at busybox.net
2012-07-19 7:57 ` [Buildroot] [Bug 5366] " bugzilla at busybox.net
2012-07-19 13:53 ` bugzilla at busybox.net
2012-07-20 8:20 ` bugzilla at busybox.net
2012-07-20 11:25 ` bugzilla at busybox.net
2012-07-20 11:27 ` bugzilla at busybox.net
2012-07-20 12:26 ` bugzilla at busybox.net
2012-07-20 12:50 ` bugzilla at busybox.net
2012-07-26 4:55 ` bugzilla at busybox.net
2012-07-26 6:50 ` bugzilla at busybox.net
2012-07-26 7:41 ` bugzilla at busybox.net
2012-07-26 19:07 ` bugzilla at busybox.net
2012-07-26 19:09 ` bugzilla at busybox.net
2012-08-21 12:03 ` [Buildroot] [Bug 5366] Login doesn't work with util-linux versions of login/agetty bugzilla at busybox.net
2013-12-11 17:15 ` bugzilla at busybox.net
2018-05-01 13:17 ` bugzilla at busybox.net
2018-05-02 1:12 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox