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

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Feb 13 22:08:09 EST 2007


------- 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.

More information about the SM-Grimoire-Bugs mailing list