Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-11 Thread Colin Guthrie
'Twas brillig, and Dave Reisner at 10/06/14 18:10 did gyre and gimble: Traditional configuration files have their own content. They can be hashed and tracked by your package manager. On upgrade, you can make an intelligent decision about what to do with the new file (replace, ignore, merge)

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-11 Thread Kirill Elagin
On Wed, Jun 11, 2014 at 3:24 AM, Mike Gilbert flop...@gentoo.org wrote: On Tue, Jun 10, 2014 at 5:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.06.14 13:58, Mike Gilbert (flop...@gentoo.org) wrote: Symlinks should probably just be considered different type of file,

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-11 Thread Mike Gilbert
On Wed, Jun 11, 2014 at 12:15 PM, Kirill Elagin kirela...@gmail.com wrote: On Wed, Jun 11, 2014 at 3:24 AM, Mike Gilbert flop...@gentoo.org wrote: On Tue, Jun 10, 2014 at 5:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.06.14 13:58, Mike Gilbert (flop...@gentoo.org)

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-11 Thread Mike Gilbert
On Wed, Jun 11, 2014 at 4:56 PM, Mike Gilbert flop...@gentoo.org wrote: On Wed, Jun 11, 2014 at 12:15 PM, Kirill Elagin kirela...@gmail.com wrote: On Wed, Jun 11, 2014 at 3:24 AM, Mike Gilbert flop...@gentoo.org wrote: On Tue, Jun 10, 2014 at 5:50 PM, Lennart Poettering lenn...@poettering.net

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-11 Thread Kirill Elagin
You're welcome. Please, tell the PMS guys to add this to the spec and ask the Paludis guys to implement this as well. -- Кирилл Елагин On Thu, Jun 12, 2014 at 1:33 AM, Mike Gilbert flop...@gentoo.org wrote: On Wed, Jun 11, 2014 at 4:56 PM, Mike Gilbert flop...@gentoo.org wrote: On Wed,

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Lennart Poettering
On Sun, 08.06.14 09:37, Dave Reisner (d...@falconindy.com) wrote: On a related topic, could we please stop shipping hardcoded symlinks in /etc in favor of documented reccomendations for downstream packagers? Hmm, well. The way automake currently works is that all config files are overwritten

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Dave Reisner
On Tue, Jun 10, 2014 at 06:26:47PM +0200, Lennart Poettering wrote: On Sun, 08.06.14 09:37, Dave Reisner (d...@falconindy.com) wrote: On a related topic, could we please stop shipping hardcoded symlinks in /etc in favor of documented reccomendations for downstream packagers? Hmm, well.

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Lennart Poettering
On Tue, 10.06.14 13:10, Dave Reisner (d...@falconindy.com) wrote: Perhaps there's a middle ground we can find. Tom mentioned the idea of a package mode during configuration. How about a simpler idea -- if DESTDIR is empty, add the symlinks. Otherwise, don't. This sounds fragile... people

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Dave Reisner
On Tue, Jun 10, 2014 at 07:32:56PM +0200, Lennart Poettering wrote: Symlinks should probably just be considered different type of file, that have a contents and stuff. The contents is usually a file name, and there's a size limit, but other than that it's just a magic kind of file, where the

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Mike Gilbert
On Tue, Jun 10, 2014 at 1:32 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.06.14 13:10, Dave Reisner (d...@falconindy.com) wrote: Perhaps there's a middle ground we can find. Tom mentioned the idea of a package mode during configuration. How about a simpler idea -- if

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Simon McVittie
On 10/06/14 18:58, Mike Gilbert wrote: The problem with installing these symlinks as part of a package is that the user may have removed them from /etc/systemd using systemctl disable. ... If rpm or dpkg have a way to detect when the sysadmin has removed a file and will not replace that file,

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Lennart Poettering
On Tue, 10.06.14 13:58, Mike Gilbert (flop...@gentoo.org) wrote: Symlinks should probably just be considered different type of file, that have a contents and stuff. The contents is usually a file name, and there's a size limit, but other than that it's just a magic kind of file, where the

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Mike Gilbert
On Tue, Jun 10, 2014 at 5:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.06.14 13:58, Mike Gilbert (flop...@gentoo.org) wrote: Symlinks should probably just be considered different type of file, that have a contents and stuff. The contents is usually a file name, and

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-09 Thread Tom Gundersen
Hi Dave, On Sun, Jun 8, 2014 at 3:37 PM, Dave Reisner d...@falconindy.com wrote: Commit 2dcf7ec6ec added the following to Makefile.am: +GENERAL_ALIASES += \ + $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \ +

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-09 Thread Dave Reisner
On Mon, Jun 09, 2014 at 10:12:35AM +0200, Tom Gundersen wrote: Hi Dave, On Sun, Jun 8, 2014 at 3:37 PM, Dave Reisner d...@falconindy.com wrote: Commit 2dcf7ec6ec added the following to Makefile.am: +GENERAL_ALIASES += \ + $(systemunitdir)/systemd-networkd.service

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-09 Thread Colin Guthrie
'Twas brillig, and Dave Reisner at 09/06/14 15:08 did gyre and gimble: On a related topic, could we please stop shipping hardcoded symlinks in /etc in favor of documented reccomendations for downstream packagers? I believe the aim here is to make ./autogen.sh c make sudo make

[systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-08 Thread Dave Reisner
Hi, Commit 2dcf7ec6ec added the following to Makefile.am: +GENERAL_ALIASES += \ + $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \ + $(systemunitdir)/systemd-networkd.service