Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 14:24:43 -0600 (MDT)
From:      Wes Peters - Softweyr LLC <softweyr@xmission.com>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        allen@xmission.xmission.com, campbell@xmission.xmission.com (Chris Campbell), <allenc@verinet.com>, config@FreeBSD.ORG
Subject:   Re: Config Databases
Message-ID:  <199804232024.OAA18834@xmission.xmission.com>
In-Reply-To: <28583.893317661@time.cdrom.com> from "Jordan K. Hubbard" at Apr 23, 98 00:47:41 am

next in thread | previous in thread | raw e-mail | index | archive | help
Allen Campbell asked:
> > Now our portal process is expected to parse the buffer and put the
> > result in our configuration database.  Fortunately, the portal
> > process in question was implemented very well and the login shell
> > omission is noticed.
> > 
> > Now what?  What is the portal file system supposed to do with this?

Jordan K. Hubbard replied:
> Silently refuse the operation.  Bob would be able to save the
> passwd file, but when he looked at it again he'd see it was as
> if he'd never touched it.

Keep in mind that the configfs can return whatever error necessary;
the man page reflects the implementation, not vice versa.  We could
even add new ones if needed.  Some that also make sense to use include:

EINVAL
EROFS
EDOM
ERANGE
ENAMETOOLONG
ENOLCK
EAUTH
ENEEDAUTH

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-config" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804232024.OAA18834>