On 11 July 2011 11:56, Andreas Jaeger
On Friday, July 08, 2011 19:31:07 Christian Boltz wrote:
You could do exactly the same with the other proposal.
Just have a single file for each service 01_ssh.service with enable/disable ssh in it - and the 99_default file.
The only thing my proposal doesn't solve is if enabled or disabled should win if both exist - but this issue exists in all proposals I've seen until now. It's probably something that should be (or already is) hardcoded in systemd.
Much friendly to the sysadmin to work with list of files in directory, not look inside file. Means less code & more efficient GUI program to "echo */*.service | sort". Disabled is logical choice, it's far safer to have a "failed service" than one accidentally running, if something is broke it gets fixed; something running that should not be, or a service accidentally started can have disproportionately expensive consequences. Files have same issue as 2 directory flag solution, one can write enabled & disabled in the file, so it's same configuration error as having directory entries (zero byte files) in both enabled & disabled. Regards Rob -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org