Re: systemd: Is it wrong?

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

 



On Sun, Jul 10, 2011 at 11:49:19AM -0500, Chris Adams wrote:

> Command line arguments and/or environment variables allow script-based
> startup to adapt to current conditions without having to edit a
> configuration file.  Now maybe you could argue that every program should
> figure out relevant things for itself, but here in the real world, that
> will never be the case.

The suggestion isn't that having the options is wrong, it's that having 
them as the primary means of configuration is poor design. If your 
entire configuration takes the form of a shell script that constructs a 
set of command line options then you've increased fragility for no 
benefit. Having a proper configuration file and allowing admins to 
override specific aspects of that from the command line isn't a problem.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux