From: Doug Barton <[EMAIL PROTECTED]>
Subject: Re: cvs commit: src/etc/rc.d hostid
Date: Wed, 23 May 2007 09:52:28 -0700 (PDT)
> On Tue, 22 May 2007, Brooks Davis wrote:
>
> > I think /etc or /boot is the right place and IIRC pjd had a reason why
> > /etc was right. The
On Tue, 22 May 2007, Brooks Davis wrote:
I think /etc or /boot is the right place and IIRC pjd had a reason why
/etc was right. The problem with /var/db is that's it's not available
until fairly late in the boot and hostid is needed for non-root disks.
It's worth remembering that in the normal
On Tue, May 22, 2007 at 10:07:03AM -0700, Doug Barton wrote:
> Brooks Davis wrote:
>
> > I'm not sure that's a bug. Perhaps if it's too noisy. There are
> > several other places that require a writable etc or require certain
> > files to be linked to somewhere writable. Adding a note to the
>
Brooks Davis wrote:
I'm not sure that's a bug. Perhaps if it's too noisy. There are
several other places that require a writable etc or require certain
files to be linked to somewhere writable. Adding a note to the
diskless(8) manpage might be useful.
I had a concern about this too, but did
On Tue, May 22, 2007 at 07:56:42AM -0500, Eric Anderson wrote:
> On 05/21/07 14:57, Dag-Erling Sm?rgrav wrote:
> > Jung-uk Kim <[EMAIL PROTECTED]> writes:
> >> 'smbios.system.uuid' is exported from loader, not from kernel. And it
> >> already checks two things, i.e., all zero's and all 0xff's, wh
On Tue, May 22, 2007 at 07:56:42AM -0500, Eric Anderson wrote:
> On 05/21/07 14:57, Dag-Erling Sm?rgrav wrote:
> >Jung-uk Kim <[EMAIL PROTECTED]> writes:
> >>'smbios.system.uuid' is exported from loader, not from kernel. And it
> >>already checks two things, i.e., all zero's and all 0xff's, which
On Tue, May 22, 2007, Pawel Jakub Dawidek wrote:
> On Tue, May 22, 2007 at 10:22:24AM +, Ralf S. Engelschall wrote:
> > rse 2007-05-22 10:22:24 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > etc/rc.d hostid
> > Log:
> > Remove the ugly csh(1) bas
On 05/21/07 14:57, Dag-Erling Smørgrav wrote:
Jung-uk Kim <[EMAIL PROTECTED]> writes:
'smbios.system.uuid' is exported from loader, not from kernel. And it
already checks two things, i.e., all zero's and all 0xff's, which are
the most common and 'useless' UUIDs. If the SMBIOS has one of these,
On Tue, May 22, 2007 at 10:22:24AM +, Ralf S. Engelschall wrote:
> rse 2007-05-22 10:22:24 UTC
>
> FreeBSD src repository
>
> Modified files:
> etc/rc.d hostid
> Log:
> Remove the ugly csh(1) based UUID lower-case translation hack from
> /etc/rc.d/hostid now
On Monday 21 May 2007 03:57 pm, Dag-Erling Smørgrav wrote:
> Jung-uk Kim <[EMAIL PROTECTED]> writes:
> > 'smbios.system.uuid' is exported from loader, not from kernel.
> > And it already checks two things, i.e., all zero's and all
> > 0xff's, which are the most common and 'useless' UUIDs. If the
Jung-uk Kim <[EMAIL PROTECTED]> writes:
> 'smbios.system.uuid' is exported from loader, not from kernel. And it
> already checks two things, i.e., all zero's and all 0xff's, which are
> the most common and 'useless' UUIDs. If the SMBIOS has one of these,
> it is not set at all.
Is it safe to ass
On Monday 21 May 2007 03:09 pm, Dag-Erling Smørgrav wrote:
> Jung-uk Kim <[EMAIL PROTECTED]> writes:
> > Why don't we change smbios.system.uuid to all lower cases? ;-)
> > I have no problem with that.
>
> For that matter, we could even verify that the UUID is valid within
> the kernel before return
Pawel Jakub Dawidek wrote:
The main purpose of this script is to use UUID given via SMBIOS when
it's valid and you just removed the code responsible for correctness
checking.
I already addressed that in my response to des.
I also don't really see the win of using csh(1) only sometimes
Fort
Jung-uk Kim <[EMAIL PROTECTED]> writes:
> Why don't we change smbios.system.uuid to all lower cases? ;-)
> I have no problem with that.
For that matter, we could even verify that the UUID is valid within the
kernel before returning it to userland, eliminating the need for a
syntax check in etc/rc.
Doug Barton <[EMAIL PROTECTED]> writes:
> Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes:
> > Doug Barton <[EMAIL PROTECTED]> writes:
> > > Meanwhile, I've attached a patch that simplifies the hostid_hardware()
> > > quite a bit, and has the added virtue of only calling csh if it's
> > > needed.
>
On Mon, May 21, 2007 at 08:50:32PM +0200, Pawel Jakub Dawidek wrote:
>
> I'm also not happy with using csh(1), but I agree with rse@'s change in
> general.
Are you aware that signal handling appears to be messed up in (t)csh?
Hopefully, this change doesn't render someones system as unbootable.
ht
Jung-uk Kim wrote:
Why don't we change smbios.system.uuid to all lower cases? ;-)
I have no problem with that.
That would obviously be the better solution, but I was making the
(probably faulty) assumption that it wasn't possible for some reason.
Doug
--
This .signature sanitized for
On Monday 21 May 2007 02:10 pm, Doug Barton wrote:
> Ralf S. Engelschall wrote:
> > rse 2007-05-21 11:44:13 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > etc/rc.d hostid
> > Log:
> > Adjust UUID lower-case translation from straight-forward tr(1)
> >
On Mon, May 21, 2007 at 11:10:12AM -0700, Doug Barton wrote:
> Ralf S. Engelschall wrote:
> >rse 2007-05-21 11:44:13 UTC
> > FreeBSD src repository
> > Modified files:
> >etc/rc.d hostid Log:
> > Adjust UUID lower-case translation from straight-forward tr(1)
> > usage
Dag-Erling Smørgrav wrote:
Doug Barton <[EMAIL PROTECTED]> writes:
Meanwhile, I've attached a patch that simplifies the hostid_hardware()
quite a bit, and has the added virtue of only calling csh if it's
needed.
It also fails to ensure that the UUID has the correct syntax.
If we're really co
Doug Barton <[EMAIL PROTECTED]> writes:
> Meanwhile, I've attached a patch that simplifies the hostid_hardware()
> quite a bit, and has the added virtue of only calling csh if it's
> needed.
It also fails to ensure that the UUID has the correct syntax.
DES
--
Dag-Erling Smørgrav - [EMAIL PROTECT
Ralf S. Engelschall wrote:
rse 2007-05-21 11:44:13 UTC
FreeBSD src repository
Modified files:
etc/rc.d hostid
Log:
Adjust UUID lower-case translation from straight-forward tr(1)
usage to an equivalent csh(1) usage as tr(1) stays in /usr/bin and
/etc/rc.d/ho
On Mon, May 21, 2007, Ralf S. Engelschall wrote:
> On Mon, May 21, 2007, Mike Makonnen wrote:
>
> > On Mon, May 21, 2007 at 08:22:44AM +, Ralf S. Engelschall wrote:
> > > rse 2007-05-21 08:22:44 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
> > > etc/rc.d
"Ralf S. Engelschall" <[EMAIL PROTECTED]> writes:
> Mike Makonnen <[EMAIL PROTECTED]> writes:
> > tr(1) lives in /usr/bin, which may not be available when / (root) is
> > mounted (it may live on a remotely mounted filesystem, for example). So,
> > you can't rely on tr(1) being available when this s
On Mon, May 21, 2007, Mike Makonnen wrote:
> On Mon, May 21, 2007 at 08:22:44AM +, Ralf S. Engelschall wrote:
> > rse 2007-05-21 08:22:44 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > etc/rc.d hostid
> > Log:
> > The standardized textual represe
On Mon, May 21, 2007 at 08:22:44AM +, Ralf S. Engelschall wrote:
> rse 2007-05-21 08:22:44 UTC
>
> FreeBSD src repository
>
> Modified files:
> etc/rc.d hostid
> Log:
> The standardized textual representation of UUIDs according to RFC 4122
> and ISO/IEC-9834
26 matches
Mail list logo