[Pkg-ltsp-devel] Bug#427773: Bug#427773: ltspfsd: editing of /etc/fstab from udev rules is evil

Oliver Grawert ogra at ubuntu.com
Wed Jun 6 14:38:13 UTC 2007


hi,
Am Mittwoch, den 06.06.2007, 15:19 +0200 schrieb mariodebian:
> You can move udev rules to ltsp-build-package plugins:
> 
> Example based on
> ltsp-0.99debian12/server/plugins/ltsp-build-client/common/010-etc-hosts:
> 
> 
> case "$MODE" in
>     after-install)
>         cat <<EOF > $ROOT/etc/udev/rules.d/88-ltsp.rules
> # /etc/udev/rules.d/88-ltsp.rules
> ACTION=="add", KERNEL=="fd[0-9]", RUN+="add_fstab_entry %k auto"
> ACTION=="add", SUBSYSTEM=="block", RUN+="add_fstab_entry %k"
> ACTION=="remove", SUBSYSTEM=="block", RUN+="remove_fstab_entry %k"
> EOF
>         ;;
> esac
if we would mix things that wildly we wouldnt need packages ;) 
that part shouldnt be in ltsp anywhere, especially since you can tweak
ltsp to be anything from a mythtv remote client to fat client setups by
just changing the package selection. 

these things should stay in ltspfsd.

i also miss to see how that helps for solving the bug since the rules
will now be executed on *any* ltsp setup instead of only the ones where
ltspfsd is installed.

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20070606/7f57e6f8/attachment.pgp 


More information about the Pkg-ltsp-devel mailing list