Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Michael Olbrich
On Wed, Sep 14, 2011 at 11:49:30PM +0200, Stefan G. Weichinger wrote: > Am 14.09.2011 23:36, schrieb Mirco Tischler: > > One more thing to check: if you use a very recent version of systemd > > (afair v35 and up) try adding StandardInput=socket and > > StandardOutput=socket to the service file.

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 15.09.2011 00:35, schrieb Mirco Tischler: > Do you actually see any amanda service instances started in the > systemctl output? nope. maybe the naming is wrong? I have /etc/systemd/system/amanda.socket and /etc/systemd/system/amanda@.service S

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Mirco Tischler
2011/9/15 Stefan G. Weichinger : > > additional info: > > # systemctl status amanda.socket > amanda.socket >          Loaded: loaded (/etc/systemd/system/amanda.socket) >          Active: failed since Thu, 15 Sep 2011 00:04:17 +0200; 19min ago >        Accepted: 22; Connected: 0 >          CGroup:

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
additional info: # systemctl status amanda.socket amanda.socket Loaded: loaded (/etc/systemd/system/amanda.socket) Active: failed since Thu, 15 Sep 2011 00:04:17 +0200; 19min ago Accepted: 22; Connected: 0 CGroup: name=systemd:/system/amanda.socket What doe

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 14.09.2011 23:36, schrieb Mirco Tischler: >> Maybe the "Type" of the service is wrong? > Easy to check: if you execute the command in a shell does amandad > background itself? If yes type should be forking, else Type=simple > (the default) is fine. Don't know. # su amanda $ /usr/libexec/am

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Mirco Tischler
2011/9/14 Stefan G. Weichinger : > Am 14.09.2011 22:58, schrieb Mirco Tischler: > >> Pretty much identical to what I wrote. You can find information about >> User and Group in systemd.exec. > > Ah, yes, did now. > >> Minor detail: you don't want the Install section in the service file. >> systemd w

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 14.09.2011 22:58, schrieb Mirco Tischler: > Pretty much identical to what I wrote. You can find information about > User and Group in systemd.exec. Ah, yes, did now. > Minor detail: you don't want the Install section in the service file. > systemd wouldn't know what to fill in behind the @.

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Mirco Tischler
2011/9/14 Stefan G. Weichinger : > What I have now: > > # cat amanda.socket > [Socket] > ListenStream=10080 > Accept=true > > [Install] > WantedBy=sockets.target > > # cat amanda\@.service > [Unit] > Description=amandad > > [Service] > ExecStart=-/usr/libexec/amanda/amandad -auth=bsdtcp amdump > Us

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Mirco Tischler
Here it is 2011/9/10 Mirco Tischler : > 2011/9/8 Stefan G. Weichinger : >> >> Greets, systemd-devs and -users, >> >> maybe I ask a FAQ, pls be kind ... >> >> I am rather new to systemd and figuring out how to use it w/ gentoo >> linux. It is available within the gentoo-portage-package-system, yes.

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
What I have now: # cat amanda.socket [Socket] ListenStream=10080 Accept=true [Install] WantedBy=sockets.target # cat amanda\@.service [Unit] Description=amandad [Service] ExecStart=-/usr/libexec/amanda/amandad -auth=bsdtcp amdump User=amanda Group=amanda [Install] WantedBy=multi-user.target T

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 2011-09-14 21:43, schrieb Jan Willies: > 2011/9/14 Stefan G. Weichinger mailto:li...@xunil.at>> > > Am 2011-09-14 21 :28, schrieb Mirco Tischler: > > Hm. Didn't you get my reply or was it not extensive enough? > > Didn't get it. Might be related to the problem with policyd-weight i

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 2011-09-14 21:28, schrieb Mirco Tischler: > Hm. Didn't you get my reply or was it not extensive enough? Didn't get it. Might be related to the problem with policyd-weight in the last days (false positives due to a dead RBL). Please resend, thanks in advance. Stefan __

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Mirco Tischler
2011/9/14 Stefan G. Weichinger : > Am 2011-09-08 22:39, schrieb Stefan G. Weichinger: >> >> Greets, systemd-devs and -users, >> >> maybe I ask a FAQ, pls be kind ... >> >> I am rather new to systemd and figuring out how to use it w/ gentoo >> linux. It is available within the gentoo-portage-package

Re: [systemd-devel] converting a xinetd-service to systemd

2011-09-14 Thread Stefan G. Weichinger
Am 2011-09-08 22:39, schrieb Stefan G. Weichinger: > > Greets, systemd-devs and -users, > > maybe I ask a FAQ, pls be kind ... > > I am rather new to systemd and figuring out how to use it w/ gentoo > linux. It is available within the gentoo-portage-package-system, > yes. Compiles etc. > > But

Re: [systemd-devel] Is StandardOutput in systemd.mount units ignored?

2011-09-14 Thread Miklos Vajna
On Tue, Sep 13, 2011 at 05:44:40PM +0200, Lennart Poettering wrote: > > The later, systemd uses mount() directly, not via /bin/mount. See > > src/mount-setup.c. > > Nah, this is not entirely true. > > We mount the virtual API file systems such as as /proc or /sys with > mount() system calls, bu

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-14 Thread Tomasz Torcz
On Wed, Sep 14, 2011 at 04:26:20PM +0200, Hans de Goede wrote: > Currently the linux spice-vdagent is using ConsoleKit to > figure out (for the first seat, it assumes a vm is single seat): > > 1) Which session is active (including notification of when this changes) > 2) Which session each session

[systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-14 Thread Hans de Goede
Hi, The spice guest agent for Linux consists of a system level process (a daemon) and a per session process (started for each active xsession). Currently the linux spice-vdagent is using ConsoleKit to figure out (for the first seat, it assumes a vm is single seat): 1) Which session is active (i

[systemd-devel] Using systemd/udev acl management to open up additional /dev nodes on request

2011-09-14 Thread Hans de Goede
Hi, Currently when people want to use usbredirection to a virtual machine from spice-client, they must launch the spice-client as root so that it can access device nodes under /dev/bus/usb. Since the purpose is for usbredirection to just work plug and play for virtual machines, this needs to cha

Re: [systemd-devel] question

2011-09-14 Thread Mathieu Bridon
On Wed, 2011-09-14 at 10:50 +0200, Reindl Harald wrote: > > Am 14.09.2011 10:11, schrieb "Jóhann B. Guðmundsson": > >> please open a bugreport - maybe they would hear if i am not would be the > >> only person who is unhappy about what was done with F15 but all others > >> out there are silent and

Re: [systemd-devel] question

2011-09-14 Thread Reindl Harald
Am 14.09.2011 10:11, schrieb "Jóhann B. Guðmundsson": >> please open a bugreport - maybe they would hear if i am not would be the >> only person who is unhappy about what was done with F15 but all others >> out there are silent and hoping for wonders > > This is rather interesting the person tha

Re: [systemd-devel] question

2011-09-14 Thread Jóhann B. Guðmundsson
On 09/13/2011 09:28 PM, Reindl Harald wrote: Am 13.09.2011 23:25, schrieb Sérgio Basto: On Tue, 2011-09-13 at 23:15 +0200, Reindl Harald wrote: Am 13.09.2011 21:41, schrieb Sérgio Basto: thanks for this information , could I update systemd to systemd-35 in Fedora 15 with rebuilding the src.rpm

Re: [systemd-devel] question

2011-09-14 Thread Reindl Harald
Am 14.09.2011 07:55, schrieb � Basto: > On Wed, 2011-09-14 at 06:50 +0100, Sérgio Basto wrote: >> On Tue, 2011-09-13 at 23:28 +0200, Reindl Harald wrote: >> >>> please open a bugreport - maybe they would hear if i am not would be the >>> only person who is unhappy about what was done with F15 but