Re: [systemd-devel] [systemd-commits] TODO

2015-04-29 Thread David Herrmann
Hi

On Wed, Apr 29, 2015 at 2:25 PM, Zbigniew Jędrzejewski-Szmek
 wrote:
> On Wed, Apr 29, 2015 at 11:51:18AM +0200, Martin Pitt wrote:
>> Hello all,
>>
>> Lennart Poettering [2015-04-28 17:48 +0200]:
>> > Hmm, so, anyone found out anything useful about this? None of the
>> > links above has anything useful really. I have never seen this issue
>> > myself, so I kinda am relying on input from those who experiencing
>> > this.
>> >
>> > Is this still an issue with current, unpatched git (which has fsckd
>> > removed among other changes).
>>
>> Good news! I restarted my Reboot Loop Smoke Test Of Doom, and git
>> master indeed seems fine. So a git bisect run [1] and a few hours
>> later tells me that apparently
>> http://cgit.freedesktop.org/systemd/systemd/commit/?id=6410 fixes
>> this for good. Thanks to Zbigniew and Coverity! :-)
> As I wrote in the commit message, I didn't see anything wrong in the
> original code. But if you say it helps... I don't mind.

Original code did this (simplified):

msg_control = alloca(CMSG_SPACE(cred) + CMSG_SPACE(fds));
msg_controllen = CMSG_LEN(fds);
...
msg_controllen += CMSG_LEN(cred);

However, this is _wrong_. "msg_controllen" is the sum of all
CMSG_SPACE(), not CMSG_LEN(). The latter doesn't add alignment to the
length of the payload.

The new code correctly uses CMSG_SPACE(), probably by accident.

Thanks
David
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-29 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 29, 2015 at 11:51:18AM +0200, Martin Pitt wrote:
> Hello all,
> 
> Lennart Poettering [2015-04-28 17:48 +0200]:
> > Hmm, so, anyone found out anything useful about this? None of the
> > links above has anything useful really. I have never seen this issue
> > myself, so I kinda am relying on input from those who experiencing
> > this.
> > 
> > Is this still an issue with current, unpatched git (which has fsckd
> > removed among other changes).
> 
> Good news! I restarted my Reboot Loop Smoke Test Of Doom, and git
> master indeed seems fine. So a git bisect run [1] and a few hours
> later tells me that apparently
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=6410 fixes
> this for good. Thanks to Zbigniew and Coverity! :-)
As I wrote in the commit message, I didn't see anything wrong in the
original code. But if you say it helps... I don't mind.

> Thus it seems the bug was really introduced in
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=a354329f72 and
> the reverted commit
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=13790add4bf64
> merely exposed the bug as journald was (one of the) first user of fd
> storage.
> 
> Commit 6410 applies cleanly on top of v219-stable, so I replaced
> our reverted patch with a backport of that fix, and successfully
> re-tested a package with that. Can we get this into v219-stable?
I'll push to -stable.

> (FTR: This bug was reported before fsckd, so that had nothing to do
> with it)
> 
> Thanks,
> 
> Martin (who is happy that this excruciating bug finally seems fixed)
> 
> [1] Every time I use this a small kitten comes back to life!
> 
> -- 
> Martin Pitt| http://www.piware.de
> Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-29 Thread Lennart Poettering
On Wed, 29.04.15 11:51, Martin Pitt (martin.p...@ubuntu.com) wrote:

> Hello all,
> 
> Lennart Poettering [2015-04-28 17:48 +0200]:
> > Hmm, so, anyone found out anything useful about this? None of the
> > links above has anything useful really. I have never seen this issue
> > myself, so I kinda am relying on input from those who experiencing
> > this.
> > 
> > Is this still an issue with current, unpatched git (which has fsckd
> > removed among other changes).
> 
> Good news! I restarted my Reboot Loop Smoke Test Of Doom, and git
> master indeed seems fine. So a git bisect run [1] and a few hours
> later tells me that apparently
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=6410 fixes
> this for good. Thanks to Zbigniew and Coverity! :-)

Ah thank you very much for tracking this down! Much appreciated!

/me strikes this one of his list.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-29 Thread Martin Pitt
Hello all,

Lennart Poettering [2015-04-28 17:48 +0200]:
> Hmm, so, anyone found out anything useful about this? None of the
> links above has anything useful really. I have never seen this issue
> myself, so I kinda am relying on input from those who experiencing
> this.
> 
> Is this still an issue with current, unpatched git (which has fsckd
> removed among other changes).

Good news! I restarted my Reboot Loop Smoke Test Of Doom, and git
master indeed seems fine. So a git bisect run [1] and a few hours
later tells me that apparently
http://cgit.freedesktop.org/systemd/systemd/commit/?id=6410 fixes
this for good. Thanks to Zbigniew and Coverity! :-)

Thus it seems the bug was really introduced in
http://cgit.freedesktop.org/systemd/systemd/commit/?id=a354329f72 and
the reverted commit
http://cgit.freedesktop.org/systemd/systemd/commit/?id=13790add4bf64
merely exposed the bug as journald was (one of the) first user of fd
storage.

Commit 6410 applies cleanly on top of v219-stable, so I replaced
our reverted patch with a backport of that fix, and successfully
re-tested a package with that. Can we get this into v219-stable?

(FTR: This bug was reported before fsckd, so that had nothing to do
with it)

Thanks,

Martin (who is happy that this excruciating bug finally seems fixed)

[1] Every time I use this a small kitten comes back to life!

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-28 Thread Lennart Poettering
On Tue, 28.04.15 20:33, Tobias Hunger (tobias.hun...@gmail.com) wrote:

> Hi Lennart,
> 
> I only cared since it was blocking systemd 219 in arch. I never had
> any problem and assumed this was fixed since systemd 219 landed in
> Arch a while back.

OK, everyone who maintains this in distros, please provide me with the
data i asked for below, or otherwise this issue will stay unfixed in
the next release, too.

Martin, any chance you can help with this?

> On Tue, Apr 28, 2015 at 5:48 PM, Lennart Poettering
>  wrote:
> > On Sun, 12.04.15 17:58, Tobias Hunger (tobias.hun...@gmail.com) wrote:
> >
> >> Hi Lennart,
> >>
> >> I just asked about the status of this, so I have links handy:
> >>
> >> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1423811
> >> https://bugs.archlinux.org/task/44016
> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778970
> >> https://bugzilla.redhat.com/show_bug.cgi?id=1201964
> >>
> >> All of these distros currently do not ship 219 or have 219 with said
> >> patch reverted.
> >>
> >> First referrence to the issue on this list:
> >> http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html
> >>
> >> I was wondering about the status a couple of days ago:
> >> http://lists.freedesktop.org/archives/systemd-devel/2015-April/030540.html
> >
> > Hmm, so, anyone found out anything useful about this? None of the
> > links above has anything useful really. I have never seen this issue
> > myself, so I kinda am relying on input from those who experiencing
> > this.
> >
> > Is this still an issue with current, unpatched git (which has fsckd
> > removed among other changes).
> >
> > What precisely hangs?
> >
> > What's the process list if this hangs? (use the debug shell, to get this)
> >
> > What are the backtraces when this happens of the relevant programs?
> > i.e. of PID 1, of journald, and the other processes that run in
> > userspace?
> >
> > what does "systemctl list-jobs" show?
> >
> > does this happen with journald in the initrd in the same version as on
> > the host?
> >
> > is this reproducible without initrd in the mix?
> >
> > Lennart
> >
> > --
> > Lennart Poettering, Red Hat
> 


Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-28 Thread Tobias Hunger
Hi Lennart,

I only cared since it was blocking systemd 219 in arch. I never had
any problem and assumed this was fixed since systemd 219 landed in
Arch a while back.

Best Regards,
Tobias


On Tue, Apr 28, 2015 at 5:48 PM, Lennart Poettering
 wrote:
> On Sun, 12.04.15 17:58, Tobias Hunger (tobias.hun...@gmail.com) wrote:
>
>> Hi Lennart,
>>
>> I just asked about the status of this, so I have links handy:
>>
>> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1423811
>> https://bugs.archlinux.org/task/44016
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778970
>> https://bugzilla.redhat.com/show_bug.cgi?id=1201964
>>
>> All of these distros currently do not ship 219 or have 219 with said
>> patch reverted.
>>
>> First referrence to the issue on this list:
>> http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html
>>
>> I was wondering about the status a couple of days ago:
>> http://lists.freedesktop.org/archives/systemd-devel/2015-April/030540.html
>
> Hmm, so, anyone found out anything useful about this? None of the
> links above has anything useful really. I have never seen this issue
> myself, so I kinda am relying on input from those who experiencing
> this.
>
> Is this still an issue with current, unpatched git (which has fsckd
> removed among other changes).
>
> What precisely hangs?
>
> What's the process list if this hangs? (use the debug shell, to get this)
>
> What are the backtraces when this happens of the relevant programs?
> i.e. of PID 1, of journald, and the other processes that run in
> userspace?
>
> what does "systemctl list-jobs" show?
>
> does this happen with journald in the initrd in the same version as on
> the host?
>
> is this reproducible without initrd in the mix?
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-28 Thread Lennart Poettering
On Sun, 12.04.15 17:58, Tobias Hunger (tobias.hun...@gmail.com) wrote:

> Hi Lennart,
> 
> I just asked about the status of this, so I have links handy:
> 
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1423811
> https://bugs.archlinux.org/task/44016
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778970
> https://bugzilla.redhat.com/show_bug.cgi?id=1201964
> 
> All of these distros currently do not ship 219 or have 219 with said
> patch reverted.
> 
> First referrence to the issue on this list:
> http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html
> 
> I was wondering about the status a couple of days ago:
> http://lists.freedesktop.org/archives/systemd-devel/2015-April/030540.html

Hmm, so, anyone found out anything useful about this? None of the
links above has anything useful really. I have never seen this issue
myself, so I kinda am relying on input from those who experiencing
this.

Is this still an issue with current, unpatched git (which has fsckd
removed among other changes).

What precisely hangs? 

What's the process list if this hangs? (use the debug shell, to get this)

What are the backtraces when this happens of the relevant programs?
i.e. of PID 1, of journald, and the other processes that run in
userspace?

what does "systemctl list-jobs" show?

does this happen with journald in the initrd in the same version as on
the host?

is this reproducible without initrd in the mix?

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-12 Thread Tobias Hunger
Hi Lennart,

I just asked about the status of this, so I have links handy:

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1423811
https://bugs.archlinux.org/task/44016
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778970
https://bugzilla.redhat.com/show_bug.cgi?id=1201964

All of these distros currently do not ship 219 or have 219 with said
patch reverted.

First referrence to the issue on this list:
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html

I was wondering about the status a couple of days ago:
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030540.html

Best Regards,
Tobias

On Sun, Apr 12, 2015 at 3:32 PM, Lennart Poettering
 wrote:
> On Sat, 11.04.15 03:13, David Herrmann (dvd...@kemper.freedesktop.org) wrote:
>
>>  Before 220:
>>
>> +* Figure out why 13790add4 breaks boot across all distributions. Revert it 
>> if
>> +  we cannot get it fixed.
>> +
>
> Hmm, what's this about? Works fine here?
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2015-04-12 Thread Lennart Poettering
On Sat, 11.04.15 03:13, David Herrmann (dvd...@kemper.freedesktop.org) wrote:

>  Before 220:
>  
> +* Figure out why 13790add4 breaks boot across all distributions. Revert it if
> +  we cannot get it fixed.
> +

Hmm, what's this about? Works fine here?

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO man/journalctl.xml man/sd_journal_open.xml src/journal src/libsystemd-bus src/shared src/systemd

2013-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 11, 2013 at 01:05:33PM -0800, Lennart Poettering wrote:
> journal: add ability to browse journals of running OS containers
> 
> This adds the new library call sd_journal_open_container() and a new
> "-M" switch to journalctl. Particular care is taken that journalctl's
> "-b" switch resolves to the current boot ID of the container, not the
> host.
For anyone reading this... In related news, 'journalctl -D /path/to/journal -b 
-0'
also shows the "current"/last boot in the directory specified with -D.

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-15 Thread Lennart Poettering
On Fri, 11.01.13 21:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:

> > I mean, we have a huge amount of docs now, I somehow think that merging
> > that all into one gigantic file doesn't really scale and just creates
> > noise (i.e. why would you want systemd-delta's man page in your data set
> > if you grep for a config setting?). So I'd rather vote for two index pages:
> > 
> >  systemd.index(1) as an index of all man pages we have (i.e. a man
> >  version of the HTML index we already have)
> > 
> >  systemd.config(5) as index of all configuration settings, from all
> >  configuration files.
> What about existing systemd.directives(5)?

I totally forget we already have that. It probably needs a lot of
updating to be complete. And we probably should link it up at more
places so that people actually get to know about it. People like me for
example... ;-)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-11 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 11, 2013 at 09:00:44PM +0100, Lennart Poettering wrote:
> On Fri, 11.01.13 11:23, Colin Guthrie (gm...@colin.guthr.ie) wrote:
> 
> > >> List of all zsh's man pages appears on top of zshall(1) simply because
> > >> it includes zsh(1) as well :)
> > > 
> > > Uh, ah. I prefer having systemdall however as an index only. Not really
> > > convinced such a merged page makes much sense for us.
> > 
> > As Tollef said it can be quite useful. I often find myself
> > half-remembering a directive and then going through each of systemd.unit
> > systemd.service and systemd.exec trying to find it each time with
> > variations on the name in case I'm remembering it slightly wrong.
> > 
> > An index is useful but a single man page with everything in it what I
> > can grep is really useful at times.
> 
> Hmm, there is an item on the TODO list to have an explicit index
> somewhere of all settings, with references to the various man pages we
> have. I.e. something where all settings from the unit files,
> logind.conf, system.conf, journal.conf and so on are listed, with
> references to the actual man pages.
> 
> I mean, we have a huge amount of docs now, I somehow think that merging
> that all into one gigantic file doesn't really scale and just creates
> noise (i.e. why would you want systemd-delta's man page in your data set
> if you grep for a config setting?). So I'd rather vote for two index pages:
> 
>  systemd.index(1) as an index of all man pages we have (i.e. a man
>  version of the HTML index we already have)
> 
>  systemd.config(5) as index of all configuration settings, from all
>  configuration files.
What about existing systemd.directives(5)?

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-11 Thread Lennart Poettering
On Fri, 11.01.13 11:23, Colin Guthrie (gm...@colin.guthr.ie) wrote:

> >> List of all zsh's man pages appears on top of zshall(1) simply because
> >> it includes zsh(1) as well :)
> > 
> > Uh, ah. I prefer having systemdall however as an index only. Not really
> > convinced such a merged page makes much sense for us.
> 
> As Tollef said it can be quite useful. I often find myself
> half-remembering a directive and then going through each of systemd.unit
> systemd.service and systemd.exec trying to find it each time with
> variations on the name in case I'm remembering it slightly wrong.
> 
> An index is useful but a single man page with everything in it what I
> can grep is really useful at times.

Hmm, there is an item on the TODO list to have an explicit index
somewhere of all settings, with references to the various man pages we
have. I.e. something where all settings from the unit files,
logind.conf, system.conf, journal.conf and so on are listed, with
references to the actual man pages.

I mean, we have a huge amount of docs now, I somehow think that merging
that all into one gigantic file doesn't really scale and just creates
noise (i.e. why would you want systemd-delta's man page in your data set
if you grep for a config setting?). So I'd rather vote for two index pages:

 systemd.index(1) as an index of all man pages we have (i.e. a man
 version of the HTML index we already have)

 systemd.config(5) as index of all configuration settings, from all
 configuration files.

Does that make sense?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-11 Thread Lennart Poettering
On Thu, 10.01.13 21:17, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:

> On Thu, Jan 10, 2013 at 08:30:53PM +0100, Lennart Poettering wrote:
> > On Thu, 10.01.13 03:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) 
> > wrote:
> > 
> > > 
> > > On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > > > +* add a man page "systemdall" that lists all of systemd's man pages, 
> > > > inspired by zsh's "zshall" page
> > > 
> > > Shouldn't just make-man-index.py be tweaked to generate .xml instead
> > > (like make-directive-index.py) ?
> > 
> > Interesting idea, I like it. But maybe for the man page we want slightly
> > more info included than the HTML index has, for example the NAME section
> > of the man pages?
> Hm, isn't NAME section already included in index.html?

Oh, indeed. Not sure what I was thinking

> 
> Btw, systemd(1) is already taken, so systemd.all (or systemdall) it'll
> have to be.

Maybe systemd.index?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-11 Thread Andrey Borzenkov
В Fri, 11 Jan 2013 11:23:41 +
Colin Guthrie  пишет:

> 'Twas brillig, and Lennart Poettering at 10/01/13 19:29 did gyre and gimble:
> > On Thu, 10.01.13 21:06, Andrey Borzenkov (arvidj...@gmail.com) wrote:
> > 
> >> В Thu, 10 Jan 2013 03:30:53 +0100
> >> Zbigniew Jędrzejewski-Szmek  пишет:
> >>
> >>> On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
>  +* add a man page "systemdall" that lists all of systemd's man pages, 
>  inspired by zsh's "zshall" page
> >>>
> >>> Shouldn't just make-man-index.py be tweaked to generate .xml instead
> >>> (like make-directive-index.py) ?
> >>>
> >>
> >> zshall(1) does not actually "lists all of zsh's man pages". This is
> >> what zsh(1) does. zshall(1) actually includes all of zsh man pages,
> >> making it one bug large man page similar to bash.
> >>
> >> List of all zsh's man pages appears on top of zshall(1) simply because
> >> it includes zsh(1) as well :)
> > 
> > Uh, ah. I prefer having systemdall however as an index only. Not really
> > convinced such a merged page makes much sense for us.
> 
> As Tollef said it can be quite useful. I often find myself
> half-remembering a directive and then going through each of systemd.unit
> systemd.service and systemd.exec trying to find it each time with
> variations on the name in case I'm remembering it slightly wrong.
> 
> An index is useful but a single man page with everything in it what I
> can grep is really useful at times.
> 

systemd.info with index of all directives sounds even better ... not
sure how easy it is to generate it from man systemd sources.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-11 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 10/01/13 19:29 did gyre and gimble:
> On Thu, 10.01.13 21:06, Andrey Borzenkov (arvidj...@gmail.com) wrote:
> 
>> В Thu, 10 Jan 2013 03:30:53 +0100
>> Zbigniew Jędrzejewski-Szmek  пишет:
>>
>>> On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
 +* add a man page "systemdall" that lists all of systemd's man pages, 
 inspired by zsh's "zshall" page
>>>
>>> Shouldn't just make-man-index.py be tweaked to generate .xml instead
>>> (like make-directive-index.py) ?
>>>
>>
>> zshall(1) does not actually "lists all of zsh's man pages". This is
>> what zsh(1) does. zshall(1) actually includes all of zsh man pages,
>> making it one bug large man page similar to bash.
>>
>> List of all zsh's man pages appears on top of zshall(1) simply because
>> it includes zsh(1) as well :)
> 
> Uh, ah. I prefer having systemdall however as an index only. Not really
> convinced such a merged page makes much sense for us.

As Tollef said it can be quite useful. I often find myself
half-remembering a directive and then going through each of systemd.unit
systemd.service and systemd.exec trying to find it each time with
variations on the name in case I'm remembering it slightly wrong.

An index is useful but a single man page with everything in it what I
can grep is really useful at times.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Tollef Fog Heen
]] Lennart Poettering 

> Uh, ah. I prefer having systemdall however as an index only. Not really
> convinced such a merged page makes much sense for us.

That doesn't sound like systemdall, it sounds like systemd(7).  The
useful thing about zshall (and by extension systemdall) is it's more
greppable than a zillion smaller pages.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 10, 2013 at 09:30:02PM +0100, Tom Gundersen wrote:
> On Jan 10, 2013 9:17 PM, "Zbigniew Jędrzejewski-Szmek" 
> wrote:
> >
> > On Thu, Jan 10, 2013 at 08:30:53PM +0100, Lennart Poettering wrote:
> > > On Thu, 10.01.13 03:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)
> wrote:
> > >
> > > >
> > > > On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > > > > +* add a man page "systemdall" that lists all of systemd's man
> pages, inspired by zsh's "zshall" page
> > > >
> > > > Shouldn't just make-man-index.py be tweaked to generate .xml instead
> > > > (like make-directive-index.py) ?
> > >
> > > Interesting idea, I like it. But maybe for the man page we want slightly
> > > more info included than the HTML index has, for example the NAME section
> > > of the man pages?
> > Hm, isn't NAME section already included in index.html?
> >
> > Btw, systemd(1) is already taken, so systemd.all (or systemdall) it'll
> > have to be.
> 
> How about making it part of systemd(1)?
The list is now >200 items long. But I guess that if it landed
in 'SEE ALSO' in systemd(1), that could work.

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 10, 2013 at 08:30:53PM +0100, Lennart Poettering wrote:
> On Thu, 10.01.13 03:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
> 
> > 
> > On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > > +* add a man page "systemdall" that lists all of systemd's man pages, 
> > > inspired by zsh's "zshall" page
> > 
> > Shouldn't just make-man-index.py be tweaked to generate .xml instead
> > (like make-directive-index.py) ?
> 
> Interesting idea, I like it. But maybe for the man page we want slightly
> more info included than the HTML index has, for example the NAME section
> of the man pages?
Hm, isn't NAME section already included in index.html?

Btw, systemd(1) is already taken, so systemd.all (or systemdall) it'll
have to be.

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Lennart Poettering
On Thu, 10.01.13 03:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:

> 
> On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > +* add a man page "systemdall" that lists all of systemd's man pages, 
> > inspired by zsh's "zshall" page
> 
> Shouldn't just make-man-index.py be tweaked to generate .xml instead
> (like make-directive-index.py) ?

Interesting idea, I like it. But maybe for the man page we want slightly
more info included than the HTML index has, for example the NAME section
of the man pages?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Lennart Poettering
On Thu, 10.01.13 21:06, Andrey Borzenkov (arvidj...@gmail.com) wrote:

> В Thu, 10 Jan 2013 03:30:53 +0100
> Zbigniew Jędrzejewski-Szmek  пишет:
> 
> > On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > > +* add a man page "systemdall" that lists all of systemd's man pages, 
> > > inspired by zsh's "zshall" page
> > 
> > Shouldn't just make-man-index.py be tweaked to generate .xml instead
> > (like make-directive-index.py) ?
> > 
> 
> zshall(1) does not actually "lists all of zsh's man pages". This is
> what zsh(1) does. zshall(1) actually includes all of zsh man pages,
> making it one bug large man page similar to bash.
> 
> List of all zsh's man pages appears on top of zshall(1) simply because
> it includes zsh(1) as well :)

Uh, ah. I prefer having systemdall however as an index only. Not really
convinced such a merged page makes much sense for us.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Andrey Borzenkov
В Thu, 10 Jan 2013 03:30:53 +0100
Zbigniew Jędrzejewski-Szmek  пишет:

> On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> > +* add a man page "systemdall" that lists all of systemd's man pages, 
> > inspired by zsh's "zshall" page
> 
> Shouldn't just make-man-index.py be tweaked to generate .xml instead
> (like make-directive-index.py) ?
> 

zshall(1) does not actually "lists all of zsh's man pages". This is
what zsh(1) does. zshall(1) actually includes all of zsh man pages,
making it one bug large man page similar to bash.

List of all zsh's man pages appears on top of zshall(1) simply because
it includes zsh(1) as well :)
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [systemd-commits] TODO

2013-01-09 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote:
> +* add a man page "systemdall" that lists all of systemd's man pages, 
> inspired by zsh's "zshall" page

Shouldn't just make-man-index.py be tweaked to generate .xml instead
(like make-directive-index.py) ?

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel