Re: [systemd-devel] machined: after CPU offline then online, vcpupin KVM guest failed to start

2016-08-05 Thread Dr. Werner Fink
On Fri, Aug 05, 2016 at 11:07:50AM +0200, Lennart Poettering wrote: > On Thu, 04.08.16 16:19, Cedric Bosdonnat (cbosdon...@suse.com) wrote: > > > Hi Lennart and Werner, > > > > On Wed, 2016-08-03 at 16:56 +0200, Lennart Poettering wrote: > > > On Wed, 03.08.

[systemd-devel] machined: after CPU offline then online, vcpupin KVM guest failed to start

2016-08-03 Thread Dr. Werner Fink
Hi, problem with v228 (and I guess this is also later AFAICS from logs of current git) that repeating CPU hotplug events (offline/online). The root cause is that cpuset.cpus become not restored by machined. Please note that libvirt can not do this as it is not allowed to do so. Steps to

[systemd-devel] [PATCH] Big endian and the size of the gcc builtin type bool from stdbool.h

2014-09-18 Thread Werner Fink
On s390 the big endianness and cast from pointers of integers to the type of bool leads to the funny status messages that e.g. all targets are set to AllowIsolate=no even for multi-user.target. The gcc builtin type bool or _Bool has the size of one byte which should be taken into account in

Re: [systemd-devel] [PATCH] Big endian and the size of the gcc builtin type bool from stdbool.h

2014-09-18 Thread Dr. Werner Fink
On Thu, Sep 18, 2014 at 12:43:00PM +0200, David Herrmann wrote: Hi On Thu, Sep 18, 2014 at 11:16 AM, Werner Fink wer...@suse.de wrote: On s390 the big endianness and cast from pointers of integers to the type of bool leads to the funny status messages that e.g. all targets are set

Re: [systemd-devel] [PATCH] Big endian and the size of the gcc builtin type bool from stdbool.h

2014-09-18 Thread Dr. Werner Fink
On Thu, Sep 18, 2014 at 01:20:47PM +0200, David Herrmann wrote: Hi On Thu, Sep 18, 2014 at 12:57 PM, Dr. Werner Fink wer...@suse.de wrote: On Thu, Sep 18, 2014 at 12:43:00PM +0200, David Herrmann wrote: Hi On Thu, Sep 18, 2014 at 11:16 AM, Werner Fink wer...@suse.de wrote: On s390

Re: [systemd-devel] [PATCH] Big endian and the size of the gcc builtin type bool from stdbool.h

2014-09-18 Thread Dr. Werner Fink
On Thu, Sep 18, 2014 at 01:29:26PM +0200, David Herrmann wrote: Hi On Thu, Sep 18, 2014 at 12:57 PM, Dr. Werner Fink wer...@suse.de wrote: linuxadmin:~ # uname -m s390x linuxadmin:~ # systemctl show multi-user.target | grep -E '=(yes|no)' CanStart=no CanStop

Re: [systemd-devel] [PATCH 06/11] There is no ANSI support on common 3215 consoles

2014-08-01 Thread Dr. Werner Fink
On Fri, Jun 20, 2014 at 07:03:47PM +0200, Lennart Poettering wrote: Also, we are not going to add code for any specific weird terminal settings. We will do three levels: TERM=linux for the full Linux console, TERM=vt102 otherwise, and TERM=dumb for the crap that can't do TERM=vt102. But we

Re: [systemd-devel] [PATCH 10/11] Avoid doubling the efforts for /var/log/journal

2014-06-18 Thread Dr. Werner Fink
On Mon, Jun 16, 2014 at 11:10:15AM -0400, Cristian Rodríguez wrote: El 13/06/14 10:41, Werner Fink escribió: That is: set NOATIME, NOCOW, and NOCOMP for the journal directory --- src/journal/journald-server.c | 29 +++-- 1 file changed, 27 insertions(+), 2

Re: [systemd-devel] [PATCH 01/11] Ensure that systemd-sysctl.service is applied after modules are loaded

2014-06-18 Thread Dr. Werner Fink
On Mon, Jun 16, 2014 at 06:02:37PM +0200, Tom Gundersen wrote: On Mon, Jun 16, 2014 at 5:19 PM, Frederic Crozat fcro...@suse.com wrote: See https://bugzilla.novell.com/show_bug.cgi?id=725412 Hm, that really does not look convincing. There is a fundamental problem here (as Ludwig Nessel

Re: [systemd-devel] [PATCH 07/11] Support init=/bin/bash on the kernel command line

2014-06-16 Thread Dr. Werner Fink
On Fri, Jun 13, 2014 at 05:49:24PM +0200, Tom Gundersen wrote: On Fri, Jun 13, 2014 at 4:41 PM, Werner Fink wer...@suse.de wrote: From: Ruediger Oertel r...@suse.de Process 1 (aka init) needs to be started with an empty signal mask. That includes the process 1 that's started after

Re: [systemd-devel] [PATCH 01/11] Ensure that systemd-sysctl.service is applied after modules are loaded

2014-06-16 Thread Dr. Werner Fink
On Fri, Jun 13, 2014 at 05:51:34PM +0200, Tom Gundersen wrote: On Fri, Jun 13, 2014 at 4:41 PM, Werner Fink wer...@suse.de wrote: From: Frederic Crozat fcro...@suse.com Hm, this would not help at all for modules loaded on-demand (which are most of them). What is the problem being solved

Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-16 Thread Dr. Werner Fink
-completion but as a package maintainer. IMHO my patch is correct and allow to redirect the output of e.g. systemctl status. Werner On Fri, Jun 13, 2014 at 04:41:10PM +0200, Werner Fink wrote: --- shell-completion/bash/hostnamectl |6 +- shell-completion/bash/journalctl

Re: [systemd-devel] [PATCH 07/11] Support init=/bin/bash on the kernel command line

2014-06-16 Thread Dr. Werner Fink
On Mon, Jun 16, 2014 at 02:51:47PM +0200, David Herrmann wrote: Hi The question was, why is this fix related to init=/bin/bash? What does bash do different than systemd that it requires this fix? That information should be placed in the commit-message. The fix itself looks good and if

[systemd-devel] [PATCH 01/11] Ensure that systemd-sysctl.service is applied after modules are loaded

2014-06-13 Thread Werner Fink
From: Frederic Crozat fcro...@suse.com --- units/systemd-sysctl.service.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git units/systemd-sysctl.service.in units/systemd-sysctl.service.in index 5baf22c..c4bc0da 100644 --- units/systemd-sysctl.service.in +++

[systemd-devel] [PATCH 02/11] Use valid symlink for serial /dev/3270/tty1 in systemd-getty-generator

2014-06-13 Thread Werner Fink
Otherwise the add_symlink() function tries to make directories for each slash even for the slash after the @ symbol in the final link name. --- src/getty-generator/getty-generator.c |9 + 1 file changed, 9 insertions(+) diff --git src/getty-generator/getty-generator.c

[systemd-devel] [PATCH 05/11] After emergency service had been started any incoming traffic on syslog.socket

2014-06-13 Thread Werner Fink
From: arvidj...@gmail.com will terminate emergency.service due to implicit dependencies on basic.target and therefore sysinit.target which in turn conflict with emergency.target. --- units/emergency.service.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[systemd-devel] [PATCH 08/11] Avoid abort due timeout at user service

2014-06-13 Thread Werner Fink
It was seen only once, nevertheless this change does avoid the assert on s-user-slice in session_start_scope() --- src/login/logind-session.c |6 ++ 1 file changed, 6 insertions(+) diff --git src/login/logind-session.c src/login/logind-session.c index fdeacb1..86ce418 100644 ---

[systemd-devel] [PATCH 09/11] Avoid conflict between su shell and agetty on the same console

2014-06-13 Thread Werner Fink
Otherwise this leads to a poweroff at boot time. --- units/console-shell.service.m4.in |3 --- 1 file changed, 3 deletions(-) diff --git units/console-shell.service.m4.in units/console-shell.service.m4.in index 3f4904a..295dc8d 100644 --- units/console-shell.service.m4.in +++

[systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-13 Thread Werner Fink
--- shell-completion/bash/hostnamectl |6 +- shell-completion/bash/journalctl |6 +- shell-completion/bash/kernel-install | 13 - shell-completion/bash/localectl |6 +- shell-completion/bash/loginctl|6 +-

[systemd-devel] [PATCH 03/11] Ensure that ask-password-wall starts after getty.target

2014-06-13 Thread Werner Fink
From: Frederic Crozat fcro...@suse.com --- units/systemd-ask-password-wall.service.in |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git units/systemd-ask-password-wall.service.in units/systemd-ask-password-wall.service.in index 0eaa274..179b010 100644 ---

[systemd-devel] [PATCH 06/11] There is no ANSI support on common 3215 consoles

2014-06-13 Thread Werner Fink
Therefore strip off the ANSI escape sequences for 3215 consoles but support 3270 consoles if found. --- src/core/manager.c | 24 src/shared/util.c | 80 +--- src/shared/util.h |1 + 3 files changed, 96 insertions(+), 9

[systemd-devel] [PATCH 04/11] Allow multiple sulogin to be started

2014-06-13 Thread Werner Fink
From: Frederic Crozat fcro...@suse.com Otherwise any agetty on the devices of the system console will conflict with sulogin and its input. --- units/getty@.service.m4|1 + units/rescue.target|1 + units/serial-getty@.service.m4 |1 + 3 files changed, 3

[systemd-devel] [PATCH 10/11] Avoid doubling the efforts for /var/log/journal

2014-06-13 Thread Werner Fink
That is: set NOATIME, NOCOW, and NOCOMP for the journal directory --- src/journal/journald-server.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git src/journal/journald-server.c src/journal/journald-server.c index eda5dcf..37d6dc3 100644 ---

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-05 Thread Dr. Werner Fink
On Wed, Feb 05, 2014 at 12:19:21PM +0100, Hendrik Brueckner wrote: is not listed at least with 208. Nevertheless the nodes are there The 3270 devices should be tagged for systemd in the 99-systemd.rules file. Thanks, just done a few minutes before and it works if I do a symlink

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-04 Thread Dr. Werner Fink
On Tue, Feb 04, 2014 at 02:25:06PM +0100, Lennart Poettering wrote: On Mon, 03.02.14 14:44, Hannes Reinecke (h...@suse.de) wrote: Which raises the question: what exactly should be 'active' contain? The console name (which doesn't have any equivalent in sysfs), or the tty name (which

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-03 Thread Dr. Werner Fink
On Mon, Feb 03, 2014 at 03:07:04PM +0100, Hendrik Brueckner wrote: On Mon, Feb 03, 2014 at 02:44:43PM +0100, Hannes Reinecke wrote: But that's not a requirement anywhere in the console code. Quite the contrary; tty drivers have the 'first_minor' entry to explicit request an offset other

Re: [systemd-devel] [PATCH] Avoid a busy systemd-journald in LXC environments

2013-12-19 Thread Dr. Werner Fink
On Wed, Dec 18, 2013 at 07:30:57PM +0100, Lennart Poettering wrote: On Wed, 18.12.13 15:30, Dr. Werner Fink (wer...@suse.de) wrote: Anyway, I suggested in my original reply that I'd be happy to merge a patch that downgrades the warning message to debug on ENOENT. I have now made

Re: [systemd-devel] [PATCH] Avoid a busy systemd-journald in LXC environments

2013-12-18 Thread Dr. Werner Fink
/system.journal which causes high system load if the journal is listed with journalctl. Werner -- Having a smoking section in a restaurant is like having a peeing section in a swimming pool. -- Edward Burr From 83a217228a96fe4ff05ec3972838acfd261575a7 Mon Sep 17 00:00:00 2001 From: Werner Fink

Re: [systemd-devel] [PATCH] Avoid a busy systemd-journald in LXC environments

2013-12-17 Thread Dr. Werner Fink
On Tue, Dec 10, 2013 at 09:53:22PM +0100, Lennart Poettering wrote: Sorry for the late answer but I had been away sick last week ... On Mon, 02.12.13 16:27, Werner Fink (wer...@suse.de) wrote: that is the systemd-journald may ignore /dec/kmsg which are not a valid device but a lint

Re: [systemd-devel] pam: Don't use loginuid [was: Re: Fix PAM module to not clobber XDG_RUNTIME_DIR with su]

2013-11-26 Thread Dr. Werner Fink
On Tue, Nov 26, 2013 at 10:41:36AM +, Colin Guthrie wrote: 'Twas brillig, and Martin Pitt at 26/11/13 06:19 did gyre and gimble: Hey Lennart, Lennart Poettering [2013-11-26 5:12 +0100]: I implemented this now, using a different approach than Martin's original patch (i.e. I don't

Re: [systemd-devel] pam: Don't use loginuid [was: Re: Fix PAM module to not clobber XDG_RUNTIME_DIR with su]

2013-11-26 Thread Dr. Werner Fink
On Tue, Nov 26, 2013 at 02:39:49PM +, Colin Guthrie wrote: 'Twas brillig, and Dr. Werner Fink at 26/11/13 14:21 did gyre and gimble: On Tue, Nov 26, 2013 at 10:41:36AM +, Colin Guthrie wrote: 'Twas brillig, and Martin Pitt at 26/11/13 06:19 did gyre and gimble: Hey Lennart

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

2011-03-21 Thread Dr. Werner Fink
On Mon, Mar 21, 2011 at 02:58:22PM +0100, Jan Engelhardt wrote: On Monday 2011-03-21 12:26, Michael Olbrich wrote: Hi, I've been playing with systemd. So far I have been unable to get a login prompt. The problem is this: [...] systemd[1]: Job dev-ttyAMA0.device/start timed out.

Re: [systemd-devel] /usr on separate file system

2011-03-07 Thread Dr. Werner Fink
On Sat, Feb 26, 2011 at 05:09:03PM +0100, Lennart Poettering wrote: On Fri, 25.02.11 13:35, Adam Spragg (a...@spra.gg) wrote: On Friday 25 Feb 2011 13:00:51 Andrey Borzenkov wrote: Commit http://cgit.freedesktop.org/systemd/commit/?id=80758717a6359cbe6048f43a17c 2b53a3ca8c2fa

Re: [systemd-devel] /usr on separate file system

2011-03-07 Thread Dr. Werner Fink
On Mon, Mar 07, 2011 at 04:18:16PM +0100, Kay Sievers wrote: On Mon, Mar 7, 2011 at 16:04, Dr. Werner Fink wer...@suse.de wrote: Hmmm ... AFAIK we do.  If things do not work, then it has to be fixed as we have users/customers around definitely use this feature. I doubt anybody

Re: [systemd-devel] /usr on separate file system

2011-03-07 Thread Dr. Werner Fink
On Mon, Mar 07, 2011 at 04:50:16PM +0100, Kay Sievers wrote: On Mon, Mar 7, 2011 at 16:44, Dr. Werner Fink wer...@suse.de wrote: Those customers have payed for support including this feature and some of them exactly for this feature.  I'm not going to ignore this hard requirement

[systemd-devel] Missing shared library for functions of sd-daemon.c

2010-11-26 Thread Dr. Werner Fink
Hi, just what the subject says, I'm missing a shared library which shares the functions of sd-daemon.c. Then the developers here around could remove the several copies of sd-daemon.c and sd-daemon.h. Is there a plan to create such a library and install the header sd-daemon.h to