Re: [systemd-devel] Netconsole NG

2014-04-09 Thread poma
On 08.04.2014 23:27, poma wrote: > On 08.04.2014 14:25, Tom Gundersen wrote: >> On Tue, Apr 8, 2014 at 2:10 PM, poma wrote: >>> On 08.04.2014 04:03, poma wrote: On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: >> T

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 09.04.2014 00:21, "Jóhann B. Guðmundsson" wrote: > > On 04/08/2014 09:53 PM, poma wrote: >> How do you know so much about swallows? > > Given that you respond in random unrelated quotes on threads and reports > then perhaps it's best that people start replying to you in same manner > since i

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread Jóhann B. Guðmundsson
On 04/08/2014 09:53 PM, poma wrote: How do you know so much about swallows? Given that you respond in random unrelated quotes on threads and reports then perhaps it's best that people start replying to you in same manner since it seems to be your preferred way of communication. JBG ___

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 08.04.2014 23:27, poma wrote: > On 08.04.2014 14:25, Tom Gundersen wrote: >> On Tue, Apr 8, 2014 at 2:10 PM, poma wrote: >>> On 08.04.2014 04:03, poma wrote: On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: >> T

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 08.04.2014 23:45, "Jóhann B. Guðmundsson" wrote: > > On 04/08/2014 09:27 PM, poma wrote: >> In fact, this method has long been known from the >> Lm_sensors - Linux hardware monitoring > > It's a well known fact that the internet is good at spreading ignorance > and what you just provided was

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread Jóhann B. Guðmundsson
On 04/08/2014 09:27 PM, poma wrote: In fact, this method has long been known from the Lm_sensors - Linux hardware monitoring It's a well known fact that the internet is good at spreading ignorance and what you just provided was an example of more people doing it wrong which does not make it

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 08.04.2014 18:21, "Jóhann B. Guðmundsson" wrote: > > On 04/08/2014 12:10 PM, poma wrote: >> [Service] >> EnvironmentFile=/etc/sysconfig/netconsole-zbyszek >> RemainAfterExit=yes >> ExecStart=/sbin/modprobe netconsole netconsole=@/${SRC_DEV},@${DST_IP}/ >> ExecStop=/sbin/modprobe -r netconsole >

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 08.04.2014 14:25, Tom Gundersen wrote: > On Tue, Apr 8, 2014 at 2:10 PM, poma wrote: >> On 08.04.2014 04:03, poma wrote: >>> On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: > The reason why this was not rewritten a l

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread Jóhann B. Guðmundsson
On 04/08/2014 12:10 PM, poma wrote: [Service] EnvironmentFile=/etc/sysconfig/netconsole-zbyszek RemainAfterExit=yes ExecStart=/sbin/modprobe netconsole netconsole=@/${SRC_DEV},@${DST_IP}/ ExecStop=/sbin/modprobe -r netconsole On popular demand of me providing more detailed criticism than just

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread Jóhann B. Guðmundsson
On 04/08/2014 12:25 PM, Tom Gundersen wrote: This looks like a definitive improvement. I beg the differ that unit file created/provided is rubbish I even go so far as saying every line in the [Service] section is a sample of what not to do. Anyone reading this thread should stay away from

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread Tom Gundersen
On Tue, Apr 8, 2014 at 2:10 PM, poma wrote: > On 08.04.2014 04:03, poma wrote: >> On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: >>> On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: The reason why this was not rewritten a long time ago is that the initscript tries t

Re: [systemd-devel] Netconsole NG

2014-04-08 Thread poma
On 08.04.2014 04:03, poma wrote: > On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: >> On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: >>> The reason why this was not rewritten a long time ago is that the >>> initscript tries to figure some of those values by itself (for >>> ex

Re: [systemd-devel] Netconsole NG

2014-04-07 Thread poma
On 07.04.2014 19:55, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: >> The reason why this was not rewritten a long time ago is that the >> initscript tries to figure some of those values by itself (for >> example the MAC address). But yes, we nee

Re: [systemd-devel] Netconsole NG

2014-04-07 Thread poma
On 07.04.2014 17:34, Lukáš Nykrýn wrote: > Dne 6.4.2014 17:59, poma napsal(a): >> >> /etc/sysconfig/netconsole: >> # This is the EnvironmentFile for the netconsole service. Starting this >> # service enables the capture of dmesg output on a destination machine. >> >> # Source port >> SRC_PORT=12345

Re: [systemd-devel] Netconsole NG

2014-04-07 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 07, 2014 at 05:34:10PM +0200, Lukáš Nykrýn wrote: > The reason why this was not rewritten a long time ago is that the > initscript tries to figure some of those values by itself (for > example the MAC address). But yes, we need to do something with > netconsole. It is a blocker for my i

Re: [systemd-devel] Netconsole NG

2014-04-07 Thread Lukáš Nykrýn
Dne 6.4.2014 17:59, poma napsal(a): /etc/sysconfig/netconsole: # This is the EnvironmentFile for the netconsole service. Starting this # service enables the capture of dmesg output on a destination machine. # Source port SRC_PORT=12345 # Source IP address SRC_IP=192.168.1.2 # Source network d

Re: [systemd-devel] Netconsole NG

2014-04-06 Thread poma
On 06.04.2014 19:40, Cristian Rodríguez wrote: > El 06/04/14 13:42, Cristian Rodríguez escribió: > >> Hrmm.. a systemd-netconsole.service that could setup this is a clean >> race-free fashion will be a cool addition to the stack ;) > > The question is.. as a separate tool or an extension to netwo

Re: [systemd-devel] Netconsole NG

2014-04-06 Thread Cristian Rodríguez
El 06/04/14 13:42, Cristian Rodríguez escribió: Hrmm.. a systemd-netconsole.service that could setup this is a clean race-free fashion will be a cool addition to the stack ;) The question is.. as a separate tool or an extension to networkd, which seems to be a more suitable place.. NetConso

Re: [systemd-devel] Netconsole NG

2014-04-06 Thread poma
On 06.04.2014 18:42, Cristian Rodríguez wrote: > El 06/04/14 12:59, poma escribió: > >> /usr/lib/systemd/system/netconsole.service: >> [Unit] >> Description=Adds the netconsole module with the configured parameters >> After=network.target >> >> [Service] >> EnvironmentFile=/etc/sysconfig/netconsol

Re: [systemd-devel] Netconsole NG

2014-04-06 Thread Cristian Rodríguez
El 06/04/14 12:59, poma escribió: /usr/lib/systemd/system/netconsole.service: [Unit] Description=Adds the netconsole module with the configured parameters After=network.target [Service] EnvironmentFile=/etc/sysconfig/netconsole Type=simple RemainAfterExit=yes ExecStart=/usr/sbin/modprobe netco