| Summary: | At startup system stops with 'cannot set terminal process group (-1): Inappropriate ioctl for device' error | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Ralph Birt <rdbirt> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2015.11 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | buildroot 2016.02-rc2 config file | ||
|
Description
Ralph Birt
2016-03-03 22:09:59 UTC
Is this with our wandboard_defconfig or some kind of customization? Created attachment 6381 [details]
buildroot 2016.02-rc2 config file
It's a custom config file. Attached here. Your boot log shows that the kernel starts /bin/bash directly, but your configuration shows that you're using systemd as the init system. So things aren't matching really well here. Are you booting with init=/bin/sh perhaps? If that's the case, then I believe it's expected for bash (the shell chosen as the default one in your configuration) to complain this way, because its standard input/output is /dev/console. See https://lists.gnu.org/archive/html/bug-bash/2013-10/msg00097.html for example. So, I believe this is not a bug in Buildroot, it is just a misconfiguration of the system on your side. Peter, what do you think? It seems that /sbin has been removed from 2015.11 and is, instead, made a link to /usr/sbin. So /sbin/init is now /usr/sbin/init. I have an /sbin directory in my overlay skeleton directory structure so the link to /usr/bin disappears and /sbin now contains just the few files I have there, and those few files don't include /sbin/init. The solution is for me to change my overlay directory structure so the files I used to put into /sbin will now go into /usr/sbin. Thanks for looking at this with me. Regards, Ralph Yes, since 2015.11, we have an option to merge /usr and /. From Buildroot's CHANGES file:
- Add support for /bin, /sbin and /lib to be symlinks to their
corresponding directories in /usr. This is enforced for
systemd configurations, and optional for other
configurations.
As said above, this is mandatory for systemd (because systemd people expect such a filesystem layout) and optional in other cases. Since you're using systemd, this new organization has been automatically enabled.
I'll mark the patch as invalid then. Thanks for following up!
|