| Summary: | app-misc/livecd-tools - /etc/init.d/gpm-pre sources /etc/sysconfig/mouse without checking | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sebastian Pipping <sping> |
| Component: | [OLD] Core system | Assignee: | Gentoo LiveCD Package Maintainers <livecd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | autobuilds | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
There is a FIXME in livecd-tools-*/init.d/gpm-pre that is probably related. Also, I assume livecd-tools would be running hwsetup from sys-apps/hwsetup. I don't see what would install hwsetup.sh. All, I have pushed commit 476fe7f to resolve this issue. @jmbsvicetto: Do you want to do a test build with livecd-tools-9999 to make sure everything works or should I go ahead and release livecd-tools-2.0.3? This is included in livecd-tools-2.0.3. |
During minimal livecd boot I run into this error: /etc/init.d/gpm-pre: line 15: /etc/sysconfig/mouse: No such file or directory These lines in there need to be guared by does-file-exist checks: source /etc/sysconfig/gentoo source /etc/sysconfig/mouse These lines in hwsetup.sh seem to create /etc/sysconfig/mouse: for i in $(ls -1d /sys/class/input/mouse* 2>/dev/null); do [ -r "${i}/device/protocol" ] || continue p="$(cat ${i}/device/protocol 2>/dev/null)" d="$(cat ${i}/device/input*/name 2>/dev/null | tail -1)" [ -n "$d" ] && writeconfig "FULLNAME='$d'" /etc/sysconfig/mouse [ -n "$p" ] && writeconfig "XMOUSETYPE='$p'" /etc/sysconfig/mouse break done In case I do not hear back within a week I may try to fix this myself.