[systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

Colin Guthrie gmane at colin.guthr.ie
Wed Feb 13 07:00:46 PST 2013


'Twas brillig, and Lennart Poettering at 13/02/13 00:21 did gyre and gimble:
> On Mon, 11.02.13 16:34, Auke Kok (auke-jan.h.kok at intel.com) wrote:
> 
>> Contrary to it's own packaging guidelines, these symlinks are created
>> in /etc/. While technically not a problem, this makes it harder
>> for folks installing from git that want to override these settings
>> (either masking or otherwise).
>>
>> Moving the links to $(systemunitdir) resolves.
> 
> I am not sure we really should do this. Both of these units should be
> allowed to be disabled, and always telling people to mask them sounds a
> bit too much...
> 
> Dunno, I am a bit split about this. I see where you are coming from, but
> just making them static sounds like too simple...
> 
> (Also, if we make them static we'd drop the [Install] section, as that
> would be pointless then...)
> 
> So, I am really unsure... Dunno... Opinions?

As a compromise, how about dropping them from "make install", but then
adding a new "make  install-foo" rule that does install plus a few extra
bits and bobs so that those building from git can get their working
system easily without too much subsequent manual fiddling. Yes, this
requires those building and running from git know about "install-foo"
but I would hope such people are fairly competent and know at least
roughly what they are doing before taking such action anyway....

Obviously a better name than "foo" is needed. install-bootstrap?.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list