Re: Think twice before moving to systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Aug 15, 2012 at 6:33 AM, Leon Feng <rainofchaos@xxxxxxxxx> wrote:
> 2012/8/15 Felipe Contreras <felipe.contreras@xxxxxxxxx>:
>> Hi,
>>
>> Finally, it's much harder to debug. If you have a problem you will not
>> be able to open a script and figure out what is happening, and perhaps
>> modify it, and debug it. You would be greeted with an unmodified
>> binary, and the source code would be along these lines:
>>
>> http://cgit.freedesktop.org/systemd/systemd/tree/src/remount-fs/remount-fs.c
>>
>
> The fact is you do not need to debug these scripts anymore. One
> foo.service is tested ok in one distro, it will be push into upstream
> and all other distro can just use it.

Yes, you need to debug them, because they are not self-contained, the
interact with the rest of the system. So what the C file does in your
system is not what it does on my system; it depends on countless other
things, such as configuration.

> When blame the C file here, do not forget most of the program you use
> is using C. The problem with bash script is they can not be
> used/shared between different distro. So every distro has to maintain
> their own script. It is a waste of time and resources.

Yes they can. Code is code, language doesn't make a piece of code more
share-able between distros than others.

Cheers.

-- 
Felipe Contreras


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux