Re: [systemd-devel] Mandriva support for systemd

2010-12-29 Thread Michał Piotrowski
Hi, 2010/12/28 Gustavo Sverzut Barbieri : > On Tue, Dec 28, 2010 at 7:48 PM, Guilherme Moro > wrote: >> Hello, >> >> I'm a developer from Mandriva and I wanna let you all now about the news >> from Mandriva. >> We decided to use systemd as the default init for our next release 2011.0, >> so we ad

Re: [systemd-devel] How to Test systemd on F14?

2010-12-30 Thread Michał Piotrowski
Hi, AFAIK systemd is not supported on F14 and now nobody cares. I think that if you want to test it on F14 you need to build a few things: - systemd - initscripts - udev - kernel (perhaps) 2010/12/30 Garry T. Williams : > I installed systemd on Fedora 14 and added init=/bin/systemd to my > kerne

Re: [systemd-devel] bootup event sounds

2011-02-09 Thread Michał Piotrowski
Hi, 2011/2/9 Jóhann B. : > On Wed, 2011-02-09 at 22:44 +0100, Lennart Poettering wrote: >> Heya, >> >> just wanted to point you to the fact that libcanberra git now can hook >> into systemd to play an event sound during bootup or shutdown. It's >> probably not really useful on the desktop > > Yes!

Re: [systemd-devel] users and per user limits (tmpfs)

2015-04-28 Thread Michał Piotrowski
Hi, 2015-04-28 11:39 GMT+02:00 Lennart Poettering : > On Tue, 28.04.15 00:55, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > > > Hello. > > > > I have discovered how to add resource limits for the user, like how > > much memory the user can use, or how much cpu time. > > Here is the problem:

[systemd-devel] release early, release often and systemd

2014-01-28 Thread Michał Piotrowski
Hi, The latest version of systemd - v208 was released 118 days ago. There is tremendous amount of changes between v208 and master. Is there any roadmap for a new release? What's the current systemd release process? -- Best regards, Michal http://eventhorizon.pl/ ___

[systemd-devel] F18 systemd update broke varnish service?

2013-05-16 Thread Michał Piotrowski
Hi, I noticed that varnish service doesn't work after systemd update to version 201-2 varnish.service - Varnish a high-perfomance HTTP accelerator Loaded: loaded (/usr/lib/systemd/system/varnish.service; enabled) Active: failed (Result: exit-code) since czw 2013-05-16 23:12:50 CEST; 1min 2s

[systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
Hi, I've got a service [Unit] Description=lm_sensors for monitoring motherboard sensor values After=syslog.target [Service] EnvironmentFile=/etc/sysconfig/lm_sensors Type=oneshot ExecStart=/bin/bash -c "for module in $BUS_MODULES $HWMON_MODULES; do /sbin/modprobe $module >/dev/null 2>&1; done" E

Re: [systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
W dniu 29 marca 2011 20:48 użytkownik Lennart Poettering napisał: > On Tue, 29.03.11 20:30, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> Hi, >> >> I've got a service >> >> [Unit] >> Description=lm_sensors for monitoring motherboard sens

Re: [systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
W dniu 29 marca 2011 21:07 użytkownik Lennart Poettering napisał: > On Tue, 29.03.11 21:06, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> >> [Install] >> >> WantedBy=multi-user.target >> >> >> >> It works well until I add >> >>

Re: [systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
W dniu 29 marca 2011 21:15 użytkownik Michał Piotrowski napisał: > W dniu 29 marca 2011 21:07 użytkownik Lennart Poettering > napisał: >> On Tue, 29.03.11 21:06, Michał Piotrowski (mkkp...@gmail.com) wrote: >> >>> >> [Install] >>> >> WantedBy=multi

Re: [systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
W dniu 29 marca 2011 21:30 użytkownik Lennart Poettering napisał: > On Tue, 29.03.11 21:27, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> >> I added >> RemainAfterExit=yes >> and now service behaves as expected. > > Ah of course! Otherwise the modp

Re: [systemd-devel] problem with service that uses bash loop

2011-03-29 Thread Michał Piotrowski
W dniu 29 marca 2011 21:52 użytkownik Lennart Poettering napisał: > On Tue, 29.03.11 21:46, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> > Ah of course! Otherwise the modprobe is executed right when the last >> > process you ran before exited... >> >>

Re: [systemd-devel] [ANNOUNCE] systemd v22

2011-03-31 Thread Michał Piotrowski
Hi, 2011/4/1 Lennart Poettering : > Heya, > > http://www.freedesktop.org/software/systemd/systemd-22.tar.bz2 > > The only big change is the new analyze tool as mentioned on this very > list yesterday. There is a bug in my system http://eventhorizon.pl/images/systemd-analyze.svg > > Changes: > >

[systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
Hi, I can write to /run/user/michal in this way I can fill the entire free tmpfs space which is not good from my POV. -- Best regards, Michal http://eventhorizon.pl/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freed

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 12:54 użytkownik Lennart Poettering napisał: > On Sun, 03.04.11 13:10, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> Hi, >> >> I can write to /run/user/michal in this way I can fill the entire free >> tmpfs space which is not good

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 16:38 użytkownik Bruno Wolff III napisał: > On Sun, Apr 03, 2011 at 15:55:11 +0100, >  Michał Piotrowski wrote: >> I see no other way out here because tmpfs does not support quota. > > What about having /run/user/whoever sym link to /home/user/.run ? >

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 18:00 użytkownik drago01 napisał: > 2011/4/3 Michał Piotrowski : >> W dniu 3 kwietnia 2011 12:54 użytkownik Lennart Poettering >> napisał: >>> On Sun, 03.04.11 13:10, Michał Piotrowski (mkkp...@gmail.com) wrote: >>> >>>> Hi,

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 22:39 użytkownik Lennart Poettering napisał: > On Sun, 03.04.11 13:54, Lennart Poettering (mzerq...@0pointer.de) wrote: > >> On Sun, 03.04.11 13:10, Michał Piotrowski (mkkp...@gmail.com) wrote: >> >> > Hi, >> > >> > I can write t

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 23:11 użytkownik Bruno Wolff III napisał: > On Sun, Apr 03, 2011 at 23:05:52 +0200, >  Michał Piotrowski wrote: >> >> Of course it will be the best solution. But I doubt it will happen in >> a next few weeks - so some temporary workaround for F15

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 23:14 użytkownik Lennart Poettering napisał: > On Sun, 03.04.11 23:05, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> >> W dniu 3 kwietnia 2011 22:39 użytkownik Lennart Poettering >> napisał: >> > On Sun, 03.04.11 13:54, Lennart Poette

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
2011/4/3 Kay Sievers : > 2011/4/3 Lennart Poettering : >> On Sun, 03.04.11 23:28, Michał Piotrowski (mkkp...@gmail.com) wrote: >> >>> > But for /dev/shm I see no quick fix... do you? >>> >>> Unfortunately not. No one foresaw that quot

Re: [systemd-devel] /run DoS

2011-04-03 Thread Michał Piotrowski
W dniu 3 kwietnia 2011 23:35 użytkownik Lennart Poettering napisał: > On Sun, 03.04.11 23:28, Michał Piotrowski (mkkp...@gmail.com) wrote: > >> > But for /dev/shm I see no quick fix... do you? >> >> Unfortunately not. No one foresaw that quota support on tmpf

[systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Michał Piotrowski
Hi, I want to rewrite postgresql and mysqld init scripts for my system (later, of course, I want to share them with others) and I wonder if there are any recomendations how to rewrite complex scripts. Postgresql script has perform_initdb(), initdb() and upgrade() functions. IMO these functions sh

Re: [systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Michał Piotrowski
2011/4/9 Tom Lane : > Gustavo Sverzut Barbieri writes: >> 2011/4/9 Michał Piotrowski : >>> Postgresql script has perform_initdb(), initdb() and upgrade() >>> functions. ... >>> Mysql script also has some data dir creation code - I think it can >>&g

Re: [systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Michał Piotrowski
W dniu 9 kwietnia 2011 18:54 użytkownik Mirco Tischler napisał: > Hi > 2011/4/9 Michał Piotrowski >> >> Hi, >> ... >> >> Mysql script also has some data dir creation code - I think it can >> also be moved to separated script. >> >> Thoughts,

Re: [systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Michał Piotrowski
W dniu 9 kwietnia 2011 18:57 użytkownik Michał Piotrowski napisał: > W dniu 9 kwietnia 2011 18:54 użytkownik Mirco Tischler napisał: >> Hi >> 2011/4/9 Michał Piotrowski >>> >>> Hi, >>> ... >>> >>> Mysql script also has some data dir c

Re: [systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Michał Piotrowski
W dniu 9 kwietnia 2011 20:18 użytkownik Mirco Tischler napisał: > 2011/4/9 Michał Piotrowski >> >> >>  Have you considered using a file in /etc/tmpfiles.d and let syBstemd >> >> take >> >> care of this? >> >> >> >> M

[systemd-devel] my system doesn't want to shutdown

2011-04-25 Thread Michał Piotrowski
Hi, Recently, I noticed that my system does not want to shutdown properly. I suspect that this has something to do with systemd v25. Anyone noticed this problem? The last message that appears on shutdown is "Stopped SYSV: PostgreSQL database server..". -- Best regards, Michal http://eventhorizo

[systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

2011-04-28 Thread Michał Piotrowski
Hi, I think it's a very good decision - I never understood why selinux dir is directly under /. By the way, maybe it would be good to think about the meaning of /srv existance? For seven years FHS requires that this directory exists http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE16A but "The

Re: [systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

2011-04-28 Thread Michał Piotrowski
W dniu 29 kwietnia 2011 04:09 użytkownik Jasper Boot napisał: > Hi, > 2011/4/29 Michał Piotrowski >> >> Hi, >> >> By the way, maybe it would be good to think about the meaning of /srv >> existance? For seven years FHS requires that this directory exists >&g

Re: [systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

2011-04-29 Thread Michał Piotrowski
2011/4/29 seth vidal : > On Thu, 2011-04-28 at 23:32 -0400, Matthew Miller wrote: >> On Fri, Apr 29, 2011 at 12:37:26AM +0200, Michał Piotrowski wrote: >> > By the way, maybe it would be good to think about the meaning of /srv >> > existance? For seven years FHS requires

Re: [systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

2011-04-29 Thread Michał Piotrowski
2011/4/30 Daniel J Walsh : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/29/2011 06:56 PM, Lennart Poettering wrote: >> On Fri, 29.04.11 00:37, Michał Piotrowski (mkkp...@gmail.com) wrote: >> >>> Hi, >>> >>> I think it's a

Re: [systemd-devel] /run DoS

2011-05-09 Thread Michał Piotrowski
2011/5/9 Lennart Poettering : > On Mon, 09.05.11 23:31, Karel Zak (k...@redhat.com) wrote: > >> >> On Sun, Apr 03, 2011 at 11:45:51PM +0200, Kay Sievers wrote: >> > 2011/4/3 Lennart Poettering : >> > > On Sun, 03.04.11 23:28, Michał Piotrowski (mkkp...@gma

Re: [systemd-devel] [bug?] screen not working correctly under systemd

2011-05-18 Thread Michał Piotrowski
Hi, 2011/5/19 microcai : > When you ssh to an systemd machine, and start a screen session, detach > and logout. > > Then this screen session will be wipe out by systemd, so , when you > login back, there will be no screen session out there. Works fine here - I use F15. systemd v26 > > > Is this

Re: [systemd-devel] [bug?] screen not working correctly under systemd

2011-05-19 Thread Michał Piotrowski
W dniu 19 maja 2011 09:05 użytkownik microcai napisał: > 于 2011年05月19日 14:50, Michał Piotrowski 写道: >> Hi, >> >> 2011/5/19 microcai : >>> When you ssh to an systemd machine, and start a screen session, detach >>> and logout. >>> >>> Then t

[systemd-devel] F15: wrong cgroup?

2011-07-06 Thread Michał Piotrowski
Hi, I use sudo to start my deamons. $ ps xawf -eo pid,user,cgroup,args show that daemons are in my personal cgroups /sys/fs/cgroup/systemd/user/michal 1483 root name=systemd:/user/michal/4 python daemon_foo1 1495 root name=systemd:/user/michal/4 python daemon_foo2 1507 root name=

Re: [systemd-devel] F15: wrong cgroup?

2011-07-06 Thread Michał Piotrowski
W dniu 6 lipca 2011 14:28 użytkownik Kay Sievers napisał: > 2011/7/6 Michał Piotrowski : >> I use sudo to start my deamons. >> >> $ ps xawf -eo pid,user,cgroup,args >> >> show that daemons are in my personal cgroups >> /sys/fs/cgroup/systemd/user/michal