All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10986] New: Installing package attr when already supplied by busybox replaces busybox. Resulting in boot confusing boot/init error.
@ 2018-05-04  7:30 bugzilla at busybox.net
  2018-05-04  7:31 ` [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-05-04  7:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10986

            Bug ID: 10986
           Summary: Installing package attr when already supplied by
                    busybox replaces busybox. Resulting in boot confusing
                    boot/init error.
           Product: buildroot
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: mzweerspenko+bugzilla at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

After clean build (no stress-ng and no attr)
user at user:/data/buildenv/buildroot$ cp output/target/bin/busybox
output/target/bin/busybox_orig
user at user:/data/buildenv/buildroot$ sha256sum output/target/bin/busybox*
fcdab0b55c09f00e85421dd1ad7249dd49a4a0f22753021ee506aa063e56e44c 
output/target/bin/busybox
fcdab0b55c09f00e85421dd1ad7249dd49a4a0f22753021ee506aa063e56e44c 
output/target/bin/busybox_orig

After adding and building with stress-ng and attr packages

user at user:/data/buildenv/buildroot$ sha256sum output/target/bin/busybox*
d088445e2aa618140b000dc1449481adb621ec6485d962bd08dc0539eac0ac84 
output/target/bin/busybox
fcdab0b55c09f00e85421dd1ad7249dd49a4a0f22753021ee506aa063e56e44c 
output/target/bin/busybox_orig

user at user:/data/buildenv/buildroot$ ls -l output/target/bin/busybox*
-rwxr-xr-x 1 remotenerd remotenerd   9800 mei  4 08:38
output/target/bin/busybox
-rwxr-xr-x 1 remotenerd remotenerd 535524 mei  4 08:38
output/target/bin/busybox_orig

<Buildlog>
Warning: target file "./bin/busybox" is touched by more than one package:
[u'busybox', u'attr']
</Buildlog>

<Symptom>

As attr uses the zero argument for its help page it results in an confusing
error message

[    2.327505] Freeing unused kernel memory: 1024K
[    2.355884] usb 2-1: new high-speed USB device number 2 using ci_hdrc
Usage: init {-n name} [-v value] [-h] file...
       init {-x name} [-h] file...
Try `init --help' for more information.
[    2.386012] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000200
[    2.386012]
[    2.386027] CPU1: stopping
[    2.386036] CPU: 1 PID: 

</Symptom>
Tested on an NXP IMX7D

<speculation>
Other packages that are also supplied by busybox may lead to similar results.
</speculation>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in confusing boot/init error.
  2018-05-04  7:30 [Buildroot] [Bug 10986] New: Installing package attr when already supplied by busybox replaces busybox. Resulting in boot confusing boot/init error bugzilla at busybox.net
@ 2018-05-04  7:31 ` bugzilla at busybox.net
  2018-05-04 20:42 ` bugzilla at busybox.net
  2018-05-13 20:23 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-05-04  7:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10986

mzweerspenko+bugzilla at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Installing package attr     |Installing package attr
                   |when already supplied by    |when already supplied by
                   |busybox replaces busybox.   |busybox replaces busybox.
                   |Resulting in boot confusing |Resulting in confusing
                   |boot/init error.            |boot/init error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in confusing boot/init error.
  2018-05-04  7:30 [Buildroot] [Bug 10986] New: Installing package attr when already supplied by busybox replaces busybox. Resulting in boot confusing boot/init error bugzilla at busybox.net
  2018-05-04  7:31 ` [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in " bugzilla at busybox.net
@ 2018-05-04 20:42 ` bugzilla at busybox.net
  2018-05-13 20:23 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-05-04 20:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10986

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr
             Status|NEW                         |ASSIGNED

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Hello,

Thanks for the report.

I've sent a tentative patch too fix this issue quickly:
https://patchwork.ozlabs.org/patch/909026/

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in confusing boot/init error.
  2018-05-04  7:30 [Buildroot] [Bug 10986] New: Installing package attr when already supplied by busybox replaces busybox. Resulting in boot confusing boot/init error bugzilla at busybox.net
  2018-05-04  7:31 ` [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in " bugzilla at busybox.net
  2018-05-04 20:42 ` bugzilla at busybox.net
@ 2018-05-13 20:23 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-05-13 20:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10986

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Hello,

We believe this was fixed with:
   
https://git.buildroot.org/buildroot/commit/?id=28d8f8dfd5b10748b009377445d710abef6b8502

Additionally, a similar fix was applied to acl:
   
https://git.buildroot.org/buildroot/commit/?id=c3e62d39844b28b59650747e59e86a21d71f05c8

Thank you for the report! :-)

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-13 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04  7:30 [Buildroot] [Bug 10986] New: Installing package attr when already supplied by busybox replaces busybox. Resulting in boot confusing boot/init error bugzilla at busybox.net
2018-05-04  7:31 ` [Buildroot] [Bug 10986] Installing package attr when already supplied by busybox replaces busybox. Resulting in " bugzilla at busybox.net
2018-05-04 20:42 ` bugzilla at busybox.net
2018-05-13 20:23 ` 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.