Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-19 Thread Michal Sekletar
On Tue, Aug 19, 2025 at 9:41 AM David Tardon wrote: > > That's quite interesting interpretation of a "default"... To me, > "default" means something that happens _if I don't make any choice_[1]. > If I pick a specific unit to start, it's not a temporary change of the > default, it's a selection of

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-19 Thread Andrei Borzenkov
On Tue, Aug 19, 2025 at 10:41 AM David Tardon wrote: ... > > > In any case, I have seen people using (and expecting) > > WantedBy=default.target to mean "please attempt to start this unit in > > any default target". Using 3 on kernel cmdline is setting default > > target for current boot (from use

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-19 Thread David Tardon
Hi, On Wed, 2025-08-13 at 09:46 +0200, Michal Sekletar wrote: > On Wed, Aug 13, 2025 at 8:22 AM Andrei Borzenkov > wrote: > > On Tue, Aug 12, 2025 at 11:59 AM Silvio Knizek > > wrote: > > > > > > Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei > > > Borzenkov: > > > > > > I spent som

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-14 Thread Silvio Knizek
Am Mittwoch, dem 13.08.2025 um 09:21 +0300 schrieb Andrei Borzenkov: > On Tue, Aug 12, 2025 at 11:59 AM Silvio Knizek > <[killermoe...@gmx.net](mailto:killermoe...@gmx.net)> wrote: > > > Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei Borzenkov: > > > > I spent some time trying to und

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-13 Thread Michal Sekletar
On Wed, Aug 13, 2025 at 8:22 AM Andrei Borzenkov wrote: > On Tue, Aug 12, 2025 at 11:59 AM Silvio Knizek > wrote: > > > > Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei Borzenkov: > > > > I spent some time trying to understand why a service that should have > been started was not. It

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-12 Thread Andrei Borzenkov
On Tue, Aug 12, 2025 at 11:59 AM Silvio Knizek wrote: > > Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei Borzenkov: > > I spent some time trying to understand why a service that should have been > started was not. It turned out rather simple - the service was > WantedBy=default.target

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-12 Thread Silvio Knizek
Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei Borzenkov: > > I spent some time trying to understand why a service that should have > been started was not. It turned out rather simple - the service was > WantedBy=default.target, I explicitly used "3" on the kernel command > line and thi

[systemd-devel] Semantic of WantedBy=default.target

2025-08-12 Thread Andrei Borzenkov
I spent some time trying to understand why a service that should have been started was not. It turned out rather simple - the service was WantedBy=default.target, I explicitly used "3" on the kernel command line and this made systemd to ignore /etc/systemd/system/default.target.wants. Is there any