[scponly]
[Fwd: Bug#228920: scponly: setup_chroot.sh fails on existing users]
Thomas Wana
thomas at wana.at
Wed Jan 21 20:04:30 EST 2004
Hi,
The attached mail showed up in the bug database for the scponly package
regarding
the setup_chroot.sh script. It's not about bugs in the process of
creating a functional
chroot environment (this now works fine at least for the Debian
package), it's
about its overall behavior in respect to usability.
I think the issues pointed out by Charles Fry (the submitter of the bug)
are all
justified and we should work on doing the necessary changes (particularly
because I think they are one- or two-liners here and there).
I wanted to coordinate with the upstream-authors (you) first, because an
overall
scponly patch would be better than a Debian-only-patch.
Since we already started to use kind of a distribution-abstraction-layer for
setup_chroot.sh (the build_extras/arch directory), I suggest we add more
scripts
there for each distribution to solve the following tasks:
1.) check if a user exists - return appropriate exit code to the main script
2.) get a user's home directory if he exists - return on stdout
3.) add a user - return exit code to the main script
4.) perhaps some more I forgot
Finally, these scripts should be called from setup_chroot.sh at the right
places.
Please see this as a request-for-discussion.
Tom
-------------- next part --------------
An embedded message was scrubbed...
From: Charles Fry <debian at frogcircus.org>
Subject: Bug#228920: scponly: setup_chroot.sh fails on existing users
Date: Wed, 21 Jan 2004 12:50:17 -0500
Size: 4324
Url: https://lists.ccs.neu.edu/pipermail/scponly/attachments/20040121/a1998c1d/setup_chroot.eml
More information about the scponly
mailing list