Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 7311] init.d update left a broken inittab and /etc/sysconfig/devices behind

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 7311] init.d update left a broken inittab and /etc/sysconfig/devices behind
  • Date: 14 Feb 2007 03:08:09 -0000

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





------- Additional Comments From jblosser-smgl AT firinn.org 2007-02-13 21:08
-------
(In reply to comment #8)

> That's why the starting evaluate_retval was ANDed to the rest of the code.
> Mounting a nonexsisting proc would fail and the code snippet would be
> skipped.

No, a mount -a -t doesn't fail if no such filesystem type is found.

> As far as #7, would grep be affected by this:
> http://bugs.sourcemage.org/show_bug.cgi?id=13067

Conclusion of that bug is not favorable to moving grep into /bin.

> and get_pids() from smgl_functions uses grep too, so things would break
> anyway.

get_pids() is so far not called from anywhere that a failure will cause the
whole init script to die.

> And, if grep isn't found, the code in the conditional would be ran, so
> appart
> from the error message, everything would be fine, I think.

Yeah, as long as care was taken to make the exit of the if not be the exit of
the whole script it wouldn't kill the boot I guess. It still needs to have a
solution that doesn't rely on grep.

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




Archive powered by MHonArc 2.6.24.

Top of Page