Summary: | app-shells/autojump-21.1.0 causes startDM.sh to segfault during system start | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomasz Golinski <tomaszg> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, kamil.kuduk, qa, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 468056 | ||
Bug Blocks: |
Description
Tomasz Golinski
2012-12-06 22:07:17 UTC
It turns out that the problem was caused by app-shells/autojump-21.1.0 (previous version autojump-20.9.ebuild didn't cause that problem). It may be related to the fact that many scripts produce additional error msg with autojump-21: bash: autojump_add_to_database: command not found I can confirm both, the problem and the proposed solution. Removing autojump (I didn't try the older version) solved the segfault in startDm during boot. *** Bug 459480 has been marked as a duplicate of this bug. *** Michael, you seem to maintain a long list of packages because you wanted to "salvage" them but don't care about them so much. This bug is a *huge* problem and has been reported over three months ago and you haven't even commented on it... This bug is still present in the current autojump-21.3.0. I would suggest hard-masking it, since that bug is really critical and non-obvious. At least there should be an explicit warning in ebuild about possible problem. It's just because of stupid: /etc/profile.d/autojump.sh: # check global install elif [ -s /etc/profile.d/autojump.${shell} ]; then source /etc/profile.d/autojump.${shell} when sourced from /etc/inid.d/xdm shell is "sh", so it causes infinite recursion +*autojump-21.3.0-r1 (04 May 2013) + + 04 May 2013; Michael Weber <xmw@gentoo.org> +autojump-21.3.0-r1.ebuild, + +files/autojump-21.3.0-supported-shells.patch, -autojump-21.3.0.ebuild: + Drop old, fix infinity loop sourcing shell=sh (thanks Kamil Kuduk, bug + 446312), prefix support (thanks Leho Kraav, bug 465226), fix security issue + (bug 467262). + Tested, works for me. |