Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] ISO installer and /etc/shells

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Karsten Behrmann <BearPerson AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] ISO installer and /etc/shells
  • Date: Tue, 1 Feb 2005 23:09:44 +0100

(in reply to benoit:)
> Andrew reported that "0.9.3 installer doesnt install /etc/shells" (See
> http://bugs.sourcemage.org/show_bug.cgi?id=8160, 0.9.3). Apparently,
> none of the ISO installer did so for quite a long time.
>
> According to the shells(5) and getusershell(3) man page, this file
> records the full pathname of valid login shells. It is used for security
> purpose (for instance in kdm).
>

> I think this file should be updated by each shell spell (bash, tcsh,
> zsh, pdksh, ...) in some post-installation scripts.

I agree. The place this should go is FINAL, as we don't want this tracked.

However, we might just install a file by the ISO that goes <<EOF
/bin/bash
/bin/sh
EOF

btw, the zsh spell already does something like this, even if it's API1
though.


Oh, while on the subject of config files...
Could I have your input on how spells should handle config files?
For ISO building, I have often times tripped over the problem that
once it exists a spell does not modify (and so not track and archive)
its config file. IIRC, there was a sorcery option vaguely related
to config files and overwriting with defaults.

I'd think it would be very nice if the files in /etc would get all
tracked... But it would be no problem to add a workaround that
/etc gets wiped clean before every cast too if what I'm suggesting
seems unneccessary/stupid/strange.

So Far,
Karsten

Attachment: pgpbS3Rzx7GCD.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page