Re: [systemd-devel] avahi disconnects from bus with kdbus

2015-02-13 Thread David Herrmann
Hi On Thu, Feb 12, 2015 at 11:32 PM, Daniel Buch wrote: > Hi again, > > I found another problem, again with avahi-daemon but in combination with > Telepathy haze. > feb 13 08:26:39 dbuch-laptop systemd-coredump[1211]: Process 1167 > (telepathy-haze) of user 1000 dumped core. > >

Re: [systemd-devel] Running system with neither dbus, or kdbus?

2015-02-13 Thread David Herrmann
Hi On Fri, Feb 13, 2015 at 12:56 PM, Dimitri John Ledkov wrote: > I have a minimal system and I don't have for example policykit or > graphical things. > > I don't have kdbus yet. > > However at the moment it seems that e.g. networkd & logind components > require dbus system bus. > > Is it feasib

Re: [systemd-devel] avahi disconnects from bus with kdbus

2015-02-12 Thread David Herrmann
Hi On Wed, Feb 11, 2015 at 11:17 AM, Daniel Buch wrote: > Nice, everything works flawlessly with current git now. Good job! Thanks for testing! No idea which commit exactly fixed it, so if you see it again, please let us know. Thanks David ___ systemd

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-12 Thread David Herrmann
Hi Colin On Thu, Feb 12, 2015 at 1:27 AM, Colin Guthrie wrote: >> at which point we need to ask the question: what makes keyboards so special? >> and the answer seems to be that your DE doesn't support hotplugged >> keyboards, per-user keyboard settings, etc. So it feels to me, and correct >> me

Re: [systemd-devel] [PATCH] test: check what happens if we forget about KDBUS_CMD_FREE call

2015-02-11 Thread David Herrmann
th the KDBUS_CMD_FREE ioctl, so let's test what happens > +* if we forget about it. > +*/ > + > + ret = sample_ioctl_call(env); > + ASSERT_RETURN(ret == 0); > + > + ret = sample_ioctl_call(env); > + ASSERT_RETURN(ret == 0); > + >

Re: [systemd-devel] Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

2015-02-03 Thread David Herrmann
Hi On Tue, Feb 3, 2015 at 6:36 PM, poma wrote: > On 02.02.2015 19:58, David Herrmann wrote: >> As I'm not really interested in hacking on network-managers, I've >> decided to stop working on MiracleCast. If, some day, there's a >> working P2P stack on linux,

Re: [systemd-devel] "dynamic" uid allocation (was: [PATCH] loopback setup in unprivileged containers)

2015-02-03 Thread David Herrmann
Hi On Tue, Feb 3, 2015 at 3:41 PM, Lennart Poettering wrote: > Hmm, so, I thought a lot about this in the past weeks. I think the way > I'd really like to see this work in the end is that we never have to > persist the UID mappings. This could work if the kernel would provide > us with the abilit

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-03 Thread David Herrmann
Hi On Fri, Jan 30, 2015 at 9:30 AM, Simon McVittie wrote: > [For those who are there, I'll be at the system hackfest today and at > FOSDEM this weekend, so if you are interested in these topics, please > talk to me about them; I'll try to summarize discussion to these lists. > For those not there

Re: [systemd-devel] Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

2015-02-02 Thread David Herrmann
Hi On Sun, Feb 1, 2015 at 10:50 AM, poma wrote: > MiracleCast - Howto > "Current State" [snip] > Can folks from the NetworkManager team & systemd-networkd team answer > regarding the current status in this matter? As people continuously ask me about this, I'll just try to answer it on the pub

Re: [systemd-devel] logind vs CAP_SYS_ADMIN-lessness

2015-01-23 Thread David Herrmann
Hi On Thu, Jan 22, 2015 at 3:53 PM, Christian Seiler wrote: > [1] Note that the only other issue I stumbled upon has now been fixed, > so in general I would say that systemd already works really well > in containers without CAP_SYS_ADMIN if you know how to set them > up properly. Jus

Re: [systemd-devel] [PATCH] libudev: fix check for too long packet

2015-01-18 Thread David Herrmann
Hi On Sun, Jan 18, 2015 at 10:57 PM, Topi Miettinen wrote: > Don't use recvmsg(2) return value to check for too long packets > (it doesn't work) but MSG_TRUNC flag. > --- > src/libudev/libudev-monitor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied! Thanks David > diff --git

Re: [systemd-devel] Suspicious assertions in resolved

2015-01-18 Thread David Herrmann
Hi On Sun, Jan 18, 2015 at 10:15 PM, Topi Miettinen wrote: > On 01/18/15 20:45, David Herrmann wrote: >> Hi >> >> On Sun, Jan 18, 2015 at 8:12 PM, Topi Miettinen wrote: >>> Hello, >>> >>> I think resolved_manager.c function manager_recv() has a

Re: [systemd-devel] [PATCH 3/3] remove RUN_WITH_LOCALE et all, use extended locale functions instead

2015-01-18 Thread David Herrmann
Hi On Thu, Jan 15, 2015 at 6:27 AM, Cristian Rodríguez wrote: > There were two callers, one can use strtod_l() and the other strptime_l() > --- > src/import/curl-util.c | 38 +++--- > src/shared/util.c | 18 +- > src/shared/util.h | 26 --

Re: [systemd-devel] Suspicious assertions in resolved

2015-01-18 Thread David Herrmann
Hi On Sun, Jan 18, 2015 at 8:12 PM, Topi Miettinen wrote: > Hello, > > I think resolved_manager.c function manager_recv() has an assertion that > could be triggerable by the server sending an oversized packet: > > assert(!(mh.msg_flags & MSG_TRUNC)); > > The other assertions look suspicio

Re: [systemd-devel] [PATCH] timesyncd: consider too long packets as invalid

2015-01-18 Thread David Herrmann
Hi On Sun, Jan 18, 2015 at 3:01 PM, Topi Miettinen wrote: > If the received NTP message from server didn't fit to our buffer, either > it is doing something nasty or we don't know the protocol. Consider the > packet as invalid. > --- > src/timesync/timesyncd-manager.c | 3 ++- > 1 file changed,

Re: [systemd-devel] logind: lid switch action not executed on small open/close delays

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 2:09 PM, Alad Wenter wrote: > On 01/17/2015 11:49 AM, David Herrmann wrote: >> >> Hi >> >> On Wed, Jan 14, 2015 at 10:54 PM, Alad Wenter wrote: >>> >>> To clarify on my last message, it's 10 seconds before suspend f

Re: [systemd-devel] Making udev emit a signal when it is done loading modules

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 9:44 AM, Hans de Goede wrote: > Dear udev developers, > > We (me and some kernel devs mostly) would like to add support to > the kernel for userspace telling the kernel that it is done with > the *initial* loading of modules, with the purpose of cleaning up > (disabling

Re: [systemd-devel] Fwd: [systemd-commits] Makefile.am src/bus-proxyd units/.gitignore units/systemd-bus-proxyd.service.m4.in units/systemd-bus-pro...@.service.m4.in units/systemd-bus-proxyd.socket un

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 4:21 PM, Umut Tezduyar Lindskog wrote: > Hi David, > > Have you done any experiment in terms of the number of connections can > be made on 32 bit arch with bus proxy being multi-threaded instead of > multi-processed? I don't think it makes much of a difference. I'm abo

Re: [systemd-devel] [PATCH] backlight: let the administrator override clamping

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 1:41 PM, Topi Miettinen wrote: > On 01/17/15 12:34, David Herrmann wrote: >> No, we still need clamping! In case your hardware has 256 brightness >> levels, we really don't want a brightness of 1 as it would still be >> far too dark. > &

Re: [systemd-devel] [PATCH] backlight: let the administrator override clamping

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 1:32 PM, Topi Miettinen wrote: > On 01/17/15 12:19, David Herrmann wrote: >> Hi >> >> On Sat, Jan 17, 2015 at 1:10 PM, Topi Miettinen wrote: >>> On 01/17/15 12:03, David Herrmann wrote: >>>> Hi >>>> >>>>

Re: [systemd-devel] [PATCH] backlight: let the administrator override clamping

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 1:10 PM, Topi Miettinen wrote: > On 01/17/15 12:03, David Herrmann wrote: >> Hi >> >> On Sat, Jan 17, 2015 at 1:01 PM, Topi Miettinen wrote: >>> On 01/17/15 11:38, David Herrmann wrote: >>>> Hi >>>> >>>

Re: [systemd-devel] [PATCH] backlight: let the administrator override clamping

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 1:01 PM, Topi Miettinen wrote: > On 01/17/15 11:38, David Herrmann wrote: >> Hi >> >> On Sat, Jan 17, 2015 at 12:28 PM, Topi Miettinen wrote: >>> On my computer, the minimum brightness enforced by clamping in >>> backlight

Re: [systemd-devel] [PATCH 2/2] missing: add macros for OFD locks

2015-01-17 Thread David Herrmann
Hi On Thu, Jan 15, 2015 at 10:25 PM, Michael Marineau wrote: > --- > src/shared/missing.h | 6 ++ > 1 file changed, 6 insertions(+) I applied this patch, but left patch 1/2 for Tom to review. Thanks David > diff --git a/src/shared/missing.h b/src/shared/missing.h > index cdc38b2..d074405

Re: [systemd-devel] [PATCH] backlight: let the administrator override clamping

2015-01-17 Thread David Herrmann
Hi On Sat, Jan 17, 2015 at 12:28 PM, Topi Miettinen wrote: > On my computer, the minimum brightness enforced by clamping in > backlight is too bright. How can 5% of the backlight be "too bright"? Can you give some information on your backlight device? (type, max_brightness, actual_brightness and

Re: [systemd-devel] [PATCH 1/2] remove unneeded libgen.h includes

2015-01-17 Thread David Herrmann
Hi On Wed, Jan 14, 2015 at 2:39 PM, Cristian Rodríguez wrote: > --- > src/core/mount-setup.c| 1 - > src/journal/catalog.c | 1 - > src/test/test-namespace.c | 1 - > 3 files changed, 3 deletions(-) Applied! Thanks David > diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c >

Re: [systemd-devel] [PATCH] Grammar changes to catalog

2015-01-17 Thread David Herrmann
Hi On Tue, Jan 13, 2015 at 5:16 PM, Chris Atkinson wrote: > See attached patch. Applied! Thanks David > Regards, > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel >

Re: [systemd-devel] [PATCH] random-seed: Avoid errors (and unit failure) when we cannot write random-seed file.

2015-01-17 Thread David Herrmann
Hi On Mon, Jan 12, 2015 at 9:40 PM, Colin Guthrie wrote: > When we call 'systemd-random-seed load' with a read-only /var/lib/systemd, > the cleanup code (which rewrites the random-seed file) will fail and exit. > > Arguably, if the filesystem is read-only and the random-seed file exists > then th

Re: [systemd-devel] logind: lid switch action not executed on small open/close delays

2015-01-17 Thread David Herrmann
Hi On Wed, Jan 14, 2015 at 10:54 PM, Alad Wenter wrote: > To clarify on my last message, it's 10 seconds before suspend from lid > switch works again. Those delays are intentional. We have no idea how long the kernel takes to probe all hardware during wake-up, so we have to wait for possible doc

Re: [systemd-devel] [PATCH udev v5] udev: Add builtin/rule to export evdev information as udev properties

2015-01-15 Thread David Herrmann
Hi On Mon, Jan 12, 2015 at 5:52 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Jan 11, 2015 at 08:47:19PM +0100, Carlos Garnacho wrote: >> This rule is only run on tablet/touchscreen devices, and extracts their size >> in millimeters, as it can be found out through their struct input_absinfo. >

Re: [systemd-devel] [PATCH udev v4] udev: Add builtin/rule to export touchscreen/tablet size as udev properties

2015-01-11 Thread David Herrmann
Hi On Mon, Dec 22, 2014 at 5:04 PM, Carlos Garnacho wrote: > This rule is only run on tablet/touchscreen devices, and extracts their size > in millimeters, as it can be found out through their struct input_absinfo. > > This may be useful to separate policy and application at the time of mapping >

Re: [systemd-devel] [PATCH] Add detect_userns to detect uid/gid shifts (V2)

2015-01-09 Thread David Herrmann
Hi On Fri, Jan 9, 2015 at 12:07 AM, Stéphane Graber wrote: > This adds a new detect_userns function in virt.c which will check > whether systemd is running in the host user namespace (single map of all > available uids and gids) or is using a uid/gid map. > > The check makes sure that uid_map and

Re: [systemd-devel] [PATCH] build: print conditions of ldconfig, hibernate configs

2015-01-08 Thread David Herrmann
Hi On Tue, Dec 16, 2014 at 8:45 AM, Umut Tezduyar Lindskog wrote: > --- > configure.ac | 2 ++ > 1 file changed, 2 insertions(+) Applied! Thanks David > diff --git a/configure.ac b/configure.ac > index 90aa3cc..76d2119 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1442,6 +1442,8 @@ A

Re: [systemd-devel] [PATCH] sd-bus: fix copy-paste error

2015-01-08 Thread David Herrmann
Hi On Thu, Jan 8, 2015 at 11:10 AM, Lukasz Skalski wrote: > --- > src/libsystemd/sd-bus/bus-control.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied! Thanks David > diff --git a/src/libsystemd/sd-bus/bus-control.c > b/src/libsystemd/sd-bus/bus-control.c > index 2db1afb..b450

Re: [systemd-devel] [PATCH] hwdb: mouse DPI data, Logitech Gaming Mouse G400

2015-01-07 Thread David Herrmann
Hi On Wed, Jan 7, 2015 at 9:23 AM, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > hwdb/70-mouse.hwdb | 3 +++ > 1 file changed, 3 insertions(+) Applied! Thanks David > diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb > index 32a8a5d..38afee0 100644 > --- a/hwdb/70-mouse.hwdb > +

Re: [systemd-devel] logind: support of shared devices

2015-01-07 Thread David Herrmann
Hi On Mon, Jan 5, 2015 at 10:07 AM, Oleg Samarin wrote: > Hello! > > The default systemd behavior is to grant/revoke access on devices > attached to a seat when the user activates/deactivates a session on the > seat. > > But sometimes it needs the user has an access to some device when he/she > a

Re: [systemd-devel] [systemd-commits] man/sd_bus_negotiate_fds.xml man/sd_event_add_child.xml man/systemd.link.xml man/systemd-machine-id-commit.service.xml man/systemd-nspawn.xml man/udev.xml NEWS sr

2014-12-31 Thread David Herrmann
Hi On Wed, Dec 31, 2014 at 2:08 AM, Zbigniew Jędrzejewski-Szmek wrote: > NEWS|2 +- > TODO|2 +- > man/sd_bus_negotiate_fds.xml|2 +- > man/sd_event_add_child.xml

Re: [systemd-devel] [systemd-commits] 8 commits - src/core src/libsystemd src/test

2014-12-30 Thread David Herrmann
Hi On Tue, Dec 30, 2014 at 5:17 PM, Zbigniew Jędrzejewski-Szmek wrote: >> commit e95e909d820429ba34fa6f6f1b0109ac22743b47 >> Author: Tom Gundersen >> Date: Sun Dec 28 13:38:23 2014 +0100 >> >> core: loopback - simplify check_loopback() >> >> We no longer configure the addresses on the

Re: [systemd-devel] [RFC] bus: add sd_bus_emit_object_{added, removed}()

2014-12-30 Thread David Herrmann
Hi On Tue, Feb 18, 2014 at 12:02 AM, David Herrmann wrote: > The ObjectManager dbus interface provides an InterfacesAdded signal to > notify others about new interfaces that are added to an object. The same > signal is also used to advertise new objects (by adding the first > in

Re: [systemd-devel] [PATCH][Resend][RFC] core: Fix wrong timestamps in rtc-in-local time mode.

2014-12-23 Thread David Herrmann
Hi On Thu, Dec 18, 2014 at 3:33 PM, Chunhui He wrote: > Hi all, > > When the system is configured to read the RTC time in the local time zone, > some timestamps recorded by systemd are wrong. Apparently, you never received Lennart's reply on your original mail. Below, you can find his original c

Re: [systemd-devel] [PATCH 0/9] capabilities: remove include of where possible

2014-12-23 Thread David Herrmann
Hi On Mon, Dec 22, 2014 at 8:57 PM, Filipe Brandenburger wrote: > Ping? > > Also wondering if it makes sense to go ahead and implement our own > "cap_to_text" and "cap_from_text" to generate capability strings from > the bitmaps (and further remove dependency on libcap.) I think it > does, consid

Re: [systemd-devel] [PATCH] hwdb: add rule and first entry for PS/2 mice

2014-12-23 Thread David Herrmann
(CC'ing sd-devel this time.. sorry) On Tue, Dec 23, 2014 at 1:19 AM, Peter Hutterer wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=87037 > --- > some feedback on the rule would be appreciated, in case there's a better > approach to matching. > > hwdb/70-mouse.hwdb | 4 > rules/70-m

Re: [systemd-devel] [PATCH udev] udev: Add program/rule to export touchscreen/tablet size as udev properties

2014-12-18 Thread David Herrmann
Hi On Thu, Dec 18, 2014 at 4:15 PM, David Herrmann wrote: > Hi > > On Thu, Dec 18, 2014 at 3:58 PM, Carlos Garnacho wrote: >> This rule is only run on tablet/touchscreen devices, and extracts their size >> in millimeters, as it can be found out through their

Re: [systemd-devel] [PATCH udev] udev: Add program/rule to export touchscreen/tablet size as udev properties

2014-12-18 Thread David Herrmann
Hi On Thu, Dec 18, 2014 at 3:58 PM, Carlos Garnacho wrote: > This rule is only run on tablet/touchscreen devices, and extracts their size > in millimeters, as it can be found out through their struct input_absinfo. > > Conceivably, that information can be changed through EVIOCSABS anywhere > else

Re: [systemd-devel] Cycle between logind and NetworkManager in case of remote user database

2014-12-15 Thread David Herrmann
Hi On Mon, Dec 15, 2014 at 9:20 PM, Dan Williams wrote: > On Mon, 2014-12-15 at 20:40 +0300, Andrei Borzenkov wrote: >> systemd tries to launch logind service which now waits for services it >> is ordered After and eventually times out. > > NM patch filed for review by NM dev team: > > https://bu

Re: [systemd-devel] [PATCH] Re: timedatectl regression in 218: crash with Etc/UTC

2014-12-15 Thread David Herrmann
Hi On Mon, Dec 15, 2014 at 1:08 PM, Martin Pitt wrote: > Martin Pitt [2014-12-15 12:50 +0100]: >> #7 0x5659c185 in time_get_dst (date=1418644009, tzfile=0x5659e9ee >> "/etc/localtime", switch_cur=0xd81c, zone_cur=0xd810, >> dst_cur=0xd809, switch_next=0xd824, delta_next=0xff

Re: [systemd-devel] [PATCH] hwdb: Logitech MX 518

2014-12-15 Thread David Herrmann
Hi On Mon, Dec 15, 2014 at 11:26 AM, wrote: > From: Harald Hoyer > > --- > hwdb/70-mouse.hwdb | 4 > 1 file changed, 4 insertions(+) > > diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb > index 36778d5..06b5338 100644 > --- a/hwdb/70-mouse.hwdb > +++ b/hwdb/70-mouse.hwdb > @@ -168,6 +

Re: [systemd-devel] [udev] Giving exclusive rights over a sound card to a user

2014-12-15 Thread David Herrmann
Hi On Sat, Dec 13, 2014 at 5:34 PM, Léo Gillot-Lamure wrote: > Hi. > > I want to give ownership of a particular sound card to a specific user > permanently, so that 1/ I have a guarantee that other users' sessions > can not emit sound on this card and 2/ the sound playing on the > specific users'

Re: [systemd-devel] [PATCH 0/6] Correct spacing near eol in code comments

2014-12-11 Thread David Herrmann
Hi On Wed, Dec 10, 2014 at 8:00 PM, Torstein Husebø wrote: > Hi, > this patch set inserts missing spaces and newlines in code comments. > No code change. > > Torstein Husebø (6): > networkd/resolved: correct spacing near eol in code comments > sd-bus: correct spacing near eol in code comments

Re: [systemd-devel] [PATCH] hwdb: fix typo

2014-12-10 Thread David Herrmann
Hi On Wed, Dec 10, 2014 at 5:41 PM, Torstein Husebø wrote: > --- > hwdb/70-mouse.hwdb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied! Thanks David > diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb > index 4d38c7b633..0a18ec194e 100644 > --- a/hwdb/70-mouse.hwdb > +++ b/h

Re: [systemd-devel] libabc, sub-objects, and reference counting

2014-12-08 Thread David Herrmann
Hi On Sun, Dec 7, 2014 at 2:39 AM, Josh Triplett wrote: > The sample libabc includes functions to get a "thing", as a sample > sub-object of the overall library context. Each "thing" has a reference > to the parent library context, and a function to return that reference. > Given that, shouldn't

Re: [systemd-devel] [PATCH] missing: define NET_NAME_UNKNOWN

2014-12-04 Thread David Herrmann
Hi On Thu, Dec 4, 2014 at 7:12 PM, Colin Walters wrote: > It's only exposed to userspace since > > commit 685343fc3ba61a1f6eef361b786601123db16c28 > Author: Tom Gundersen > AuthorDate: Mon Jul 14 16:37:22 2014 +0200 > Commit: David S. Miller > CommitDate: Tue Jul 15 16:12:01 2

Re: [systemd-devel] [PATCH] DISTRO_PORTING: Full path for /usr/lib/systemd/systemd

2014-12-02 Thread David Herrmann
Hi On Tue, Dec 2, 2014 at 4:05 PM, Chris Atkinson wrote: > The systemd binary was moved from /usr/bin/systemd > to /usr/lib/systemd/systemd (commit > e0d25329b23a43332ea340f9907721873a316f4e) and is thus no longer in > $PATH. This adds the absolute path /usr/lib/systemd/systemd to > DISTRO_PORTIN

Re: [systemd-devel] [systemd-commits] 8 commits - src/libsystemd src/network src/shared src/systemd

2014-12-02 Thread David Herrmann
Hi On Tue, Dec 2, 2014 at 1:18 PM, Lennart Poettering wrote: > On Tue, 02.12.14 01:50, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: >> +udev_list_entry_foreach(entry, >> udev_hwdb_get_properties_list_entry(hwdb, str, 0)) >> +if (strcmp(udev_list_entry_get_name(en

Re: [systemd-devel] TimeoutStopSec is ignored (regression)

2014-12-01 Thread David Herrmann
Hi On Sat, Nov 29, 2014 at 12:35 PM, Ross Lagerwall wrote: > Hi, > > On recent versions of systemd, unit_kill_context doesn't set > wait_for_exit to true which means that service_enter_signal sends > SIGTERM, immediately moves into stop-sigkill and sends SIGKILL, ignoring > TimeoutStopSec and oft

Re: [systemd-devel] mate desktop user service file

2014-12-01 Thread David Herrmann
Hi On Sat, Nov 29, 2014 at 10:48 AM, arnaud gaboury wrote: > I only use some settings from mate desktop (clipboard, appearance...) > thus looking for a service file to start mate-settings-daemon. > > > /home/gabx/.config/systemd/user/mate-settings-daemon.service >

Re: [systemd-devel] [RFC PATCH] proc, pidns: Add highpid

2014-11-30 Thread David Herrmann
Hi Andy On Sat, Nov 29, 2014 at 12:05 AM, Andy Lutomirski wrote: > Pid reuse is common, which means that it's difficult or impossible > to read information about a pid from /proc without races. > > This introduces a second number associated with each (task, pidns) > pair called highpid. Highpid

Re: [systemd-devel] [PATCH] Fix hostnamectl exit code

2014-11-28 Thread David Herrmann
Hi On Fri, Nov 28, 2014 at 3:54 PM, Martin Pitt wrote: > Hey David, > > David Herrmann [2014-11-28 15:49 +0100]: >> Why not fix all those other occurrences with one fix by changing >> hostnamectl_main() the last line from: >> return r < 0 ? EXIT_FAILURE

Re: [systemd-devel] [PATCH] Fix hostnamectl exit code

2014-11-28 Thread David Herrmann
Hi On Fri, Nov 28, 2014 at 3:43 PM, Martin Pitt wrote: > Hello all, > > while packaging 217 my integration tests for hostnamed yelled at me > that hostnamectl fails. Indeed it exits with 1 now even though it > succeeds. > > Trivial patch attached. OK to push? Why not fix all those other occurren

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread David Herrmann
Hi On Thu, Nov 27, 2014 at 7:31 PM, Gustavo Sverzut Barbieri wrote: > Currently configure.ac has the LTO logic inside an: > > AS_CASE([$CFLAGS], [*-O[[12345\ ]]*], > > We can make the "else" block check/enable for gc-sections alongside > printing the result. See the attached (unteste

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread David Herrmann
Hi On Thu, Nov 27, 2014 at 6:35 PM, Peter Wu wrote: > On Thursday 27 November 2014 13:42:27 Gustavo Sverzut Barbieri wrote: >> I'm asking because from Peter Wu's email we're 26384 - 26380 = 4Kb >> heavier in the whole installed set of binaries. If this is correct I >> doubt the gc-sections is mak

Re: [systemd-devel] [PATCH] Stop crashing on empty TXT

2014-11-27 Thread David Herrmann
Hi On Thu, Nov 27, 2014 at 5:09 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Nov 27, 2014 at 04:12:20PM +0100, David Herrmann wrote: >> Hi >> >> On Tue, Nov 18, 2014 at 4:52 AM, Stanisław Pitucha >> wrote: >> > TXT records should have at

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread David Herrmann
Hi On Thu, Nov 27, 2014 at 4:42 PM, Gustavo Sverzut Barbieri wrote: > On Thu, Nov 27, 2014 at 03:42:37PM +0100, David Herrmann wrote: >> Hi >> >> On Wed, Nov 26, 2014 at 6:40 PM, Gustavo Sverzut Barbieri >> wrote: >> > On Wed, Nov 26, 2014 at 06:33:31PM +0100

Re: [systemd-devel] [PATCH] Set error code on failure

2014-11-27 Thread David Herrmann
Hi On Tue, Nov 18, 2014 at 6:40 AM, Stanisław Pitucha wrote: > Set the error code in case of incorrect name. This prevents continuing > and failing an assert(name) later on. > --- > src/resolve/resolved-dns-packet.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Looks good, applied!

Re: [systemd-devel] [PATCH 1/2] Fix redirection loops in compressed RR

2014-11-27 Thread David Herrmann
Hi On Tue, Nov 18, 2014 at 6:25 AM, Stanisław Pitucha wrote: > Loops in RR compression were only detected for the first entry. > Multiple redirections should be allowed, each one checking for an > infinite loop on its own starting point. > Also update the pointer on each redirection to avoid long

Re: [systemd-devel] [PATCH] Stop crashing on empty TXT

2014-11-27 Thread David Herrmann
he DNS RFC. I'm not really sure TXT records cannot be empty (and I'm not sure any follow-up RFC allows empty records). Therefore, I fixed resolved to work with empty txt.strings strvs instead. See: commit 0f84a72e3c0f58d71cff2121e6df1611eaf9c9ea Author: David Herrmann Date: T

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread David Herrmann
Hi On Wed, Nov 26, 2014 at 6:40 PM, Gustavo Sverzut Barbieri wrote: > On Wed, Nov 26, 2014 at 06:33:31PM +0100, Lennart Poettering wrote: >> On Wed, 26.11.14 15:16, Gustavo Sverzut Barbieri >> (gustavo.barbi...@intel.com) wrote: >> >> > I'm okay with the change to remove gc-sections. >> > >> > s

Re: [systemd-devel] [PATCH] hwdb: add a new db for the DPI/frequency settings of mice

2014-11-27 Thread David Herrmann
Hi On Thu, Nov 27, 2014 at 7:06 AM, Peter Hutterer wrote: > On Wed, Nov 26, 2014 at 01:10:10AM +0100, Zbigniew Jędrzejewski-Szmek wrote: >> On Wed, Nov 26, 2014 at 01:01:30AM +0100, Zbigniew Jędrzejewski-Szmek wrote: >> > On Wed, Nov 26, 2014 at 07:30:51AM +1000, Peter Hutterer wrote: [snip] >> >

Re: [systemd-devel] Compatibility between D-Bus and kdbus

2014-11-25 Thread David Herrmann
Hi Thiago On Tue, Nov 25, 2014 at 9:01 PM, Thiago Macieira wrote: > On Tuesday 25 November 2014 17:11:36 Lennart Poettering wrote: >> > == org.freedesktop.DBus connection == >> > >> > Will systemd-kdbus provide that name on the bus so applications that make >> > calls directly be able to continue

Re: [systemd-devel] [PATCH] localed: forward xkbcommon errors

2014-11-25 Thread David Herrmann
Hi On Tue, Nov 25, 2014 at 10:50 AM, Jan Synacek wrote: > David Herrmann writes: >> Hi Jan! > > Hello! > >> On Tue, Nov 25, 2014 at 9:23 AM, Jan Synacek wrote: >>> The errors are prefixed with "libxkbcommon", because they are quite >>> con

Re: [systemd-devel] [PATCH] localed: forward xkbcommon errors

2014-11-25 Thread David Herrmann
Hi Jan! On Tue, Nov 25, 2014 at 9:23 AM, Jan Synacek wrote: > The errors are prefixed with "libxkbcommon", because they are quite > confusing. With the prefix, we at least know where they come from. > --- > src/locale/localed.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletion

Re: [systemd-devel] Type=simple and BusName=

2014-11-24 Thread David Herrmann
Hi On Wed, Nov 19, 2014 at 2:05 PM, Umut Tezduyar Lindskog wrote: > Hi, > > Quote from man service: > > BusName= Takes a D-Bus bus name that this service is reachable as. > This option is mandatory for services where Type= is set to dbus, but > its use is otherwise recommended if the process take

Re: [systemd-devel] [PATCH v2] localed: validate set-x11-keymap input

2014-11-24 Thread David Herrmann
Hi On Wed, Nov 19, 2014 at 9:41 AM, Jan Synacek wrote: > David Herrmann writes: >> Hi >> >> On Fri, Nov 14, 2014 at 12:42 PM, Jan Synacek wrote: >>> Try to validate the input similarly to how setxkbmap does it. Multiple >>> layouts and variants can be sp

Re: [systemd-devel] systemd-run checks path on host before running on container

2014-11-22 Thread David Herrmann
Hi On Fri, Nov 21, 2014 at 5:00 AM, Peter Hutterer wrote: > I was playing around with systemd-nspawn and systemd-run. The latter doesn't > seem to let me run a command that solely exists on the container. > simple way of reproducing: drop a file foo into the container, then on the > host run > >

Re: [systemd-devel] [PATCH] udev: Do not try to start worker if it cannot not recieve events

2014-11-20 Thread David Herrmann
Hi On Tue, Nov 18, 2014 at 12:17 PM, wrote: > From: Philippe De Swert > > udev_monitor_enable_receiving() enables a udev_monitor to recieve > events. If this fails, the worker here created most likely won't > recieve any events and will probably not be very useful. So now > we check if the even

Re: [systemd-devel] [PATCH v2 1/2] utf8: intruduce utf8_escape_non_printable

2014-11-19 Thread David Herrmann
Hi On Wed, Nov 12, 2014 at 11:49 AM, WaLyong Cho wrote: > --- > src/shared/utf8.c| 39 +++ > src/shared/utf8.h| 1 + > src/test/test-utf8.c | 25 + > 3 files changed, 65 insertions(+) > > diff --git a/src/shared/utf8.c b/src/sh

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:58 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHE

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:37 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHEC

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:20 AM, Susant Sahani wrote: > On 11/17/2014 03:39 PM, David Herrmann wrote: >> >> Hi > > Hi David, >> >> >> On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: >>> >>> Unchecked return value from library

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: > Unchecked return value from library > --- > src/tty-ask-password-agent/tty-ask-password-agent.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c > b/src/tty

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHEC

Re: [systemd-devel] [PATCH 3/3] bus-socket: fix CID 996290 Unchecked return value

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > --- > src/libsystemd/sd-bus/bus-socket.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/src/libsystemd/sd-bus/bus-socket.c > b/src/libsystemd/sd-bus/bus-socket.c > index d124d9a..662b

Re: [systemd-devel] [PATCH 2/3] resolved: fix CID 1237549 Unchecked return value

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > --- Applied! Thanks David > src/resolve/resolved-dns-scope.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/resolve/resolved-dns-scope.c > b/src/resolve/resolved-dns-scope.c > index 1664b13..25e0d9e

Re: [systemd-devel] [PATCH 1/3] log: 1237557 Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > fix 1237557 Unchecked return value from library > --- > src/shared/log.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/shared/log.c b/src/shared/log.c > index 1c589ac..e7237ba 100644 > --- a/src/shared/log.

Re: [systemd-devel] [PATCH v2] localed: validate set-x11-keymap input

2014-11-17 Thread David Herrmann
Hi On Fri, Nov 14, 2014 at 12:42 PM, Jan Synacek wrote: > Try to validate the input similarly to how setxkbmap does it. Multiple > layouts and variants can be specified, separated by a comma. Variants > can also be left out, meaning that the user doesn't want any particular > variant for the resp

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX wrote: > Hi, everybody, > > > > As we all know that currently systemd puts all the services into > a run_queue, and lets them run together as possible as it can. However, this > mechanism also brings in a problem, which means all the servi

Re: [systemd-devel] [PATCH] bus: fix null pointer dereference

2014-11-16 Thread David Herrmann
Hi On Sun, Nov 9, 2014 at 3:41 PM, Ronny Chevalier wrote: > CID#1237620 > --- > src/libsystemd/sd-bus/bus-message.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/libsystemd/sd-bus/bus-message.c > b/src/libsystemd/sd-bus/bus-message.c > index be36d9f..edadacf 100644 > --- a/src

Re: [systemd-devel] [PATCH] udev: fix TOCTOU when creating a directory

2014-11-16 Thread David Herrmann
Hi On Sun, Nov 16, 2014 at 7:34 PM, David Herrmann wrote: > Hi > > On Sun, Nov 9, 2014 at 3:42 PM, Ronny Chevalier > wrote: >> CID#979416 >> --- >> src/udev/collect/collect.c | 7 --- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> >&g

Re: [systemd-devel] [PATCH] udev: fix TOCTOU when creating a directory

2014-11-16 Thread David Herrmann
Hi On Sun, Nov 9, 2014 at 3:42 PM, Ronny Chevalier wrote: > CID#979416 > --- > src/udev/collect/collect.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/udev/collect/collect.c b/src/udev/collect/collect.c > index dc849bd..6cb10fe 100644 > --- a/src/udev/colle

Re: [systemd-devel] [PATCH] network/networkd-netdev-veth.c: Fix a typo.

2014-11-08 Thread David Herrmann
Hi On Sat, Nov 8, 2014 at 11:59 AM, Rami Rosen wrote: > This patch fixes a typo in network/networkd-netdev-veth.c. > > Signed-off-by: Rami Rosen No sign-offs needed on systemd. I changed the commit-msg to systemd style and pushed the fix as "network: fix typo". Thanks! David > --- > src/net

Re: [systemd-devel] Poor man's reboot doesn't work

2014-11-06 Thread David Herrmann
Hi On Sun, Nov 2, 2014 at 12:48 PM, Thomas Meyer wrote: > Hi, > > I tried to switch to the emergency target and back to the graphical target, > but this doesn't seem to work. > > Should this work, i.e.? > > # systemctl isolate emergency.target > # systemctl isolate graphical.target > > The servic

Re: [systemd-devel] [PATCH] rules: rerun vconsole-setup when switching from vgacon to fbcon

2014-11-06 Thread David Herrmann
Hi Ray On Thu, Nov 6, 2014 at 10:40 AM, David Herrmann wrote: > On Wed, Nov 5, 2014 at 4:11 PM, Ray Strode wrote: >>> So if you have no idea how to make that rule be generated only if >>> ENABLE_VCONSOLE is set by configure, then we probably should take my >>> pa

Re: [systemd-devel] [PATCH] rules: rerun vconsole-setup when switching from vgacon to fbcon

2014-11-06 Thread David Herrmann
Hi On Wed, Nov 5, 2014 at 4:11 PM, Ray Strode wrote: > Hi, > > On Wed, Nov 5, 2014 at 9:53 AM, David Herrmann wrote: >> I had that change locally, but didn't push it because vconsole is >> optional. Thus, this rule must be optional, too. I'm now digging into >&

Re: [systemd-devel] [PATCH] rules: rerun vconsole-setup when switching from vgacon to fbcon

2014-11-05 Thread David Herrmann
Hi Ray On Wed, Nov 5, 2014 at 3:48 PM, Ray Strode wrote: > From: Ray Strode > > The initialization performed by systemd-vconsole-setup is reset > when changing console drivers (say from vgacon to fbcon), so we > need to run it in that case. > > See > http://lists.freedesktop.org/archives/systemd

Re: [systemd-devel] [PATCH] login: rerun vconsole-setup when switching from vgacon to fbcon

2014-11-05 Thread David Herrmann
Hi Ray On Wed, Nov 5, 2014 at 2:30 PM, Ray Strode wrote: > From: Ray Strode > > The initialization performed by systemd-vconsole-setup is reset > when changing console drivers (say from vgacon to fbcon), so we > need to run it in that case. > > See > http://lists.freedesktop.org/archives/systemd

Re: [systemd-devel] [PATCH] udev: Remove hard-coded string offsets when parsing kernel command line.

2014-11-05 Thread David Herrmann
Hi On Wed, Nov 5, 2014 at 10:16 AM, Richard W.M. Jones wrote: > --- > src/udev/udevd.c | 23 --- > 1 file changed, 12 insertions(+), 11 deletions(-) > > diff --git a/src/udev/udevd.c b/src/udev/udevd.c > index 193702c..340812b 100644 > --- a/src/udev/udevd.c > +++ b/src/udev/

Re: [systemd-devel] [PATCH v2] udev: Fix parsing of udev.event-timeout kernel parameter.

2014-11-05 Thread David Herrmann
Hi On Wed, Nov 5, 2014 at 12:45 AM, Richard W.M. Jones wrote: > --- > src/udev/udevd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/src/udev/udevd.c b/src/udev/udevd.c > index 2e6c713..193702c 100644 > --- a/src/udev/udevd.c > +++ b/src/udev

Re: [systemd-devel] [PATCH] buildsys: test-util needs -lm for fabs()

2014-11-05 Thread David Herrmann
Hi On Wed, Nov 5, 2014 at 12:48 AM, Cristian Rodríguez wrote: > --- > Makefile.am | 1 + > 1 file changed, 1 insertion(+) Looks good, applied! Thanks David > diff --git a/Makefile.am b/Makefile.am > index ff5f61b..3686103 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -1543,6 +1543,7 @@

Re: [systemd-devel] [PATCH] man/tmpfiles.d: fix typo

2014-11-04 Thread David Herrmann
Hi On Tue, Nov 4, 2014 at 1:38 PM, Jan Synacek wrote: > --- > man/tmpfiles.d.xml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml > index f2360ba..1b14d69 100644 > --- a/man/tmpfiles.d.xml > +++ b/man/tmpf

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-04 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 1:50 PM, Lennart Poettering wrote: > On Mon, 03.11.14 13:46, David Herrmann (dh.herrm...@gmail.com) wrote: > >> static inline int negative_errno(void) { >> assert_return(errno > 0, -EINVAL); >> return -errno; >> } >

Re: [systemd-devel] Unicode support in console after boot

2014-11-04 Thread David Herrmann
Hi On Thu, Oct 23, 2014 at 6:01 PM, Ray Strode wrote: > Hi, > > On Tue, Oct 21, 2014 at 1:39 PM, Ivan Shapovalov wrote: >>> > > Please try editing >>> > > /usr/lib/systemd/system/systemd-vconsole-setup.service and >>> > > remove RemainAfterExit=yes, then regenerate your initramfs image by >>>

<    1   2   3   4   5   6   >