Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 328929

Summary: app-shells/dash-0.5.6.1: 0006--INPUT-exit-127-if-command_file-is-given-but-doesn-t.diff breaks dash
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/587353
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
dash-0.5.6.1_failing_as_system_shell.png
dash-0.5.6.1.ebuild.diff

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-19 10:29:01 UTC
When /bin/sh points to dash the system won't boot exhibiting similar error messages to those shown in the debian bug (see URL). Furthermore emerging any software which is using the eauto* tools from autotools.eclass causes access violations.

Steps to reproduce:

1.) emerge =dash-0.5.6.1
2.) ln -sfnv dash /bin/sh
3a.) emerge dash
3b.) reboot   # and watch the boot process fail horribly...
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-19 10:31:21 UTC
Created attachment 239359 [details]
build.log

Example of the access violation
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-19 10:34:46 UTC
Created attachment 239361 [details]
dash-0.5.6.1_failing_as_system_shell.png

screenshot showing the breakage in my ~x86 VM
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-19 13:58:29 UTC
Confirming and suggesting raising the priority as it can certainly can cause the system to become unbootable.
Comment 4 SpanKY gentoo-dev 2010-07-19 18:55:05 UTC
dropped keywords until debian releases a new version
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-31 21:08:15 UTC
Reopening as Debian recommends to simply remove the offending patch: http://bugs.debian.org/587353#20
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-31 21:08:41 UTC
Created attachment 240881 [details, diff]
dash-0.5.6.1.ebuild.diff

How about this?
Comment 7 SpanKY gentoo-dev 2010-07-31 21:48:18 UTC
add a "#328929" at the end of the `rm` line and that is fine to commit, thanks
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-31 22:10:56 UTC
+  31 Jul 2010; Lars Wendler <polynomial-c@gentoo.org> dash-0.5.6.1.ebuild:
+  non-maintainer commit: Readded keywords. Ebuild now removes offending
+  patch which lead to bug #328929. Commit done with kind permission from
+  vapier.
+

"#328929" added to the ebuild as well. Thanks for the quick response :)