[systemd-devel] [PATCH] core, libsystemd, systemd, timedate, udev: spelling fixes

2014-03-15 Thread Miklos Vajna
--- src/core/service.c | 2 +- src/core/unit.c | 2 +- src/libsystemd/sd-bus/bus-message.c | 2 +- src/libsystemd/sd-bus/sd-bus.c | 4 ++-- src/systemd/sd-resolve.h| 2 +- src/timedate/timedated.c| 2 +- src/udev/udevadm-settle.c

[systemd-devel] [PATCH] service: no need to drop rc. prefix anymore

2013-03-24 Thread Miklos Vajna
This reverts commit f5c88ec1330b61787441156de7d764a140774bd2. It is no longer necessary, and adds unnecessary magic. --- src/core/service.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/core/service.c b/src/core/service.c index 080d583..4451d38 100

Re: [systemd-devel] How to see full lines with journalctl?

2012-11-17 Thread Miklos Vajna
On Sat, Nov 17, 2012 at 03:38:47PM +0100, Reindl Harald wrote: > Am 17.11.2012 15:34, schrieb Zbigniew Jędrzejewski-Szmek: > > You have a point here. Now journalctl -f --full does just that > > would it be not better to consider remove all this > cut/pager-stuff as default and let the systemd to

[systemd-devel] [PATCH] remove Frugalware vconsole legacy file support

2012-11-03 Thread Miklos Vajna
--- src/vconsole/vconsole-setup.c | 13 - 1 file changed, 13 deletions(-) diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index cb7ade0..4319e28 100644 --- a/src/vconsole/vconsole-setup.c +++ b/src/vconsole/vconsole-setup.c @@ -254,19 +254,6 @@ int main(in

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-27 Thread Miklos Vajna
On Sat, Oct 27, 2012 at 08:20:51AM -0400, "Michael H. Warfield" wrote: > On Sat, 2012-10-27 at 10:03 +0200, Miklos Vajna wrote: > > On Fri, Oct 26, 2012 at 06:39:33PM -0400, "Michael H. Warfield" > > wrote: > > > [root@alcove mhw]# systemctl status

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-27 Thread Miklos Vajna
On Fri, Oct 26, 2012 at 06:39:33PM -0400, "Michael H. Warfield" wrote: > [root@alcove mhw]# systemctl status network.service > network.service - LSB: Bring up/down networking > Loaded: loaded (/etc/rc.d/init.d/network) > Active: failed (Result: exit-code) since Wed, 24 Oct 2012 18

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-21 Thread Miklos Vajna
On Mon, Nov 21, 2011 at 01:18:08PM -0500, "Michael D. Berger" wrote: > What might I put in the .service file to assure that > my script is run as late in the startup sequence as > possible? I'm thinking about a "sleep 1" at the > beginning of the script itself. SysVStartPriority=99 in the Servic

[systemd-devel] [PATCH] hostname-setup: Frugalware switched to /etc/hostname

2011-09-27 Thread Miklos Vajna
Hi, See the attached patch, one less compat define. :) Thanks. From 62e8668d04a98d3b2be48349477c7e03a5c16738 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 27 Sep 2011 20:45:51 +0200 Subject: [PATCH] hostname-setup: Frugalware switched to /etc/hostname --- src/hostname-setup.c |4

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] Is StandardOutput in systemd.mount units ignored?

2011-09-12 Thread Miklos Vajna
On Mon, Sep 12, 2011 at 11:26:51AM +0200, Thomas Meyer wrote: > I added a "StandardOutput=kmsg" to the proc-sys-fs-binfmt_misc.mount > unit and patched my /bin/mount program to always run with verbose=3, but > I cannot see the output of the mount command in the dmesg! > > bug or feature? The lat

Re: [systemd-devel] syslogs in /proc/kmsg

2011-09-05 Thread Miklos Vajna
On Mon, Sep 05, 2011 at 12:25:33PM +0200, Albert Strasheim wrote: > Also, is there any way to avoid the application logs in /proc/kmsg (to > avoid the overflow)? I guess I could add After=rsyslog.service to all > my services, but that doesn't seem right. I would solve it in the other direction,

[systemd-devel] [PATCH] build-sys: Add --disable-localed configure switch

2011-08-24 Thread Miklos Vajna
Hi, Just like timedated, I think localed can go on embedded systems. Thanks. From ab1358c122783eb2bb592c514ea0853c5395d0e0 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 25 Aug 2011 00:45:26 +0200 Subject: [PATCH] build-sys: Add --disable-localed configure switch --- Makefile.am

[systemd-devel] [PATCH] one less #ifdef TARGET

2011-08-23 Thread Miklos Vajna
Hi, See the attached patch, we just got rid of rcS.d on Frugalware. Thanks. From 8f02fbe373061796c2e369c0ac34f917f09e61d2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 24 Aug 2011 01:40:42 +0200 Subject: [PATCH] service: all rcS.d scripts have been converted on Frugalware --- src

Re: [systemd-devel] Tomcat.service / PID aquiring

2011-08-03 Thread Miklos Vajna
On Wed, Aug 03, 2011 at 07:46:25AM +0200, Josh Geisser wrote: > So far the ExecStart and ExecStop is clear, but is there something > like ExecStatus? Or, is it possible that systemd reads the service-pid > from a file generated by not himself? man systemd.service, search for pidfile. :) pgpCLP

[systemd-devel] [PATCH] build-sys: Add --disable-timedated configure switch

2011-08-02 Thread Miklos Vajna
Hi, See the attached patch. Thanks. From da6a563f9e44dc032ac94bdb1e1c71dc77ed6f92 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 2 Aug 2011 23:58:46 +0200 Subject: [PATCH] build-sys: Add --disable-timedated configure switch --- Makefile.am | 52

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

2011-08-01 Thread Miklos Vajna
atch attached. From 5d9a96d4fb122ad0a4730452f940b7b924ffb685 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 2 Aug 2011 00:59:28 +0200 Subject: [PATCH] build-sys: Add --disable-hostnamed configure switch --- Makefile.am | 50 +- configure.ac |

[systemd-devel] [PATCH] man: loginctl has lock/unlock with a -session suffix

2011-07-31 Thread Miklos Vajna
Hi, The systemd-loginctl manpage talks about lock/unlock while in fact it1s lock-sesion/unlock-session. The attached patch fixes this issue. Thanks. From c4017901a6bf4b5f4b2a4199c1d1000afec264ee Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 31 Jul 2011 13:53:49 +0200 Subject: [PATCH

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

2011-07-24 Thread Miklos Vajna
hing a patch adding --disable-hostnamed. Thanks. From 54e1f63cfedab9e2af5fc61b5d7f0ac5ef6de86d Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 24 Jul 2011 17:08:44 +0200 Subject: [PATCH] build-sys: Add --disable-hostnamed configure switch ---

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-06-28 Thread Miklos Vajna
On Mon, Jun 27, 2011 at 06:23:23PM +0200, Lennart Poettering wrote: > On Mon, 27.06.11 17:37, Ludwig Nussel (ludwig.nus...@suse.de) wrote: > > > Frederic Crozat wrote: > > > [...] > > > %service_add_enabled() > > > if [ "$1" -eq 1 ] ; then > > > # Initial installation > > > /bin/systemctl enabl

Re: [systemd-devel] [ PATCH-v2 ] dnsmasq ebuild and unit files for dnsmasq

2011-05-22 Thread Miklos Vajna
On Sun, May 22, 2011 at 07:55:09PM +0200, Michał Górny wrote: > Well, that's not entirely guaranteed here. The point is to use > systemd_dounit() and similar functions because they can decide whether > to install the service files or not. Hm, but why don't you patch dnsmasq as described in daemo

[systemd-devel] [PATCH] Enable plymouth for Frugalware

2011-05-08 Thread Miklos Vajna
Hi, See the attached patch - we recently switched to Plymouth, this patch enables the plymouth bits in systemd for Frugalware. Thanks. From bded3be786d377c0e9c9434e48a58cfb80fae920 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 8 May 2011 13:32:38 +0200 Subject: [PATCH] Enable plymouth

Re: [systemd-devel] [PATCH] Angstrom support

2011-05-05 Thread Miklos Vajna
On Thu, May 05, 2011 at 06:17:22PM +0200, Harald Hoyer wrote: > "/etc/SuSE-release" > "/etc/gentoo-release" > "/etc/altlinux-release" > "/etc/debian_version" > "/etc/mandriva-release" > "/etc/meego-release" > > to "/etc/system-release" or provide "/etc/lsb-release" ??? It's already done, see os

Re: [systemd-devel] [PATCH] Add --disable-binfmt configure switch

2011-04-26 Thread Miklos Vajna
On Tue, Apr 26, 2011 at 11:26:18PM +0200, Lennart Poettering wrote: > Hmm, doesn't apply on current git... :-( > > Can you rebase? Oh, sure I forgot to pull Kay's stacked config patches. From 3f3b485ad26324e98d2c8a07f78c2c36f035f6cb Mon Sep 17 00:00:00 2001 From: Miklos V

Re: [systemd-devel] [PATCH] Add --disable-binfmt configure switch

2011-04-26 Thread Miklos Vajna
rsion attached (including the extra linebreaks). From 7706b0a7403495545ca0fdc91a385487ff7f81d1 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Apr 2011 22:59:29 +0200 Subject: [PATCH] Add --disable-binfmt configure switch --- Makefile.am | 47 ---

Re: [systemd-devel] [PATCH] Add --disable-binfmt configure switch

2011-04-25 Thread Miklos Vajna
On Wed, Apr 20, 2011 at 11:02:39PM +0200, Miklos Vajna wrote: > I'm attaching a patch adding --disable-binfmt. Updated version, taking care of .automount/.mount units as well. From 5139630c2730d87dad127f49fd6f37bcb46e3e34 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Apr 20

[systemd-devel] systemctl rescue: Transaction is destructive

2011-04-22 Thread Miklos Vajna
Hi, I'm getting the attached output when I enter 'systemctl resuce' from multi-user.target. The error message sounds a bit cryptic, any idea what goes wrong? Once that's printed, I can switch VT-s, but nothing else (can't type etc), that's why I attached a screenshot. Thanks, Miklos <> pgp2LSE

[systemd-devel] [PATCH] Add --disable-binfmt configure switch

2011-04-20 Thread Miklos Vajna
aching a patch adding --disable-binfmt. From 1ef3b65406fa235f522a0e9caaa6d4400179e365 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Apr 2011 22:59:29 +0200 Subject: [PATCH] Add --disable-binfmt configure switch --- Makefile.am | 31 --- configure.ac |

Re: [systemd-devel] systemd, getty and udev

2011-03-24 Thread Miklos Vajna
On Wed, Mar 23, 2011 at 03:10:23PM +0300, Andrey Borzenkov wrote: > May be this special console unit simply need not be bound to device? > Is it even possible for console to disappear? Sure, think of usb-serial devices. pgpER3CnThhEq.pgp Description: PGP signature _

Re: [systemd-devel] [PATCH] Add Frugalware prefdm service

2011-03-10 Thread Miklos Vajna
On Fri, Mar 11, 2011 at 12:56:58AM +0100, Lennart Poettering wrote: > On Thu, 10.03.11 23:04, Miklos Vajna (vmik...@frugalware.org) wrote: > > > +[Service] > > +EnvironmentFile=/etc/sysconfig/desktop > > +ExecStart=$desktop > > I don't think this work

Re: [systemd-devel] [PATCH] Add Frugalware prefdm service

2011-03-10 Thread Miklos Vajna
46eabe81 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 9 Mar 2011 00:49:47 +0100 Subject: [PATCH] Add Frugalware display-manager service --- Makefile.am |5 + units/frugalware/display-manager.service | 19 +++ 2 files changed, 24 inse

[systemd-devel] [PATCH] Add Frugalware prefdm service

2011-03-08 Thread Miklos Vajna
separate kdm.service, gdm.service, etc. - but we're not there yet. From e16c4e2cc93cf8fb8a194bd9f0cc2faa83805932 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 9 Mar 2011 00:49:47 +0100 Subject: [PATCH] Add Frugalware prefdm service --- Makefile.am | 11 +++

Re: [systemd-devel] How can i disable bluetooth.service in fc15

2011-02-25 Thread Miklos Vajna
On Thu, Feb 24, 2011 at 11:39:49PM +0100, Rave it wrote: > i want to disable bluetooth.service in fedora 15 because i don't needed. > Normaly i removed bluez but now a days bluez have gnome-shell as an > dependency. > I try to do this with: > [root@mother rave]# systemctl stop bluetooth.service >

Re: [systemd-devel] how disable fsck on swap+lvm

2011-02-23 Thread Miklos Vajna
On Tue, Feb 22, 2011 at 02:17:02PM +0300, Alexey Shabalin wrote: > >> For replace rc.sysinit, may be make like rc.sysinit: > >> first run multipath, second mdadm, and last lvm services. > > > > That is exactly what fedora-storage-init does. Why not simply use it then? > > :) > > > Yes, did so. >

Re: [systemd-devel] how disable fsck on swap+lvm

2011-02-21 Thread Miklos Vajna
On Mon, Feb 21, 2011 at 06:47:43PM +0300, Alexey Shabalin wrote: > systemd+udev can't replace rc.sysinit(or external script like > fedora-storage-init) now. :( For the second case, can you see if this patch: http://article.gmane.org/gmane.linux.lvm.devel/6138 helps for you? It replaces the la

Re: [systemd-devel] how disable fsck on swap+lvm

2011-02-17 Thread Miklos Vajna
On Thu, Feb 17, 2011 at 07:07:26PM +0300, Alexey Shabalin wrote: > But i have not some rule with "vgchange -a y", and have lv-disk as "LV > Status not available" Here is what we use at the moment: [Unit] Description=LVM activation DefaultDependencies=no After=udev-settle.service Before=local-fs

Re: [systemd-devel] parallel fsck vs progressbar

2011-02-17 Thread Miklos Vajna
On Fri, Jan 07, 2011 at 01:11:36AM +0100, Lennart Poettering wrote: > Hmm, I am kinda keen on keeping the fsck output also in syslog, hence > just switching the output from syslog to tty is not ideal. Maybe we > should add a mechanism so that we can output things to syslog and > console at the sa

Re: [systemd-devel] Problem with LVM

2011-01-17 Thread Miklos Vajna
On Mon, Jan 17, 2011 at 10:39:48PM +0100, Lennart Poettering wrote: > Older LVM versions used to create device nodes and symlinks to them on > their own instead of leaving that to udev (nobody should do that: /dev > is udev's territory and nobody else's). The effect of that is udev's > database d

[systemd-devel] Problem with LVM

2011-01-15 Thread Miklos Vajna
Hi, I wanted to test LVM when using systemd, but it seems something essential is missing on my test box. Here is what I tried: Our sysv lvm init script provides an LSB header, so it gets executed early on boot and executes 'vgchange -a y'. That makes /dev/myvg/mylv available at the time systemd

Re: [systemd-devel] Restarting sshd

2011-01-11 Thread Miklos Vajna
On Tue, Jan 11, 2011 at 03:34:47PM +0500, "Alexander E. Patrakov" wrote: > 11.01.2011 15:24, Miklos Vajna wrote: > > Is there any chance this could be sumitted to the maintainers of the > > portable openssh? Having a different version for each distro is not >

Re: [systemd-devel] Restarting sshd

2011-01-11 Thread Miklos Vajna
On Tue, Jan 11, 2011 at 02:12:13PM +0500, "Alexander E. Patrakov" wrote: > sshd.service has the following problem, which is a regression from a > traditional SysV setup and which is not present in sshd.socket + > s...@.service. Yes, I know that the use of this service is discouraged. > > The p

Re: [systemd-devel] [PATCH] systemctl: implement auto-pager a la git

2011-01-03 Thread Miklos Vajna
On Tue, Jan 04, 2011 at 01:10:48AM +0100, Lennart Poettering wrote: > I had merged this already shortly after you posted it and made some > minor changes to it before you sent the updated patch, but I think I > added everything you changed later on, too. Tollef, Miklos, could you > please check i

[systemd-devel] [PATCH v2] systemctl: implement auto-pager a la git

2011-01-02 Thread Miklos Vajna
--- On Sun, Jan 02, 2011 at 09:21:50PM +0100, Tollef Fog Heen wrote: > | Not all distributions have such a command, while all distributions have > | less packaged. What about making it a configure option, but let the > | default be 'less'? Then Debian and other packages can use > | --with-pager=p

Re: [systemd-devel] [PATCH] systemctl: implement auto-pager a la git

2011-01-02 Thread Miklos Vajna
On Sun, Jan 02, 2011 at 08:24:02AM +0100, Tollef Fog Heen wrote: > | + if (!pager) > | + pager = "less"; > > Doesn't other distributions have sensible-pager(1) or pager(1)? Also, > at least on Debian, less(1) isn't in the base distribution, while > more(1) comes from util-linux so is

[systemd-devel] [PATCH] systemctl: implement auto-pager a la git

2011-01-01 Thread Miklos Vajna
--- Hi, I hope the subjects describes the patch enough - though I would like to point out one detail. I guess there can be great flames about the default value of LESS if it's unset - I took FRSX as that's what git uses right now. TODO |2 -- man/systemctl.xml |7 +++ s

[systemd-devel] [PATCH] man: remaining spelling fixes

2010-12-30 Thread Miklos Vajna
--- man/pam_systemd.xml |4 ++-- man/shutdown.xml|2 +- man/systemd.conf.xml|6 +++--- man/systemd.exec.xml|4 ++-- man/systemd.service.xml |8 man/systemd.unit.xml|6 +++--- man/tmpfiles.d.xml |6 +++--- 7 files changed, 18 inserti

Re: [systemd-devel] [PATCH] avoid race condition in pick_next_task_fair in kernel/sched_fair.c

2010-12-27 Thread Miklos Vajna
On Mon, Dec 27, 2010 at 04:02:45PM +0800, wu zhangjin wrote: > On Mon, Dec 27, 2010 at 3:26 PM, fykc...@gmail.com wrote: > > Just mention it, Peter wrote a > > patch(https://groups.google.com/d/msg/linux-kernel-proxy/-eAPuf_OcmI/mD81JdSzxckJ), > > and it works for me. > > does the old kernel ve

Re: [systemd-devel] [PATCH] avoid race condition in pick_next_task_fair in kernel/sched_fair.c

2010-12-21 Thread Miklos Vajna
On Sun, Dec 19, 2010 at 03:03:13AM +0100, Miklos Vajna wrote: > Here is a panic I got today: > > http://frugalware.org/~vmiklos/pics/bug/2.6.37-rc6.png > > More details: > > I get this sometimes on boot or shutdown when testing systemd. I did not > get it with sysvin

[systemd-devel] parallel fsck vs progressbar

2010-12-20 Thread Miklos Vajna
Hi, We got some report[1] recently that not everyone is happy with the current lack of fsck output during the boot process. As far as I understand there are two conflicting requirement: 1. Execute fsck processes in parallel, as in case the disks are in different buses then this causes massive

[systemd-devel] [PATCH] Fix misspellings in os-release manpage and hwclock-load.service

2010-12-17 Thread Miklos Vajna
--- Hi, I know that they are unrelated but I didn't want to send separate patches for two oneliner changes. :) man/os-release.xml |2 +- units/hwclock-load.service |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/os-release.xml b/man/os-release.xml index

[systemd-devel] [PATCH] Frugalware: start gettys after local.service

2010-12-16 Thread Miklos Vajna
--- Hi, This is the last patch we have in your systemd package. :) units/ge...@.service.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/units/ge...@.service.m4 b/units/ge...@.service.m4 index 902ab6e..0b3160e 100644 --- a/units/ge...@.service.m4 +++ b/units/ge...@.

[systemd-devel] [PATCH] man: daemon - fix misspellings

2010-12-15 Thread Miklos Vajna
--- man/daemon.xml |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/daemon.xml b/man/daemon.xml index f592e7d..7e7039e 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -115,7 +115,7 @@ In the child, call

[systemd-devel] [PATCH] service: drop rc. prefix on frugalware linux

2010-12-07 Thread Miklos Vajna
--- Hi, We need this change till our rc scripts are replaced by units, otherwise for example syslog.service will be missing, as it'll be used as rc.syslog.service. src/service.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service

[systemd-devel] [PATCH] man/modules-load.d.xml: Fix misspellings

2010-12-05 Thread Miklos Vajna
--- man/modules-load.d.xml |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/modules-load.d.xml b/man/modules-load.d.xml index 47acc08..77a2860 100644 --- a/man/modules-load.d.xml +++ b/man/modules-load.d.xml @@ -57,7 +57,7 @@ kernel modules to load du

Re: [systemd-devel] [PATCH] build-sys: frugalware linux support

2010-11-29 Thread Miklos Vajna
On Mon, Nov 29, 2010 at 05:22:52PM +0100, Kay Sievers wrote: > I applied this. Thanks. > But keep in mind that we will remove most of these distro-specific > things some day, after the new "linux default" config files are > commonly used. Then these patches will need to move into the distro > p

[systemd-devel] [PATCH] build-sys: frugalware linux support

2010-11-29 Thread Miklos Vajna
--- Hi, We recently packaged systemd (it's not default yet), and not so surprisingly needed a few changes to get it running. All changes are specific to our target. (Sorry in case this arrives twice, looks like the first patch got lost.) Thanks. Makefile.am |7 +++ configure.