Summary: | localmount from baselayout-1.8.6.8-r1 does not evaluate the return code from swapon | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nils Ohlmeier <develop> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nils Ohlmeier
2003-07-13 17:37:49 UTC
This is what I get running swapon twice: ------------------------------------- nosferatu .libs # swapoff -a nosferatu .libs # swapon -a && echo yes yes nosferatu .libs # swapon -a && echo yes swapon: /dev/hde2: Device or resource busy nosferatu .libs # ------------------------------------- Meaning, its always going to fail in localmount, as /sbin/rc already mounts available swap, and the one in localmount is just a 'backup' if you have swap on lvm/raid/whatever. Same with the '> /dev/null' thing ... its always going to show the error in localmount. Non issue if you ask me - the only swapon that we might consider checking is the one in /sbin/rc. |