Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-24 Thread Adam Williamson
On Wed, 2019-04-24 at 12:11 -0700, Adam Williamson wrote: > On Mon, 2019-04-22 at 10:49 -0700, Samuel Sieb wrote: > > On 4/22/19 9:25 AM, Adam Williamson wrote: > > > AIUI, the design is that any package that *ships a preset* should run > > > systemctl preset on it in its scriptlets (there should b

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-24 Thread Adam Williamson
On Mon, 2019-04-22 at 10:49 -0700, Samuel Sieb wrote: > On 4/22/19 9:25 AM, Adam Williamson wrote: > > AIUI, the design is that any package that *ships a preset* should run > > systemctl preset on it in its scriptlets (there should be guidelines > > for this somewhere but I can't find them right no

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-24 Thread Adam Williamson
On Mon, 2019-04-22 at 18:42 +, Zbigniew Jędrzejewski-Szmek wrote: > > > > AIUI, the design is that any package that *ships a preset* should run > > > systemctl preset on it in its scriptlets (there should be guidelines > > > for this somewhere but I can't find them right now). > > There's no

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-24 Thread John Florian
On 4/22/19 12:25 PM, Adam Williamson wrote: On Sat, 2019-04-20 at 07:59 +, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: I'm generally familiar with how systemd presets work but I'm at a bit of loss as to how part of all the magic works.

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-24 Thread John Florian
On 4/22/19 12:31 PM, Adam Williamson wrote: On Mon, 2019-04-22 at 09:25 -0700, Adam Williamson wrote: On Sat, 2019-04-20 at 07:59 +, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: I'm generally familiar with how systemd presets work but I'm

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-23 Thread Colin Walters
Here's a related discussion for CoreOS-style systems: https://github.com/coreos/fedora-coreos-config/pull/77 It's quite different from traditional since Ignition implies using ConditionFirstBoot which means systemd does a preset-all on firstboot; the PR is about the tension between what RPM is d

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-22 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 22, 2019 at 09:31:19AM -0700, Adam Williamson wrote: > On Mon, 2019-04-22 at 09:25 -0700, Adam Williamson wrote: > > On Sat, 2019-04-20 at 07:59 +, Zbigniew Jędrzejewski-Szmek wrote: > > > On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: > > > > I'm generally familiar w

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-22 Thread Samuel Sieb
On 4/22/19 9:25 AM, Adam Williamson wrote: AIUI, the design is that any package that *ships a preset* should run systemctl preset on it in its scriptlets (there should be guidelines for this somewhere but I can't find them right now). However, there's a loophole here in that if any package that s

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-22 Thread Adam Williamson
On Mon, 2019-04-22 at 09:25 -0700, Adam Williamson wrote: > On Sat, 2019-04-20 at 07:59 +, Zbigniew Jędrzejewski-Szmek wrote: > > On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: > > > I'm generally familiar with how systemd presets work but I'm at a > > > bit of loss as to how par

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-22 Thread Adam Williamson
On Sat, 2019-04-20 at 07:59 +, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: > > I'm generally familiar with how systemd presets work but I'm at a > > bit of loss as to how part of all the magic works. To best explain > > my confusion, let m

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-22 Thread John Florian
On 4/20/19 3:59 AM, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: I'm generally familiar with how systemd presets work but I'm at a bit of loss as to how part of all the magic works.  To best explain my confusion, let me say that I make a custom

Re: Understanding Fedora's use of systemd presets and packaging requirements

2019-04-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Apr 19, 2019 at 04:35:54PM -0400, John Florian wrote: > I'm generally familiar with how systemd presets work but I'm at a > bit of loss as to how part of all the magic works.  To best explain > my confusion, let me say that I make a customized live spin of > Fedora and I have a package we'l

Understanding Fedora's use of systemd presets and packaging requirements

2019-04-19 Thread John Florian
I'm generally familiar with how systemd presets work but I'm at a bit of loss as to how part of all the magic works.  To best explain my confusion, let me say that I make a customized live spin of Fedora and I have a package we'll call "my-dist" which is similar in nature to the "fedora-release