Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328929 - app-shells/dash-0.5.6.1: 0006--INPUT-exit-127-if-command_file-is-given-but-doesn-t.diff breaks dash
Summary: app-shells/dash-0.5.6.1: 0006--INPUT-exit-127-if-command_file-is-given-but-do...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL: http://bugs.debian.org/587353
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 10:29 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2010-07-31 22:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.60 KB, text/plain)
2010-07-19 10:31 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
dash-0.5.6.1_failing_as_system_shell.png (dash-0.5.6.1_failing_as_system_shell.png,33.83 KB, image/png)
2010-07-19 10:34 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
dash-0.5.6.1.ebuild.diff (dash-0.5.6.1.ebuild.diff,629 bytes, patch)
2010-07-31 21:08 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 :)