-------- Original Message --------
Subject: Re: [Lxde-list] LXDM : read system infos from /etc/sysconfig
Date: Fri, 01 Jan 2010 18:47:01 -0500
From: Marty Jack <martyj19@...>
To: Alessandro Pellizzari <alex@...>
Having lxdm read anything from /etc/sysconfig sounds wrong, even on systems that use /etc/sysconfig to configure the bootscripts. We are starting X ("going to runlevel 5", for those init systems that have runlevels) by this point and the bootscripts are finished.
The rest of LXDE is generally careful to be platform agnostic, apart from using GTK as the toolkit. It achieves this by implementing the freedesktop standards. I would not like to see lxdm break this rule. As Alessandro points out, you then get into having special code on every platform. The upstream developer will not have all these platforms available if a change has to be made and cannot properly verify the change.
My feeling is, if there is something that needs to be configured, it should be somewhere in the lxdm configuration file so that proper layering is preserved.
On 01/01/2010 05:32 PM, Alessandro Pellizzari wrote:
> Il giorno ven, 01/01/2010 alle 12.56 +0100, Christoph Wickert ha
>> And I have to say I disagree. /etc/sysconfig/* is not really distro
>> specfic, it is used by many distros: Fedora, Red Hat, (Open)SUSE,
>> Mandriva, Foresight, and many more (basically all that use Red Hat's
>> initscripts and this is nearly everything but Debian/Ubuntu).
> And slackware, sidux, all of BSDs, Solaris, etc. etc.
>>> It also adds code bloat on unrelated distros, and could drive to "merge
>>> any distro configuration in mainstream".
>> Not sure if I understand the second part of your sentence...
> Having some config read for RH based, maybe someone else wants the same
> facility for Debian/Ubuntu/sidux, someone else for Slackware, and
> another one for FreeBSD.
> Now we have 4 different config readers in the mainstream. All of them
> should be maintained stable and tested, and 3 out of 4 of them are
> completely useless in any distro.
> Being LXDE oriented toward "small and efficient" software, I consider
> this as code bloat.
> If there is a FHS or a freedesktop.org specification for that, that
> should be implemented. Lacking that, only the base config should be used
> mainstream, and distro-specific code should be added by distro
> maintainers as distro-patches.
> Just IMHO.
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> Lxde-list mailing list