[Bug 694066] Re: RC_WHITELIST prevents a lot of services from being started on thin/fat clients
Stéphane Graber
stgraber at stgraber.org
Wed Jul 6 08:54:33 UTC 2011
Hi Alkis!
I'm not too familiar with the whitelisting magic used by ltsp-build-
client but my guess would be that we should instead use a blacklist.
We definitely want to prevent a lot of services from starting when they
don't make sense for LTSP but not prevent fat client services.
I also think ltsp-build-client should be made upstart aware so it can
also disable upstart services.
Assigning this to me for now as I'm probably going to look at
upstartifying ltsp soon enough and may fix that at the same time. In the
mean time, if you have changes specific to fat clients, I'd suggest you
commit them upstream and make sure they only apply to fat clients.
Thanks
** Also affects: ltsp
Importance: Undecided
Status: New
** Changed in: ltsp
Status: New => Triaged
** Changed in: ltsp
Importance: Undecided => Medium
** Changed in: ltsp
Assignee: (unassigned) => Stéphane Graber (stgraber)
** Changed in: ltsp (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/694066
Title:
RC_WHITELIST prevents a lot of services from being started on thin/fat
clients
Status in Linux Terminal Server Project:
Triaged
Status in “ltsp” package in Ubuntu:
Triaged
Bug description:
In the Ubuntu/000-basic-configuration, some whitelists are defined for allowed services:
RCS_WHITELIST=${RCS_WHITELIST:-"mountkernfs.sh mountdevsubfs.sh hostname.sh loopback udev module-init-tools procps.sh etc-setserial ltsp-client-setup setserial console-setup console-screen.kbd.sh"}
RC2_WHITELIST=${RC2_WHITELIST:-"klogd sysklogd ltsp-client-core usplash rmnologin dbus"}
RC6_WHITELIST=${RC6_WHITELIST:-"reboot"}
RC0_WHITELIST=${RC0_WHITELIST:-"halt"}
On the other hand, Debian/000-basic-configuration has those lists commented out:
#RCS_WHITELIST=${RCS_WHITELIST:-"mountkernfs.sh mountvirtfs hostname.sh keymap.sh loopback udev mountdevsubfs.sh mountdevsubfs module-init-tools procps.sh etc-setserial ltsp-client-setup setserial console-screen.sh xorg-common x11-common xfree86-common ifupdown networking fuse nbd-client"}
#RC2_WHITELIST=${RC2_WHITELIST:-"klogd sysklogd ltsp-client ltsp-client-core nbd-client usplash rmnologin rsyslog dbus hal"}
For Ubuntu, where those variables are defined, the 000-init-whitelist plugin calls update-rc.d and prevents those services from starting on boot. A lot of those services are significant, for example cups (for printer sharing), ondemand (so that thin client CPUs don't overheat), sendsigs (for proper shutdown), binfmt-support (if wine or java apps are installed on the chroot), openbsd-inetd (if ident2 is installed on the chroot for squid), etc etc, see attached file.
Is there any reason for those white lists to be defined? Can we
comment them out like Debian does?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/694066/+subscriptions
More information about the foundations-bugs
mailing list