Re: [systemd-devel] System units packaging and rpmlint

2013-06-17 Thread Lennart Poettering
On Sun, 16.06.13 19:18, David Greaves (da...@dgreaves.com) wrote: > > On 06/06/13 08:33, Lennart Poettering wrote: > > On Sat, 18.05.13 23:44, Michael Scherer (m...@zarb.org) wrote: > >> So I planned to warn if the unit are directly in /lib, but I know there > >> is some distribution that didn't

Re: [systemd-devel] System units packaging and rpmlint

2013-06-16 Thread Andrey Borzenkov
В Sun, 16 Jun 2013 19:18:45 +0100 David Greaves пишет: > On 06/06/13 08:33, Lennart Poettering wrote: > > On Sat, 18.05.13 23:44, Michael Scherer (m...@zarb.org) wrote: > >> So I planned to warn if the unit are directly in /lib, but I know there > >> is some distribution that didn't choose this p

Re: [systemd-devel] System units packaging and rpmlint

2013-06-16 Thread David Greaves
On 06/06/13 08:33, Lennart Poettering wrote: > On Sat, 18.05.13 23:44, Michael Scherer (m...@zarb.org) wrote: >> So I planned to warn if the unit are directly in /lib, but I know there >> is some distribution that didn't choose this path yet. So when /usr is >> not merged, what is the canonical loc

Re: [systemd-devel] System units packaging and rpmlint

2013-06-06 Thread Lennart Poettering
On Sun, 19.05.13 11:10, Andrey Borzenkov (arvidj...@gmail.com) wrote: > В Sat, 18 May 2013 23:50:52 -0700 > David Strauss пишет: > > > > > > - some package install directly file in /usr/lib/systemd/system/*.wants > > > There is some special case ( like plymouth ), but usually, that > > > should

Re: [systemd-devel] System units packaging and rpmlint

2013-06-06 Thread Lennart Poettering
On Sat, 18.05.13 23:44, Michael Scherer (m...@zarb.org) wrote: > Hi, > > After the last discussion on fedora-devel about boot times[1], I have > been looking at the various units on my disk and if I could code > something in rpmlint ( tool to verify a rpm against a set of guidelines > ) to have p

Re: [systemd-devel] System units packaging and rpmlint

2013-05-21 Thread Michael Scherer
Le lundi 20 mai 2013 à 19:58 -0700, T.C. Hollingsworth a écrit : > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > So I planned to warn if the unit are directly in /lib, but I know there > > is some distribution that didn't choose this path yet. So when /usr is > > not merged, what is

Re: [systemd-devel] System units packaging and rpmlint

2013-05-21 Thread Frederic Crozat
Le lundi 20 mai 2013 à 19:58 -0700, T.C. Hollingsworth a écrit : > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > So I planned to warn if the unit are directly in /lib, but I know there > > is some distribution that didn't choose this path yet. So when /usr is > > not merged, what is

Re: [systemd-devel] System units packaging and rpmlint

2013-05-20 Thread T.C. Hollingsworth
On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > So I planned to warn if the unit are directly in /lib, but I know there > is some distribution that didn't choose this path yet. So when /usr is > not merged, what is the canonical location ( ie, for Opensuse, Mandriva, > since they are bot

Re: [systemd-devel] System units packaging and rpmlint

2013-05-20 Thread Mathieu Bridon
On Sun, 2013-05-19 at 11:21 +0200, Michael Scherer wrote: > Le samedi 18 mai 2013 à 23:50 -0700, David Strauss a écrit : > > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > > - we should avoid as much as possible to use Type=forking when we can > > > avoid it. [... snip ...] > > That's

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread Zbigniew Jędrzejewski-Szmek
On Sat, May 18, 2013 at 11:44:48PM +0200, Michael Scherer wrote: > Hi, > > After the last discussion on fedora-devel about boot times[1], I have > been looking at the various units on my disk and if I could code > something in rpmlint ( tool to verify a rpm against a set of guidelines > ) to have

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread Michael Scherer
Le samedi 18 mai 2013 à 23:50 -0700, David Strauss a écrit : > I'm skipping to the questions I can answer. > > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > - we should avoid as much as possible to use Type=forking when we can > > avoid it. > > > > This one is likely the one that wi

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread David Strauss
I hopped in IRC just now if you'd like to chat. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread David Strauss
On Sun, May 19, 2013 at 12:10 AM, Andrey Borzenkov wrote: > Do you mean, "installing directly under /usr/lib/systemd/system/*.wants > should be an error"? It was the actual question. Wait, do you mean versus putting WantedBy= into the unit? That depends on packaging policy. RPM packaging policy i

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread David Strauss
On Sun, May 19, 2013 at 12:10 AM, Andrey Borzenkov wrote: > Do you mean, "installing directly under /usr/lib/systemd/system/*.wants > should be an error"? It was the actual question. > > I do not think there is single answer in all cases. IMHO it is > perfectly valid to use /usr/lib/systemd/system

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread Andrey Borzenkov
В Sat, 18 May 2013 23:50:52 -0700 David Strauss пишет: > > > - some package install directly file in /usr/lib/systemd/system/*.wants > > There is some special case ( like plymouth ), but usually, that > > shouldn't be done directly in the package, but better done in %post, and > > in /etc ? > >

Re: [systemd-devel] System units packaging and rpmlint

2013-05-18 Thread Andrey Borzenkov
В Sat, 18 May 2013 23:44:48 +0200 Michael Scherer пишет: > > So I planned to warn if the unit are directly in /lib, but I know there > is some distribution that didn't choose this path yet. So when /usr is > not merged, what is the canonical location ( ie, for Opensuse, Mandriva, > since they ar

Re: [systemd-devel] System units packaging and rpmlint

2013-05-18 Thread David Strauss
I'm skipping to the questions I can answer. On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > - we should avoid as much as possible to use Type=forking when we can > avoid it. > > This one is likely the one that will be met with resistance from > packagers, so before adding it as warning,