[systemd-devel] [PATCH v2 2/2] bootchart: escape non printable process name

2014-11-02 Thread WaLyong Cho
--- src/bootchart/svg.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index faf377e..e5569e1 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -39,6 +39,7 @@ #include "svg.h" #include "bootchart.h" #include "

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

2014-11-02 Thread WaLyong Cho
--- src/shared/utf8.c| 87 src/shared/utf8.h| 1 + src/test/test-utf8.c | 30 ++ 3 files changed, 118 insertions(+) diff --git a/src/shared/utf8.c b/src/shared/utf8.c index 9353559..5245604 100644 --- a/src/shared/utf8.

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 4:40 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 6:34 PM, Andy Lutomirski wrote: >> On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires >> wrote: >>> On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Benjamin Tissoires
On Sun, Nov 2, 2014 at 6:34 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires > wrote: >> On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: >>> On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >>> wrote: On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrot

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: >> On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >> wrote: >>> On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: On Sun, 2 Nov 2014, Jiri Kosina wrote: > Altern

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Benjamin Tissoires
On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires > wrote: >> On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: >>> On Sun, 2 Nov 2014, Jiri Kosina wrote: >>> Alternatively, you can just write udev rule which triggers on HID devices

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: >> On Sun, 2 Nov 2014, Jiri Kosina wrote: >> >>> Alternatively, you can just write udev rule which triggers on HID devices, >>> issues HIDIOCGRDESC ioctl() on the just-created hidraw nod

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Tom Gundersen
On Sun, Nov 2, 2014 at 10:13 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 12:47 PM, Tom Gundersen wrote: >> Hi Andy, >> >> On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >>> I want to get U2F (universal second factor, sometimes called "security >>> key" or even "gnubby") working o

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Jiri Kosina wrote: > Alternatively, you can just write udev rule which triggers on HID devices, > issues HIDIOCGRDESC ioctl() on the just-created hidraw node, and decides > afterwards whether node permissions need to be altered ... right? Just to make myself clear here -- th

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Andy Lutomirski wrote: > > Hmmm ... please keep in mind that report_descriptor is actually in > > debugfs, so it's a bit questionable whether you can rely on it being > > present on well-defined location on all systems. > > Huh? I have > /sys/devices/pci:00/:00:1a.

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 12:47 PM, Tom Gundersen wrote: > Hi Andy, > > On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >> I want to get U2F (universal second factor, sometimes called "security >> key" or even "gnubby") working on Linux. U2F tokens are HID devices >> that speak a custom prot

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 12:42 PM, Jiri Kosina wrote: > On Sun, 2 Nov 2014, Andy Lutomirski wrote: > >> I want to get U2F (universal second factor, sometimes called "security >> key" or even "gnubby") working on Linux. U2F tokens are HID devices >> that speak a custom protocol. The intent is that

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Tom Gundersen
Hi Andy, On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: > I want to get U2F (universal second factor, sometimes called "security > key" or even "gnubby") working on Linux. U2F tokens are HID devices > that speak a custom protocol. The intent is that user code will speak > to then using

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Andy Lutomirski wrote: > I want to get U2F (universal second factor, sometimes called "security > key" or even "gnubby") working on Linux. U2F tokens are HID devices > that speak a custom protocol. The intent is that user code will speak > to then using something like HIDAPI.

[systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
I want to get U2F (universal second factor, sometimes called "security key" or even "gnubby") working on Linux. U2F tokens are HID devices that speak a custom protocol. The intent is that user code will speak to then using something like HIDAPI. The trick is that, for HIDAPI to work, something n

Re: [systemd-devel] [PATCH] manager: Ensure user's systemd runtime directory exists.

2014-11-02 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 02, 2014 at 02:04:20PM +, Colin Guthrie wrote: > This mirrors code in dbus.c when creating the private socket and > avoids error messages like: > > systemd[1353]: bind(/run/user/603/systemd/notify) failed: No such file or > directory > systemd[1353]: Failed to fully start up daemo

Re: [systemd-devel] statelessy system

2014-11-02 Thread Lennart Poettering
On Fri, 31.10.14 14:06, Łukasz Stelmach (l.stelm...@samsung.com) wrote: > Hello. > > I am working to upgrade systemd in Tizen to v217 from v212. To verify > rpm packages we use rpmlint with some rules from opensuse[1]. For > whatever reason v217 package exceed allowed badness because it puts > co

[systemd-devel] Dbus user/system session

2014-11-02 Thread arnaud gaboury
Here are the unit files I use to start my user Dbus session daemon /home/gabx/.config/systemd/user/dbus.service [Unit] Description=D-Bus System Message Bus Requires=dbus.socket [Service] ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofor

Re: [systemd-devel] [PATCH 1/5] calendar: semesterly alias for semi-annually

2014-11-02 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 02, 2014 at 02:35:53PM +0100, Daniele Medri wrote: > yes, it's needed because all other terms are -ly friendly. > With this one, the patch 2/5 could be useful for "semesterly" alias and > the man page revision. Sorry, but I don't understand what you mean. Sorting the code and man page

[systemd-devel] [PATCH] unit: do not order timers.target before basic.target

2014-11-02 Thread Zbigniew Jędrzejewski-Szmek
Since commit 19f8d037833f2 'timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no' timers might get a dependency on time-sync.target, which does not really belong in early boot. If ntp is enabled, time-sync.target might be delayed until a network connection is established.

[systemd-devel] [HEADSUP] First piece of PPPoE support

2014-11-02 Thread Tom Gundersen
Hi, I just committed a library to negotiate PPPoE channels. Note that we still need a PPP library before this is useful in practice. However, comments on the code and testing on real networks would be very much appreciated. See the commit message for details:

Re: [systemd-devel] v217: ordering cycle issue

2014-11-02 Thread Stefan G. Weichinger
Am 02.11.2014 um 14:57 schrieb Stefan G. Weichinger: > Downgrading to v216 solved it for me, now I see that other gentoo-users > hit the same issues: > > https://bugs.gentoo.org/show_bug.cgi?id=527894 > > How can I pinpoint what's wrong here? > Does anyone else see this behavior (with other dist

[systemd-devel] v217: ordering cycle issue

2014-11-02 Thread Stefan G. Weichinger
With v217 one of my boxes stopped starting mysqld.service ... as I looked closer I found that its tmpfiles weren't set up correctly In journalctl I found that the setup of tmpfiles was "skipped" in a way: Nov 02 13:33:55 goto.oops.intern systemd[1]: Found dependency on basic.target/start Nov 02

[systemd-devel] [PATCH] manager: Ensure user's systemd runtime directory exists.

2014-11-02 Thread Colin Guthrie
This mirrors code in dbus.c when creating the private socket and avoids error messages like: systemd[1353]: bind(/run/user/603/systemd/notify) failed: No such file or directory systemd[1353]: Failed to fully start up daemon: No such file or directory --- src/core/manager.c | 12 1 f

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

2014-11-02 Thread Thomas Meyer
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 services seems to fail with this error once I'm in the emergency.target and tr