Re: [gentoo-user] looking for a couple of systemd units

2013-08-29 Thread Graham Murray
Stefan G. Weichinger li...@xunil.at writes: Just found this note from Pacho on planet.gentoo.org: http://my.opera.com/pacho/blog/2013/08/27/how-to-write-proper-systemd-unit-files I will have to review some of my files then ;-) What I did not understand from reading that is why he (or gentoo

Re: [gentoo-user] looking for a couple of systemd units

2013-08-29 Thread Canek Peláez Valdés
On Fri, Aug 30, 2013 at 12:24 AM, Graham Murray gra...@gmurray.org.uk wrote: Stefan G. Weichinger li...@xunil.at writes: Just found this note from Pacho on planet.gentoo.org: http://my.opera.com/pacho/blog/2013/08/27/how-to-write-proper-systemd-unit-files I will have to review some of my

Re: [gentoo-user] looking for a couple of systemd units

2013-08-28 Thread Stefan G. Weichinger
Had problems configuring the static network inside a gentoo VM. The network never came up but when I logged in and started the network.service manually it worked. Strange. The mentioned service-file was the one here (my posting with /bin/ip):

Re: [gentoo-user] looking for a couple of systemd units

2013-08-28 Thread Stefan G. Weichinger
Am 28.08.2013 08:03, schrieb Stefan G. Weichinger: Had problems configuring the static network inside a gentoo VM. The network never came up but when I logged in and started the network.service manually it worked. Strange. before you ask: yes, the service was enabled correctly

Re: [gentoo-user] looking for a couple of systemd units

2013-08-28 Thread Stefan G. Weichinger
Am 27.08.2013 18:57, schrieb Canek Peláez Valdés: Canek, how to best tell the gentoo-devs about all these files? Filing bugs for every single file? Yeah, to the package in question. Probably with a CC to the systemd team, so they add the unit file if the maintainer takes too much to

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com wrote: Hi. I am looking for a couple of systemd units which I have not been able to find -- one for mailman

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com wrote: Hi. I am looking for a couple of

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM,

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM,

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 2:46 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Samuli Suominen
On 27/08/13 09:24, Canek Peláez Valdés wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 2:46 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 9:41 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 2:46 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 1:10 AM, cov...@ccs.covici.com wrote: Canek

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 9:41 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 2:46 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
While we are at it ... I am currently migrating one of my basement servers ... it boots and runs with systemd already. I am fiddling with service-files for: mysql mythbackend tftp-hpa (more to come) working my way through ... making arch-linux-files fit etc. If someone already has those for

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 10:39 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 9:41 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 2:46 AM, cov...@ccs.covici.com wrote: Canek

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 10:55 AM, Stefan G. Weichinger li...@xunil.at wrote: While we are at it ... I am currently migrating one of my basement servers ... it boots and runs with systemd already. I am fiddling with service-files for: mysql mythbackend tftp-hpa (more to come) working

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:02, schrieb Canek Peláez Valdés: On Tue, Aug 27, 2013 at 10:55 AM, Stefan G. Weichinger li...@xunil.at wrote: While we are at it ... I am currently migrating one of my basement servers ... it boots and runs with systemd already. I am fiddling with service-files for:

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 11:16 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 27.08.2013 18:02, schrieb Canek Peláez Valdés: On Tue, Aug 27, 2013 at 10:55 AM, Stefan G. Weichinger li...@xunil.at wrote: While we are at it ... I am currently migrating one of my basement servers ... it

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:16, schrieb Stefan G. Weichinger: I don't use mythbackend nor tftp-hpa, but if you have the init scripts for them it should be easy to write the corresponding unit files. mythtv-Wiki provided a service file ... I will check after mysqld ... up and running after a reboot,

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:35, schrieb Stefan G. Weichinger: Am 27.08.2013 18:16, schrieb Stefan G. Weichinger: I don't use mythbackend nor tftp-hpa, but if you have the init scripts for them it should be easy to write the corresponding unit files. mythtv-Wiki provided a service file ... I will check

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:40, schrieb Stefan G. Weichinger: Nearly there ... it also needs a socket ... For the records: # tftpd.service [Unit] Description=hpa's original TFTP daemon [Service] EnvironmentFile=/etc/conf.d/in.tftpd ExecStart=/usr/sbin/in.tftpd ${INTFTPD_OPTS} StandardInput=socket

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 11:46 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 27.08.2013 18:40, schrieb Stefan G. Weichinger: Nearly there ... it also needs a socket ... For the records: # tftpd.service [Unit] Description=hpa's original TFTP daemon [Service]

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:46, schrieb Stefan G. Weichinger: Am 27.08.2013 18:40, schrieb Stefan G. Weichinger: Nearly there ... it also needs a socket ... For the records: # tftpd.service [Unit] Description=hpa's original TFTP daemon [Service] EnvironmentFile=/etc/conf.d/in.tftpd

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 19:27, schrieb Stefan G. Weichinger: For now: ExecStart=/usr/sbin/in.tftpd /mnt/mypxe And wrong again, it needs -s as well. Sorry for the noise! ExecStart=/usr/sbin/in.tftpd -s /mnt/mypxe - For NFS I copied most out of this Wiki: http://gentoo-en.vfose.ru/wiki/Systemd#NFS

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 18:57, schrieb Canek Peláez Valdés: Canek, how to best tell the gentoo-devs about all these files? Filing bugs for every single file? Yeah, to the package in question. Probably with a CC to the systemd team, so they add the unit file if the maintainer takes too much to

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 19:31, schrieb Stefan G. Weichinger: slowly getting there ... Ok, I think I got that done. Compared my /etc/runlevels/default and checked if I have all relevant services up and running. Looks good! What was/is missing (on my specific server) ? services and sockets for:

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Canek Peláez Valdés
On Tue, Aug 27, 2013 at 1:12 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 27.08.2013 19:31, schrieb Stefan G. Weichinger: slowly getting there ... Ok, I think I got that done. Compared my /etc/runlevels/default and checked if I have all relevant services up and running. Looks good!

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 20:12, schrieb Stefan G. Weichinger: Am 27.08.2013 19:31, schrieb Stefan G. Weichinger: slowly getting there ... Ok, I think I got that done. Compared my /etc/runlevels/default and checked if I have all relevant services up and running. Looks good! What was/is missing

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 20:15, schrieb Canek Peláez Valdés: While mythtv isn't really mainstream there are other daemons in this list that really *should* be supported with USE=systemd, I assume (sure, mythtv should get its file as well ...). No; the unit files should be installed by default by their

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 20:12, schrieb Stefan G. Weichinger: What was/is missing (on my specific server) ? I quickly browsed bugs.gentoo.org ... libvirtd: I was wrong! The ebuild brings service-files. No bugs filed yet for these: in.tftpd mythbackend nfs server vixie-cron rsync mysqld has a related

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 10:39 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 9:41 AM, cov...@ccs.covici.com wrote: Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Tue, Aug 27, 2013 at 10:55 AM, Stefan G. Weichinger li...@xunil.at wrote: While we are at it ... I am currently migrating one of my basement servers ... it boots and runs with systemd already. I am fiddling with service-files for:

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread covici
Stefan G. Weichinger li...@xunil.at wrote: Am 27.08.2013 18:46, schrieb Stefan G. Weichinger: Am 27.08.2013 18:40, schrieb Stefan G. Weichinger: Nearly there ... it also needs a socket ... For the records: # tftpd.service [Unit] Description=hpa's original TFTP daemon

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 20:38, schrieb Stefan G. Weichinger: No bugs filed yet for these: in.tftpd mythbackend nfs server vixie-cron rsync Filed some related bugs now: https://bugs.gentoo.org/show_bug.cgi?id=482712 https://bugs.gentoo.org/show_bug.cgi?id=482714

Re: [gentoo-user] looking for a couple of systemd units

2013-08-27 Thread Stefan G. Weichinger
Am 27.08.2013 22:52, schrieb cov...@ccs.covici.com: Omit the braces. thanks ... doesn't work here anyway ... because $INTFTPD_OPTS also includes ${INTFTPD_PATH} from within /etc/conf.d/in.tftpd (which can't be resolved this way). What works: EnvironmentFile=/etc/conf.d/in.tftpd

[gentoo-user] looking for a couple of systemd units

2013-08-26 Thread covici
Hi. I am looking for a couple of systemd units which I have not been able to find -- one for mailman and one for innd which is a shell script by itself. Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?

Re: [gentoo-user] looking for a couple of systemd units

2013-08-26 Thread Canek Peláez Valdés
On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com wrote: Hi. I am looking for a couple of systemd units which I have not been able to find -- one for mailman and one for innd which is a shell script by itself. Thanks in advance for any suggestions. I use this one in production for

Re: [gentoo-user] looking for a couple of systemd units

2013-08-26 Thread Canek Peláez Valdés
On Mon, Aug 26, 2013 at 11:06 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com wrote: Hi. I am looking for a couple of systemd units which I have not been able to find -- one for mailman and one for innd which is a shell script by

Re: [gentoo-user] looking for a couple of systemd units

2013-08-26 Thread covici
Canek Peláez Valdés can...@gmail.com wrote: On Mon, Aug 26, 2013 at 10:52 PM, cov...@ccs.covici.com wrote: Hi. I am looking for a couple of systemd units which I have not been able to find -- one for mailman and one for innd which is a shell script by itself. Thanks in advance for