public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] baselayout-2 stablisation plans
@ 2007-07-21 14:36 99% Roy Marples
  0 siblings, 0 replies; 1+ results
From: Roy Marples @ 2007-07-21 14:36 UTC (permalink / raw
  To: gentoo-dev

This is just a heads up for getting baselayout-2 stable. Next week I
plan to put baselayout-2.0.0_rc1 into the tree without any keywords and
it will be removed from package.mask (keeping the current alphas masked
though). Arch teams will then be pinged on a bug to keyword
baselayout-2.

Now there are, as usual, some daemons and init scripts that probably
won't work. For those that don't, I have either fixed or there's patches
in our bugzilla. Here's a rough summary.

Regarding init scripts.
Init scripts should now be strictly bourne or POSIX shell. ie, no
bashisms. bash init scripts will work, but ONLY if /bin/sh is bash.
Shells as /bin/sh that I've tested and found to be working are
bash
dash
busybox
zsh
FreeBSD sh

Also, as there's no bashisms, that also means no bash arrays. This
includes our net config.
config_eth0=( "1.2.3.4/24" "5.6.7.8 netmask 255.255.255.0" )
becomes
config_eth0="'1.2.3.4/24' '5.6.7.8 netmask 255.255.255.0'"
Pay attention to the quoting there.
We still support bash arrays if and only if /bin/sh is really bash, so
your existing net config should work as is.

Regarding start-stop-daemon. It will now test to see if the daemon is
running after it returns as some daemons love to fork and then error on
a bad config. So we trap this. However, there are also some false
positives where there is a big gap between forking and writing the
pidfile. Examples of this are ntpd (patch in portage) and nscd (part of
glibc).

Also, when running in parallel, we now prefix all output. This looks
very pretty on screen and is almost perfect. However, this also comes at
a cost - daemons are now expected to close stdin, stdout and stderr
after forking like all well written daemons should. Some don't - like
gpm (latest rev is patched) and noip (patch in bugs). If they don't,
then it will hang rc. Sadly, there isn't much I can do about this.

Lastly, reiserfs3 and jfs users should comment on bug #116016 to ensure
that my proposed patches to the userland tools actually work as I don't
use those fs's much aside from basic testing.

Well, that's about it. It's been a fun journey making baselayout-2 and
we're almost at the end of this road :)

Thanks

Roy

PS - Now is a very good time to test it if you're concerned about it
running on your obscure arch or use some funky networking foo.

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-07-21 14:36 99% [gentoo-dev] baselayout-2 stablisation plans Roy Marples

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox