Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14238] New: mountnetwork, smgl-default-remote-fs, etc ordered according to broken principles. Corrections supplied.

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 14238] New: mountnetwork, smgl-default-remote-fs, etc ordered according to broken principles. Corrections supplied.
  • Date: 19 Jan 2008 14:08:38 -0000

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

Summary: mountnetwork, smgl-default-remote-fs, etc ordered
according to broken principles. Corrections supplied.
Product: Codex
Version: stable grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: smgl
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: eekee57 AT fastmail.fm


init.d orders mountnetwork to run before nfs, making all nfs mounts fail at
boot
time.

I have little idea how simpleinit-msb and init.d work, but I can see that
network mounting is quite broken. Here is a list of criterion that
mountnetwork
and remote filesystem scripts should meet:

1 mountnetwork should not provide anything that nfs or any other
network file system requires.
2 nfs, nfslock, and other network mount scripts should provide a
network_mounting_facility token of some kind.
3 mountnetwork should not run until any and all providers of
network_mounting_facility have run. ¡¡¡This is the important one!!!
4 mountnetwork should not depend on portmap. nfs and nfslock need
portmap, other network file systems may not.

I cannot over-stress point 3. mountnetwork should never run until init has at
least attempted to start all enabled providers of network mounting facilities.

There is no need for smgl-default-remote-fs. Nothing actually requires the
network mounting script except sysadmin-written lines in /etc/fstab. nfs may
exist and run without any network mount script at all, e.g. in an nfs server.
(Well I could be wrong on this one, but certainly no provider of network
filesystems should require the network mount script.)

If the above guidelines are kept to a graceful fail case is possible for
mountnetwork. If there are no providers of network_mounting_facility enabled
then mountnetwork may fail with no more than a warning, making it safe for
accidental installation.

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



  • [SM-Grimoire-Bugs] [Bug 14238] New: mountnetwork, smgl-default-remote-fs, etc ordered according to broken principles. Corrections supplied., bugzilla-daemon, 01/19/2008

Archive powered by MHonArc 2.6.24.

Top of Page