| Summary: | device-mapper init script fails for no-multilib 64-bit systems | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Albin Stjerna <albin.stjerna> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | seemantk |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Albin Stjerna
2008-06-28 14:37:33 UTC
fixed in cvs http://sources.gentoo.org/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3?r1=1.5&r2=1.6 (In reply to comment #1) > fixed in cvs > > http://sources.gentoo.org/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3?r1=1.5&r2=1.6 > shouldn't that be in line 16 (start section) if [ ! -e /etc/init.d/root ] ; then instead of if [ -e /etc/init.d/root ] ; then Today device-mapper-1.02.27 refused to start on my baselayout-2 system complaining I have baselayout-1 (In reply to comment #2) > (In reply to comment #1) > > fixed in cvs > > > > http://sources.gentoo.org/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3?r1=1.5&r2=1.6 > > > shouldn't that be in line 16 (start section) > if [ ! -e /etc/init.d/root ] ; then > instead of > if [ -e /etc/init.d/root ] ; then > > Today device-mapper-1.02.27 refused to start on my baselayout-2 system > complaining I have baselayout-1 > You are correct. I've committed the change. Additionally, I don't understand why this was a multilib issue since Gentoo requires that /lib be a symlink to /lib64 if that's what you're using and the -e check in bash will follow the symlink. On my system the actual library is in /lib64 and the check has worked fine for months. Hi Doug, I think the logic is a little weird in the scripts. Since this package is not designed to work with baselayout-1 at all, the depend() function should enable those depends when it detects baselayout-2. The way it is setup in the current commit, it omits depends for baselayout-2 but adds them in for -1. See what I'm saying? From the commit log, it looks like spanky reversed the logic in that function, but there's no indication as to why. plzfixkthxbye Thanks for pointing that out Seemant. I've committed the fix. |