[systemd-devel] After update from 208->229 can't get calendar timers to work :-\

2016-03-01 Thread warpme
HI I updated systemd from 208 to 229 and since then I can’t get working my calendar timers. I spent hours trying to understand why it is not working…. Running „systemctl list-timers” for not working calendar timer shows: ——— NEXT LEFTLAST

[systemd-devel] systemd 208->229 update. Problems with udev rules mounting disks

2016-02-25 Thread warpme
Hi * I updated my system and one aspect of update was systemd update from 208 to 229. After this update my custom udev rules dealing with USB as stopped working. After investigation the problem look following to me: 1.insert USB HDD 2.udev rule starts, creates mount dir, mounts USB dev. All

Re: [systemd-devel] journal: how to query journal to see ALL output of given unit?

2014-01-08 Thread Warpme
On 07/01/14 22:35, Zbigniew Jędrzejewski-Szmek wrote: That's what I'd guess too. Does is get fixed if you insert 'sleep 1' in mysql-check.sh before it exits? This seems likely because the output suggests that the script is short-lived. Yes. It helps.

Re: [systemd-devel] journal: how to query journal to see ALL output of given unit?

2014-01-07 Thread Warpme
On 06/01/14 21:52, Zbigniew Jędrzejewski-Szmek wrote: journalctl -o verbose for mysqld-check.sh Zbyszku, Here is output for 'journalctl SYSLOG_IDENTIFIER=mysqld-check.sh -o verbose' Sat 2014-01-04 23:32:07.364159 CET

[systemd-devel] journal: how to query journal to see ALL output of given unit?

2014-01-06 Thread Warpme
Hi * I have question regarding logging with help of systemd journal. I have mysql daemon unit which so some housekeeping after daemon start (see below). My question is: what is best method to query journal to see _ALL_ execution output of mysqld.service unit? Kicking 'journalctl --unit

[systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Warpme
Hi * Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and user don't have access to old log data. I have already many

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-17 Thread Warpme
On 10/16/13 9:46 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Oct 16, 2013 at 09:19:43PM +0200, Warpme wrote: Maybe we should disable [re]mounting / by systemd at all? All systemd does, is call 'mount -o remount /'. I have no idea how you end up with a read-only filesystem. As a work-around

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-17 Thread Warpme
On 10/17/13 4:27 PM, Colin Guthrie wrote: Perhaps a dumb question but are you 100% certain that systemd-remount-fs.service has been run? I've not seen any debug about it so far on this thread: systemctl status systemd-remount-fs.service Col Col, Console reports Starting Remount Root and

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-17 Thread Warpme
On 10/17/13 7:59 PM, Colin Guthrie wrote: 'Twas brillig, and Warpme at 17/10/13 18:15 did gyre and gimble: On 10/17/13 4:27 PM, Colin Guthrie wrote: Perhaps a dumb question but are you 100% certain that systemd-remount-fs.service has been run? I've not seen any debug about it so far

[systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Warpme
Hi, I want to switch init system from SysV to systemd-196. Sys is PXE booted disk-less appliance with rootfs based on overlayfs. Currently I can PXEboot, successfully switch root from initrd to overlayfs based root, systemd starts and executes many of it's units. Unfortunately user units are

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Warpme
On 10/16/13 7:02 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Oct 16, 2013 at 06:18:12PM +0200, Warpme wrote: Hi, I want to switch init system from SysV to systemd-196. Sys is PXE booted disk-less appliance with rootfs based on overlayfs. Currently I can PXEboot, successfully switch root

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Warpme
On 10/16/13 7:40 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Oct 16, 2013 at 07:22:28PM +0200, Warpme wrote: On 10/16/13 7:02 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Oct 16, 2013 at 06:18:12PM +0200, Warpme wrote: Hi, I want to switch init system from SysV to systemd-196. Sys is PXE

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Warpme
On 10/16/13 9:02 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Oct 16, 2013 at 08:31:02PM +0200, Warpme wrote: Zbyszku, I add remount just after pivot_root. No change. I don't get one thing: why exactly such script works OK for SysV ? If it works for SysV - it means script leaves / in rw mode

[systemd-devel] Cross-building systemd?

2013-10-04 Thread Warpme
Hi, I want to build sytemd in cross-build environment. One from many needed dependencies is libcap which is really old and isn't cross-build friendly. It looks like libcap-ng is kind of successor and I can build this lib in my cross-build environment. Is there any way to build systemd with

Re: [systemd-devel] Cross-building systemd?

2013-10-04 Thread Warpme
step you crosscompile libcap like: make CC=$TARGET_CC CFLAGS=$TARGET_CFLAGS lib=/lib -C libcap libcap.a greetings Stephan Am 04.10.2013 17:12, schrieb Warpme: Hi, I want to build sytemd in cross-build environment. One from many needed dependencies is libcap which is really old and isn't cross

Re: [systemd-devel] Starting systemd service in udev rule viaENV{SYSTEMD_WANTS} - help needed

2012-11-20 Thread Warpme
On 11/20/12 3:55 PM, Lennart Poettering wrote: SYSTEMD_WANTS=ext-usb-backup@.myth.backup\x20connected.service This looks alright, doesn't it? Are you saying that this service is not pulled in even though this field showed up on the device? I found where issue is. When developing udev rule I

[systemd-devel] Starting systemd service in udev rule via ENV{SYSTEMD_WANTS} - help needed

2012-11-18 Thread Warpme
Well, Things pretend to be simple seems to be not simple After 2 days of fighting with issue I have to ask for help. I want to kick systemd service when usb HDD is plugged. As started service needs to know HDD label I wan to use templates. Here is what it goes: udev rule: SUBSYSTEM==block,

Re: [systemd-devel] systemd195: issue with udev launched script

2012-11-18 Thread Warpme
On 11/18/12 5:54 PM, Colin Guthrie wrote: Just as a general observation, I don't think you even need to delve into udev rules to make all this work as systemd handles device mounts internally. You can simply create a .mount unit for your drive such that when it is inserted it is mounted

Re: [systemd-devel] Starting systemd service in udev rule via ENV{SYSTEMD_WANTS} - help needed

2012-11-18 Thread Warpme
On 11/18/12 3:37 PM, Mirco Tischler wrote: I don't really have an idea, but here are some things you could check additionally: Does systemd create a .device unit? And if yes is it active/plugged? And does it have the correct Wants=ext-usb-backup.service attribute? Does udevadm info

Re: [systemd-devel] systemd195: issue with udev launched script

2012-11-16 Thread Warpme
On 11/15/12 9:05 PM, Kay Sievers wrote: You can use systemd to instantiate a service on device discovery (or run a daemon that listens to events from udev on old init systems). Check how bluetooth, cups printers, usbmux, ... is handled: TAG+=systemd,

[systemd-devel] systemd195: issue with udev launched script

2012-11-15 Thread Warpme
Hi * Sometime ago upgraded my ArchLinux (kernel3.3.8) server to systemd195. Today I discovered that my backup procedure fails. It was working OK with previous systemd. Forgive me if this forum is wrong place to ask such questions, but as udev is now part of systemd - I decided to ask here...

Re: [systemd-devel] systemd195: issue with udev launched script

2012-11-15 Thread Warpme
On 11/15/12 9:05 PM, Kay Sievers wrote: On Thu, Nov 15, 2012 at 7:40 PM, Warpme war...@o2.pl wrote: Sometime ago upgraded my ArchLinux (kernel3.3.8) server to systemd195. Today I discovered that my backup procedure fails. It was working OK with previous systemd. Forgive me if this forum

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-03-15 Thread Warpme
On 3/15/12 3:05 AM, Lennart Poettering wrote: On Thu, 08.03.12 17:37, David Lambert (d...@lambsys.com) wrote: On 03/08/2012 03:07 PM, Warpme wrote: I haven't set any limits in journal.conf - so maybe I should set them. Unfortunately there is no man for this file (or I miss something) - so I

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-03-08 Thread Warpme
On 3/6/12 2:54 AM, Lennart Poettering wrote: On Mon, 20.02.12 23:35, Olav Vitters (o...@vitters.nl) wrote: On Thu, Feb 09, 2012 at 08:12:55PM +0100, Lennart Poettering wrote: Now, of course, the journal shouldn't crash in the first place. This bug is still something to fix, but so far nobody

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-03-07 Thread Warpme
On 3/6/12 2:54 AM, Lennart Poettering wrote: On Mon, 20.02.12 23:35, Olav Vitters (o...@vitters.nl) wrote: On Thu, Feb 09, 2012 at 08:12:55PM +0100, Lennart Poettering wrote: Now, of course, the journal shouldn't crash in the first place. This bug is still something to fix, but so far nobody

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-02-22 Thread Warpme
On 2/20/12 11:35 PM, Olav Vitters wrote: On Thu, Feb 09, 2012 at 08:12:55PM +0100, Lennart Poettering wrote: Now, of course, the journal shouldn't crash in the first place. This bug is still something to fix, but so far nobody managed to get me a bt of this. if the journal itself crashes a

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-02-22 Thread Warpme
On 2/22/12 7:06 PM, Warpme wrote: On 2/20/12 11:35 PM, Olav Vitters wrote: On Thu, Feb 09, 2012 at 08:12:55PM +0100, Lennart Poettering wrote: Now, of course, the journal shouldn't crash in the first place. This bug is still something to fix, but so far nobody managed to get me a bt

Re: [systemd-devel] Requires too weak, BindTo too strong

2012-02-04 Thread Warpme
On 2/1/12 8:37 PM, Chris Paulson-Ellis wrote: On 01/02/12 19:26, Lennart Poettering wrote: On Wed, 01.02.12 19:13, Chris Paulson-Ellis (ch...@edesix.com) wrote: On 01/02/12 19:07, Lennart Poettering wrote: On Wed, 01.02.12 18:54, Chris Paulson-Ellis (ch...@edesix.com) wrote: Is there some

[systemd-devel] systemd39: journald segfault brings down some user services

2012-02-03 Thread warpme
Hi, I have question related to latest systemd39 newly introduced journald. I'm on ArchLinux (kernel 3.0.18). Recently - after upgrade from systemd37-39 I'm observing decreased system stability. It manifests as random services outages. So far during last days I had 2 such cases. In both of

[systemd-devel] Moving to systemd39: early kernel msg missed in rsylog logs

2012-01-27 Thread Warpme
Hi * I just moved my ArchLinux based server from systemd37 to 39. Basically all went well. For successful logging via rsyslog I do following: 1.symlink /lib/systemd/system/rsyslog.service to /etc/systemd/system/rsyslog.service 2.added in rsyslog.conf entry $SystemLogSocketName

[systemd-devel] systemd 35-37

2011-10-13 Thread Warpme
Hi, I just upgraded systemd 35 to 37. Milion thx for devs for fixing bug39824 ! My distro is Archlinux. system boots/works OK, but after upgrade I have one annoying issue: Output msgs about services status now is printed to currently active VT. If I have 5 of them and initially 1st was active -

[systemd-devel] autorestart of required/bind services on service abort + bug39824

2011-09-05 Thread warpme
Dear systemd Devs, Forgive me this type of question but I need rough date estimates for schedule planning of systemd integration with my project. -What are plans to implement functionality 5\ described in: http://lists.freedesktop.org/archives/systemd-devel/2011-August/003263.html Situation

[systemd-devel] bug or I misunderstand systemd configuration rules ?

2011-08-25 Thread Warpme
Hi, I have problem with understanding following systemd behaviour and need assistance of somebody knowledgeable in systemd config area: Context: daemon1 is server for application1 I want to have situation where: 1\systemctl start application1 also starts daemon1 2\systemctl stop daemon1 also

Re: [systemd-devel] Hand when using systemctl in unit files

2011-08-02 Thread Warpme
On 8/2/11 1:02 AM, Lennart Poettering wrote: On Thu, 28.07.11 15:20, warpme (war...@o2.pl) wrote: Zbyszek, Thx for replay. You touch exactly the point. You can use more than one ExecStartPost. E.g. ExecStartPost=sleep 10 ExecStartPost=systemctl try-restart proc2 This way you remove

[systemd-devel] Hand when using systemctl in unit files

2011-07-27 Thread Warpme
Hi, I really like systemd concept. I want to use systemctl to control other unit from given unit. I'm on systemd-29 Example: unit1: ExecStartPre=systemctl restart service2.service Issuing systemctl restart unit1.service gives hang on this command (I have to terminate manually systemctl) While