:: Re: [DNG] Init compatibility
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: KatolaZ
Fecha:  
A: Steve Litt
Cc: dng
Asunto: Re: [DNG] Init compatibility
On Sun, Jun 05, 2016 at 10:38:33AM -0400, Steve Litt wrote:
> On Sun, 5 Jun 2016 10:58:37 +0000
> hellekin <hellekin@???> wrote:
>
> > On 06/03/2016 10:42 PM, Florian Zieboll wrote:
> > >
> > > That said, I wonder, what information any
> > > arbitrary init system would need, that can not be delivered e.g. in
> > > a simple XML file, packaged with the daemon.
> > >
> >
> > An XML file, however simple it may be, is probably the last thing you
> > want to add to an arbitrary init system.
>
> Hi hellekin,
>
> That was my reaction, before realizing that his idea was to, just once
> per config change, modify the XML and then run a user level program to
> update the rc files or whatever.
>


Unfortunately, there is no such thing as "just...modify the XML and
run a user level program to update the rc file" which has ever worked
flawlessly. "Just... modifying" an existing XML is a nightmare for a
human, which is why you usually leave it to tools, which unavoidably
become complex and unmaintanable.

I am absolutely sure that there is an easier and more maintainable
solution than XML. We probably have to think harder.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]