Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14665] New: init.d mountroot.sh: echo >/etc/mtab improvements

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14665] New: init.d mountroot.sh: echo >/etc/mtab improvements
  • Date: 21 Aug 2008 18:36:31 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14665

Summary: init.d mountroot.sh: echo >/etc/mtab improvements
Product: Codex
Version: stable grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: smgl
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: BearPerson AT gmx.net


Around line 33 of mountroot.sh, we do

echo >/etc/mtab

This has two problems: it fails rather strangely
when /etc/mtab is a symlink to /proc/mounts
and it's also using smgl_function's echo.

It should probably be something like

if ! [[ -h /etc/mtab ]] ;then
builtin echo >/etc/mtab
fi


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page