Processed: Re: Bug#770633: systemd: Suggestion for a method to handle multiple providers of the same service
Processing control commands: tag -1 moreinfo Bug #770633 [systemd] systemd: Suggestion for a method to handle multiple providers of the same service Ignoring request to alter tags of bug #770633 to the same tags previously set -- 770633: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770633 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
Bug#770633: systemd: Suggestion for a method to handle multiple providers of the same service
Control: tag -1 moreinfo On Nov 22, Andrei POPESCU andreimpope...@gmail.com wrote: Here's what I came up with, as possible addition to systemd.unit(5) A new unit file configuration directive would have to be accepted upstream. Didier suggested a different solution which can be implemented with no changes to the package, did you test it? -- ciao, Marco pgpiD_Vd2J0Uo.pgp Description: PGP signature ___ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
Bug#770633: systemd: Suggestion for a method to handle multiple providers of the same service
Le 22/11/2014 21:25, Andrei POPESCU a écrit : Package: systemd Version: 215-6 Severity: wishlist Tags: upstream Hello, I think systemd needs a method to deal with multiple providers of the same service that under usual circumstances (i.e. default configuration) can't run at the same time, e.g. display managers. Here's what I came up with, as possible addition to systemd.unit(5) --- [INSTALL] SECTION OPTIONS AlternativeFor= The name of a service this unit provides, of which there might be several providers that can't (under normal circumstances) run at the same time. At installation time systemctl enable will only create symlinks from this name to the unit filename, with the same suffix as this unit. This option implies a Conflicts= against all other providers of the same service. --- I think this would be quite simple to implement and is generic enough to be used for all kinds of services. Hey, See my answer on bug #764607, I think the Alias permits us to achieve this, in a same way we have alternatives. Then, it requires that the target Wants=this alternative though. Cheers, Didier ___ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
Bug#770633: systemd: Suggestion for a method to handle multiple providers of the same service
On Lu, 24 nov 14, 09:26:00, Didier Roche wrote: See my answer on bug #764607, I think the Alias permits us to achieve this, in a same way we have alternatives. Then, it requires that the target Wants=this alternative though. This didn't seem to work so well when lxdm declared Alias=display-manager.service. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770404 Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature ___ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
Bug#770633: systemd: Suggestion for a method to handle multiple providers of the same service
Le 24/11/2014 20:24, Andrei POPESCU a écrit : On Lu, 24 nov 14, 09:26:00, Didier Roche wrote: See my answer on bug #764607, I think the Alias permits us to achieve this, in a same way we have alternatives. Then, it requires that the target Wants=this alternative though. This didn't seem to work so well when lxdm declared Alias=display-manager.service. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770404 It seems they didn't use the postinst snippet I advised about (hence the symlink not being updated). ___ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers