From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>
To: debian-user@lists.debian.org,
"supervision@list.skarnet.org" <supervision@list.skarnet.org>,
FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject: Re: nosh version 1.17
Date: Sun, 28 Jun 2015 17:39:04 +0100 [thread overview]
Message-ID: <55902328.8080602@NTLWorld.com> (raw)
In-Reply-To: <556BA130.50708@NTLWorld.com>
nosh is now up to version 1.17
* http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html
As I said to gdiazhartusch a while back, and as listed on the roadmap
page, there is now a tool for auto-creating the mount@*, fsck@*,
ttylogin@*, dump@*, and swap@* service bundles from /etc/ttys and
/etc/fstab, and propagating settings from /etc/rc.conf{,.local} to
service bundle env/ directories. This is documented in the Nosh Guide,
in the section on external formats. It involves the use of redo, as I
just mentioned in the release annoucement for redo 1.2, because it's a
suite of redo scripts that endeavour to re-import the settings only when
the source files change. An important design choice, called out in the
introduction to the Nosh Guide, is that this is not a system of
continually-regenerated ephemera.
The Nosh Guide introduction has been completely rewritten, by the way.
The external formats import relies upon rcctl, which now has the full
implementation of "set" and "get" that was promised in the roadmap.
Note the caveat in the manual about not using "set" on a "status"
variable. That's an OpenBSD idiosyncrasy that wouldn't be correct for
FreeBSD even with the original tool. Use "enable" and "disable".
They'll work.
Part of importing /etc/fstab is generating appropriate dump@* and swap@*
service bundles. You'll note that swapauto and swaplate are no longer
services but targets. As services, they relied upon options to "swapon"
and were one giant lump. As targets, they pull in all of the generated
swap@* services which are individually enabled. Also note that whilst
the pre-built mount@-, fsck@-, mount@-usr, fsck@-usr, mount@-var, and
fsck@-var service bundles are still supplied, the auto-creation system
(or something similar) is meant to supersede them with bundles that
match your /etc/fstab after system installation.
Those aren't the only service bundle changes. There's the steady
chipping away at that list of 157 rc.d scripts, which has just lost off
its list a few pf services and savecore amongst other things. You might
be wondering why mountcritlocal and mountcritremote are still there.
The new auto-creation system makes mount@* and fsck@* bundles, and links
them into targets, after all. The answer is that those FreeBSD rc.d
scripts (like several others) have had some feature creep, and mounting
is not all that they in fact do. There's some temporary files cleanup in
there, for example.
Which leaves just the last major change, which is the /etc/
subdirectories. /etc/system-manager/targets and /etc/sv have been
brought together as /etc/service-bundles/targets and
/etc/service-bundles/services. And /etc/system-manager/presets is now
the better named /etc/system-control/presets as this is a function of
the latter tool not of the former. The post-upgrade scripts in the
binary packages will move the directories and create appropriate
symbolic links in the right places. If you are building from source and
hand-installing ... well look at what the post-upgrade scripts do, since
they are right there in the source package, and do that. (-:
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
next prev parent reply other threads:[~2015-06-28 16:39 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <54430B41.3010301@NTLWorld.com>
[not found] ` <54B86FD5.3090203@NTLWorld.com>
[not found] ` <554E53EF.4080600@NTLWorld.com>
2015-05-09 23:09 ` nosh version 1.14 Jonathan de Boyne Pollard
2015-06-01 0:02 ` nosh version 1.16 Jonathan de Boyne Pollard
2015-06-28 15:19 ` redo version 1.2 Jonathan de Boyne Pollard
2018-02-18 6:39 ` redo version 1.4 Jonathan de Boyne Pollard via freebsd-hackers
2015-06-28 16:39 ` Jonathan de Boyne Pollard [this message]
2015-06-28 16:55 ` pflog(8) manual page bug Jonathan de Boyne Pollard
2015-06-28 20:55 ` Warren Block
2015-08-20 13:01 ` nosh version 1.18 Jonathan de Boyne Pollard
2015-08-22 18:04 ` nosh version 1.19 Jonathan de Boyne Pollard
[not found] ` <CADQ2Nw-506S3Gm4s40t+WzJu3Wzpwp=wPBWCFoQGZ2yrctCM_w@mail.gmail.com>
2015-09-28 1:05 ` nosh version 1.20 Jonathan de Boyne Pollard
2015-09-28 1:33 ` Joe Maloney
2015-09-28 7:27 ` Jonathan de Boyne Pollard
2015-10-05 5:39 ` nosh version 1.21 Jonathan de Boyne Pollard
2015-11-02 2:15 ` nosh version 1.22 Jonathan de Boyne Pollard
2015-12-17 13:50 ` nosh version 1.23 Jonathan de Boyne Pollard
2016-01-13 9:25 ` nosh version 1.24 Jonathan de Boyne Pollard
2016-02-01 1:03 ` nosh version 1.25 Jonathan de Boyne Pollard
2016-05-06 23:19 ` nosh version 1.27 Jonathan de Boyne Pollard
2016-08-06 17:30 ` nosh version 1.28 Jonathan de Boyne Pollard
[not found] ` <a1646fa5-e64c-5b2d-b057-aa347d1f30a1@freebsd.org>
2016-08-21 11:04 ` Jonathan de Boyne Pollard
2016-08-30 15:58 ` Joe Nosay
[not found] ` <0c339dcb-d09b-f234-d37f-9521d97146b1@NTLWorld.com>
[not found] ` <d9dddf06-257f-2f5e-c7dd-99cfd6aba187@NTLWorld.com>
[not found] ` <CADQ2Nw8YbeHp-yOUxTBXn6H8_OrU74ab1nb5=gc-+xeBL4FWFw@mail.gmail.com>
[not found] ` <159edb67-0288-a07e-c2cb-76574d0d2b98@NTLWorld.com>
[not found] ` <CADQ2Nw-XksEtP_wrXtaRFKw0yM=A-0okfXxFOpyDiCQGptQEww@mail.gmail.com>
[not found] ` <5769980e-cdc3-b802-b704-fdb8d0ce3f8f@NTLWorld.com>
[not found] ` <CADQ2Nw95KwkwDDErc_wsLrg=rHjhKHRsfseFPhA9avS0siu+5Q@mail.gmail.com>
2016-12-03 11:33 ` nosh version 1.29 Jonathan de Boyne Pollard
2016-12-03 11:41 ` Jonathan de Boyne Pollard
2016-12-31 23:53 ` nosh version 1.30 Jonathan de Boyne Pollard
2017-01-14 11:26 ` nosh version 1.31 Jonathan de Boyne Pollard
2017-01-30 9:09 ` nosh version 1.32 Jonathan de Boyne Pollard
2017-04-09 19:52 ` nosh version 1.33 Jonathan de Boyne Pollard
2017-07-05 20:41 ` nosh version 1.34 Jonathan de Boyne Pollard
2017-09-10 10:43 ` nosh version 1.35 Jonathan de Boyne Pollard
2017-12-11 8:03 ` nosh version 1.36 Jonathan de Boyne Pollard
2018-02-18 6:49 ` nosh version 1.37 Jonathan de Boyne Pollard via freebsd-hackers
2018-02-18 21:23 ` Guillermo
2018-02-18 23:05 ` Jonathan de Boyne Pollard
2018-02-19 3:12 ` Guillermo
2018-02-19 5:10 ` Jonathan de Boyne Pollard
2018-02-20 19:13 ` Jonathan de Boyne Pollard
2018-02-21 1:21 ` Guillermo
2018-02-21 7:53 ` Jonathan de Boyne Pollard
2019-01-23 4:51 ` nosh version 1.39 Jonathan de Boyne Pollard
2019-03-20 10:21 ` nosh version 1.40 Jonathan de Boyne Pollard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55902328.8080602@NTLWorld.com \
--to=j.deboynepollard-newsgroups@ntlworld.com \
--cc=debian-user@lists.debian.org \
--cc=freebsd-hackers@freebsd.org \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).