[systemd-devel] [PATCH] Set default polling interval on removable devices as well

2014-04-26 Thread Martin Pitt
the linked bugs). Thanks for considering, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From daa826169c1cef081da50c0127ad9311fe93de8a Mon Sep 17 00:00:00 2001 From: Martin Pitt martin.p...@ubuntu.com Date

[systemd-devel] kvm modules don't load any more with kernel = 3.11

2014-04-28 Thread Martin Pitt
udev rules didn't change since then). Is that something which ought to be in 80-drivers.rules, or is that a kernel regression? Andy's description suggests the former, and he can hopefully chime in. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: [systemd-devel] [PATCH 02/10] rules: updates to default device permissions in 50-udev-default.rules

2014-07-16 Thread Martin Pitt
for not breaking backwards compatibility on upgrades. Definitively not upstream material. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 03/10] rules: load sg module from 80-drivers.rules

2014-07-16 Thread Martin Pitt
Kay Sievers [2014-07-16 12:53 +0200]: On Wed, Jul 16, 2014 at 12:09 PM, Jon Severinsson j...@severinsson.net wrote: From: Martin Pitt martin.p...@ubuntu.com Taken from the Debian specific rules, this is the remaining difference over the upstream 80-drivers.rules. Bug-Debian: http

Re: [systemd-devel] [PATCH 05/10] rules: skip 99-systemd.rules when not running systemd as init

2014-07-16 Thread Martin Pitt
Jon Severinsson [2014-07-16 12:09 +0200]: ACTION==remove, GOTO=systemd_end +TEST!=/run/systemd/system, GOTO=systemd_end I'm fairly sure that this is obsolete. Can you please test without this? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: [systemd-devel] [PATCH] keymap: Add microphone mute keymap for Dell Latitude

2014-07-30 Thread Martin Pitt
. Thanks! Applied. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-16 Thread Martin Pitt
-- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] keymap: Specific models should always override more general globs

2013-09-01 Thread Martin Pitt
first? It would be rather impractical if the generic globs had to enumerate all Dell models which are not Latitudes or Precisions. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] keymap: Specific models should always override more general globs

2013-09-02 Thread Martin Pitt
Hello again, Martin Pitt [2013-09-02 7:41 +0200]: Kay, is there any kind of processing order guarantee from the hwdb trie? Discussed on chat. For the record, common prefixes get sorted into one node, and within that node sorting happens lexicographically (asciibetically and shorter strings

Re: [systemd-devel] udev battery level changed events

2013-10-23 Thread Martin Pitt
echo change | sudo tee /sys/class/power_supply/BAT*/uevent upower's test suite uses umockdev which can send uevents for the mocked devices with self.testbed.uevent(device_path, change), like the test_bluetooth_mouse_reconnect() test case already does. Martin -- Martin Pitt

Re: [systemd-devel] udev battery level changed events

2013-10-23 Thread Martin Pitt
uevents for the latter won't help much for reducing wakeups, but I take it it doesn't matter that much while an AC is attached. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

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

2013-11-14 Thread Martin Pitt
Martin Pitt [2013-11-14 17:53 +0100]: So option 1 is to update the patch to not rely on uid, but instead always get it from PAM. I went through all instances of using the uid, username, or pw, and I cannot find any place in the PAM module where we would actually want the originating user name

[systemd-devel] [PATCH v2] Re: Fix PAM module to not clobber XDG_RUNTIME_DIR with su

2013-11-14 Thread Martin Pitt
Martin Pitt [2013-11-14 7:45 +0100]: +} else { +pam_syslog(handle, LOG_DEBUG, Runtime dir %s is not owned by the target uid %u, ignoring., + runtime_path, uid); Sorry, LOG_DEBUG appears by default, this needs to be guarded with checking

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

2013-11-18 Thread Martin Pitt
-- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Patch to remap some hotkeys in Toshiba Satellite U940

2013-11-18 Thread Martin Pitt
(0xee) Error calling EVIOCSKEYCODE: Invalid argument Hm, I don't see these scan codes in the keymaps. Is that from some local hwdb file of your's? Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

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

2013-11-19 Thread Martin Pitt
session data, that would indeed be more useful/correct in my opinion. Doing ~user$ su - otheruser or ssh otheruser@localhost should effectively behave the same, but right now logind gives you the session info for ~user in the first, and for ~otheruser in the second case. Thanks! Martin -- Martin

Re: [systemd-devel] Fix PAM module to not clobber XDG_RUNTIME_DIR with su

2013-11-20 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2013-11-21 0:16 +0100]: On Thu, 14.11.13 07:45, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, pam_systemd currently causes some havoc when you run programs or shells with su: it passes on the $XDG_RUNTIME_DIR from the original user session

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

2013-11-25 Thread Martin Pitt
is fixed now at least. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] The whole su/pkexec session debate

2013-12-01 Thread Martin Pitt
logind can see that the session is still active that way? (Unless you configured it to kill all session processes on logout). Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] Question about a udev rule

2013-12-08 Thread Martin Pitt
Robert Milasan [2013-12-08 19:14 +0100]: IMPORT{program}=/usr/bin/udevadm info --export --export-prefix=ROOT_ --device-id-of-file=/ ENV{MAJOR}!=0, ENV{MAJOR}==$env{ROOT_MAJOR}, ^ For starters you seem to be missing a comma there. -- Martin Pitt

Re: [systemd-devel] The whole su/pkexec session debate

2013-12-10 Thread Martin Pitt
-- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] The whole su/pkexec session debate

2013-12-10 Thread Martin Pitt
disown), and if you turn it on in environments like coffee shops, school labs, or other public computers it should really kill everything, period. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] udev rules environment variable

2013-12-17 Thread Martin Pitt
/test_device.log' Drop the KERNEL== bits. Network devices don't have a /dev/... device node in Linux, so KERNEL will never be set for those. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

[systemd-devel] [PATCH] rules: Fix persistent input symlinks for interface 00

2012-10-11 Thread Martin Pitt
-- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From fb5d873cfd4606383964c707da0ec21ebaa1c04b Mon Sep 17 00:00:00 2001 From: Martin Pitt martinp...@gnome.org Date: Thu, 11 Oct 2012 08:21:17 +0200 Subject: [PATCH

[systemd-devel] src/login/uaccess.c: Dead code?

2013-03-26 Thread Martin Pitt
Hello, I just noticed that src/login/uaccess.c seems to be dead code, not being referenced anywhere in the build system. It looks like it was forgotten to clean up when moving that functionality to src/udev/udev-builtin-uaccess.c? OK to push? Thanks, Martin -- Martin Pitt

[systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-14 Thread Martin Pitt
does that. Thanks for considering! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 0d5c4f5d492d13c99ac1a8619ccb0dc3fe438d16 Mon Sep 17 00:00:00 2001 From: Martin Pitt martinp...@gnome.org Date: Fri

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-14 Thread Martin Pitt
share /lb/udev/hwdb.bin? How would sharing be any different whether the cache file is in /etc or /lib? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-17 Thread Martin Pitt
Hello Tom, replying on-list again, if you don't mind. Tom Gundersen [2013-06-16 22:52 +0200]: On Sun, Jun 16, 2013 at 10:32 PM, Martin Pitt martin.p...@ubuntu.com wrote: We actually generate the hwdb during package build and ship hwdb.bin statically. The problem with that is that local

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-17 Thread Martin Pitt
at the moment, as the file is in the package it is the same on all installations (of the same architecture). Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-17 Thread Martin Pitt
there is no reason to do so, it just wastes cycles, dramatically complicates the handling of the cache files, and adds an extra 5 MB to the install footprint. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-17 Thread Martin Pitt
Lennart Poettering [2013-06-17 18:28 +0200]: On Mon, 17.06.13 06:41, Martin Pitt (martin.p...@ubuntu.com) wrote: No, by placing it in /usr (or /lib, for old distributions which haven't done the /usr merge yet) you break the rule that the files the systemd package installs in /usr

Re: [systemd-devel] assigning one udev attr to another

2013-06-20 Thread Martin Pitt
} (see man udev) Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] Please review the patch about support the samsung series 2 Fn+keys.

2013-06-28 Thread Martin Pitt
patch). This rule would apply to any model that starts with 300 or 270E. Perhaps it can be generalized even further. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] Please review the patch about support the samsung series 2 Fn+keys.

2013-06-28 Thread Martin Pitt
-- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] Please review the patch about support the samsung series 2 Fn+keys.

2013-06-28 Thread Martin Pitt
! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-06 Thread Martin Pitt
a SysV/upstart → systemd migration on a flag day. Not only that, but it must time its releases with the releases of systemd-sysv. Mostly not. That needs to happen for D-BUS API changes like they happened around version 209, but that happens fairly seldomly. Martin -- Martin Pitt

Re: [systemd-devel] Fwd: [PATCH v3] tests: added tests for unit_file_get_{state, list}

2014-10-17 Thread Martin Pitt
in the same switch isn't otherwise possible, it'd need to be moved into an if/else ladder. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing

[systemd-devel] [PATCH] udev hwdb: Support shipping pre-compiled database in system images

2014-10-17 Thread Martin Pitt
it in /etc. The behaviour of this should be fully backwards compatible. Thanks for considering, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 38b8a915fd71204ed9e8b0568ad16516dfa9208b Mon Sep 17 00

[systemd-devel] [PATCH v2] udev hwdb: Support shipping pre-compiled database in system images

2014-10-17 Thread Martin Pitt
/hwdb.d/, which would avoid this problem, avoid introducing a new option, and still generally DTRT. I'd prefer this, so if you think that's easier/better, I'm happy to update the patch accordingly. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: [systemd-devel] [PATCH v2] udev hwdb: Support shipping pre-compiled database in system images

2014-10-18 Thread Martin Pitt
Martin Pitt [2014-10-17 15:44 +0200]: So ideally the condition would be ConditionPathExists=!@udevlibexecdir@/hwdb.bin OR ConditionDirectoryNotEmpty=/etc/udev/hwdb.d/ but this isn't possible AFAIK. Hah, I stand corrected. So this could be ConditionPathExists=|!@udevlibexecdir

[systemd-devel] [PATCH] Apply ProtectSystem to non-merged /usr directories

2014-10-19 Thread Martin Pitt
, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 84133fed054b02702955d9371a553c213a45ee9e Mon Sep 17 00:00:00 2001 From: Martin Pitt martin.p...@ubuntu.com Date: Sun, 19 Oct 2014 11:56:45 -0400

Re: [systemd-devel] [PATCH v2] udev hwdb: Support shipping pre-compiled database in system images

2014-10-19 Thread Martin Pitt
to the list. For some unknown reason that didn't actually hit the list though, so I bounced my reply again this morning. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital

[systemd-devel] [PATCH v3] udev hwdb: Support shipping pre-compiled database in system images

2014-10-24 Thread Martin Pitt
of just returning a path, but I don't have a good idea to beautify it. I tested ./udevadm hwdb --update with and without --vendor, and ./udevadm test-builtin hwdb in both cases. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

[systemd-devel] [PATCH v4] udev hwdb: Support shipping pre-compiled database in system images

2014-10-24 Thread Martin Pitt
) is the systemd style, fair enough. The updated patch fixes both now. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 1624d949c60a911f7bf578d0141c8cd0d98c54e9 Mon Sep 17 00:00:00 2001 From: Martin

Re: [systemd-devel] [PATCH] udev hwdb: Support shipping pre-compiled database in system images

2014-10-25 Thread Martin Pitt
Zbyszek's suggestion of removing some unneeded { }. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel

[systemd-devel] string constants vs. #defines [was: Re: [PATCH v4] udev hwdb: Support shipping pre-compiled database in system images]

2014-10-26 Thread Martin Pitt
in the source. Is there any downside to using static constants? Parens after NULSTR_FOREACH are not necessary. Ack, will change that. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] udev hwdb: Support shipping pre-compiled database in system images

2014-10-27 Thread Martin Pitt
, and it also avoids an architecture-specific and big binary file in an otherwise config file only /etc. (Yes, /etc/ld.so.cache is somewhat of an exception, but it's arch independent, text, and small). Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

[systemd-devel] [PATCH v5] udev hwdb: Support shipping pre-compiled database in system images

2014-10-28 Thread Martin Pitt
, but then again this is only really being used in package maintainer scripts or custom system image builds; users will hardly ever see this. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From

[systemd-devel] [PATCH v6] udev hwdb: Support shipping pre-compiled database in system images

2014-10-28 Thread Martin Pitt
() into open_hwdb_bin(). As the latter is only used once, I instead moved that logic into udev_hwdb_new(), which also simplifies it somewhat. I also added a new and clearer error message if hwdb.bin doesn't exist anywhere. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: [systemd-devel] [PATCH] hwdb: Ignore brightness keys on Dell Inspiron 1520 to avoid double events

2014-10-30 Thread Martin Pitt
keypress. Thanks! Applied with some commit log cleanup (we don't usually do Signed-Off-By etc. in systemd): http://cgit.freedesktop.org/systemd/systemd/commit/?id=aba248e Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

[systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Martin Pitt
-unprivileged-containers/ [2] http://cgit.freedesktop.org/systemd/systemd/commit/?id=fb6becb4436ae -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature

Re: [systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Martin Pitt
running systemd as pid 1 in user containers is not currently working, but Stéphane has more details about that. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH v6] udev hwdb: Support shipping pre-compiled database in system images

2014-11-05 Thread Martin Pitt
happen in an initramfs. So +1 from my side for dialing it back to _dbg(). Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list

Re: [systemd-devel] Udev rules hardware database

2014-11-06 Thread Martin Pitt
to be the case that we don't currently enable autosuspend at all, but it's currently highly inconsistant and confusing. Martin [1] E: ID_MODEL=08af E: ID_MODEL_FROM_DATABASE=QuickCam Easy/Cool E: ID_VENDOR=046d E: ID_VENDOR_FROM_DATABASE=Logitech, Inc. -- Martin Pitt| http

[systemd-devel] [PATCH] udevadm: Use correct debug logging function

2014-11-12 Thread Martin Pitt
://bugs.debian.org/769228 -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From f860a812b16e0e2f5e5bf99d59197d25f99f Mon Sep 17 00:00:00 2001 From: Martin Pitt martin.p...@ubuntu.com Date: Wed, 12 Nov 2014 10:55:28 +0100

Re: [systemd-devel] [PATCH 2/2] keymap: Fix special keys on ThinkPad X60/X61 Tablet

2014-11-13 Thread Martin Pitt
is indecipherable for me. It neither looks like a screen lock nor a tool box to me, though; is that the button which generates code 68 which this part of the patch addresses? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: [systemd-devel] [PATCH 2/2] keymap: Fix special keys on ThinkPad X60/X61 Tablet

2014-11-13 Thread Martin Pitt
Hello again, Martin Pitt [2014-11-13 9:00 +0100]: I haven't seen such a laptop myself yet, but the best photo I could find on the interweb is http://images.harlander.com/upload/files/artikelbilder/computer/notebooks/lenovo/x60/mit_dock/1000x1000.jpg There are three round black push buttons

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-11-18 Thread Martin Pitt
), initialization of a system with empty /etc/, and cleanliness of /etc. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-11-18 Thread Martin Pitt
' (and same for 'disabled'). I guess if the full idea of not requiring the symlinks in /etc in the first place is rejected, then that would be the next best thing. Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-11-18 Thread Martin Pitt
, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-11-18 Thread Martin Pitt
more alike. I. e. if that minimal /etc/ proposal is refused, we just go on and live with the clutter. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd

[systemd-devel] Improving systemd-nspawn@.service (container dir/nonpersistant journal)

2014-11-20 Thread Martin Pitt
-c 'if [ -d ... ]' shell commands) - Option 2: Make --link-journal=guest nonfatal and just print out a warning if /var/log/journal/ does not exist. - Any others? I'm happy to work on either solution. Thanks, Martin [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770275 -- Martin

Re: [systemd-devel] Improving systemd-nspawn@.service (container dir/nonpersistant journal)

2014-11-20 Thread Martin Pitt
for both cases. But if you prefer that, I'm happy to change the patch accordingly. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 62a73c5c87b10ba3a40d012822aa000b176667c3 Mon Sep 17 00:00

Re: [systemd-devel] [PATCH v2] Improving systemd-nspawn@.service (container dir/nonpersistant journal)

2014-11-21 Thread Martin Pitt
Hello Lennart, Lennart Poettering [2014-11-21 0:36 +0100]: So far we prefixed all variables parsed from command line arguments with arg_, please follow the same scheme for this. Ah, sure. Done. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

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

2014-11-25 Thread Martin Pitt
Hey Peter, Peter Hutterer [2014-11-25 20:45 +1000]: -# /etc/udev/hwdb.d/70-keyboad.hwdb +# /etc/udev/hwdb.d/70-keyboard.hwdb Applied, thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] systemd-cgroups-agent not working in containers

2014-11-27 Thread Martin Pitt
down because a lot of stale user sessions slow down almost all systemd tools, mostly systemctl. loginctl reports many thousand sessions. All in state closing. This sounds similar to an issue that systemd-shim in Debian had. Martin Pitt (helps to maintain systemd in Debian) fixed that issue

Re: [systemd-devel] Native Journal source vs syslog forwarding

2014-11-28 Thread Martin Pitt
the journal.conf.d/ feature and have journal-pulling sysloggers disable forwarding along the way, or we need to wait until all packaged sysloggers can read from the journal before we turn off forwarding by default. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu

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

2014-11-28 Thread Martin Pitt
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? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

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

2014-11-28 Thread Martin Pitt
should not return !=0 from main() if the return value wasn't negative. Yeah, that's even more robust and guards against similar errors in the future. Updated patch attached. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

Re: [systemd-devel] [PATCH] cgroup-util: Add more well-known controller names

2014-11-30 Thread Martin Pitt
downstream if at all, for now, if you need it now. Ack, that's ok. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel

[systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-01 Thread Martin Pitt
to illustrate the problem, but doesn't really belong into production code. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From fd2f8a444c9c644a39dd3b619934e8768e03c2a3 Mon Sep 17 00:00:00 2001 From

Re: [systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-02 Thread Martin Pitt
restricted to that case. Any unit which sets up cgroups in other controllers will be affected by that. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-07 Thread Martin Pitt
-files to supply information like enabled (default)/enabled (admin) depending on whether link in /usr/lib or /etc exists. Exactly. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-07 Thread Martin Pitt
not a limitation, the postinst *can* differ between initial install and upgrade by looking at $2 (the most recently configured version). If it's empty, it's a new install. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-07 Thread Martin Pitt
/foo.service or not. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

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

2014-12-15 Thread Martin Pitt
this? Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

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

2014-12-15 Thread Martin Pitt
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=0xd820, zone_next=0xd814, dst_next=0xd80a) at src

[systemd-devel] [PATCH] loopback setup in unprivileged containers

2014-12-27 Thread Martin Pitt
and systemd fails on the next problem about a minute faster than it used to :) -- Stéphane Graber Ubuntu developer http://www.ubuntu.com - End forwarded message - -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer

[systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-28 Thread Martin Pitt
libdir=/usr/lib/x86_64-linux-gnu which isn't architecture agnostic and thus not suitable for /usr/share/. Attached patch fixes this, and puts systemd.pc into the same pkgconfig dir as the libraries. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

[systemd-devel] Quiesce audit message flood from 218

2014-12-28 Thread Martin Pitt
on systems where we don't need it? Thanks, Martin [1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=4d9ced995 -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital

Re: [systemd-devel] [PATCH 1/2] fix minor typo in comment

2014-12-28 Thread Martin Pitt
Hey Sylvain, both applied, thank you! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-29 Thread Martin Pitt
? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] [PATCH] loopback setup in unprivileged containers

2014-12-29 Thread Martin Pitt
as I don't have the other bits. @Stephane: I'll pull these patches into our package. Many thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd

Re: [systemd-devel] [PATCH] man: Fix spelling

2014-12-30 Thread Martin Pitt
Hey Susant, Applied, thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH 1/2] accelerometer: drop unused -x option

2014-12-30 Thread Martin Pitt
Hey Robert, applied, thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-31 Thread Martin Pitt
anyway, so you'd only ever have one version installed. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2015-01-01 Thread Martin Pitt
Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-01 15:14 +0100]: Yeah, you can find out the libdir in other ways, but having it in the .pc file is convenient. Martin, please push the patch. Ack, done. And happy new year everyone! Martin -- Martin Pitt| http

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Martin Pitt
this on client side in the sysv glue, not breaking the guarantess that systemd-aware code needs when issuing commands. Yes, I prefer that as well. (That's what I meant with distro side..) Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com

[systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Martin Pitt
. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From ae066ed5d5b7312eb8debc30970f6e56919fa7c7 Mon Sep 17 00:00:00 2001 From: Jon Severinsson j...@severinsson.net Date: Wed, 2 Jul 2014 22:00:00

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback when LANG= is specified

2015-02-02 Thread Martin Pitt
, to reduce duplication. Martin [1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/language-selector/vivid/view/head:/data/languagelist -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Martin Pitt
-split-usr, IMHO it is more robust to do #define DEFAULT_INIT ROOTLIBDIR /systemd/systemd The idea sounds sane in general, though. Specifying init=/usr/lib/systemd/systemd-bootchart is pretty explicit about which init system one wants. Merci, Martin -- Martin Pitt| http

Re: [systemd-devel] [PATCH] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Martin Pitt
Hey Cristian, Cristian Rodríguez [2015-02-02 12:06 -0300]: Using /dev/urandom as a key is valid for swap, do not warn if this devices are world readable. Thanks! Simple enough, applied. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com

Re: [systemd-devel] [PATCH] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Martin Pitt
/systemd/commit/?id=3f4d56a0 This will cover regular files and symlinks, and ignore pipes and devices. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel

Re: [systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-03 Thread Martin Pitt
be another thing that every distro has to re-discover :-) Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel

[systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-03 Thread Martin Pitt
be adjusted of course), but it does fix the issue. I can still reproduce the problem with 218 in a VM. Is this something which we can fix upstream in a more elegant manner? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: [systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-03 Thread Martin Pitt
if the unit isn't actually running, and if it is running its dependencies already ought to be satisfied. I'll look into both, thanks for the hints! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Martin Pitt
to carry this patch forever as it's relatively unimportant. Maybe Jon can chime in about his intentions with this? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Martin Pitt
Lennart Poettering [2015-02-04 13:27 +0100]: On Wed, 04.02.15 08:56, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-02-03 21:40 +0100]: It's really about synchronous waiting on jobs. If you synchronously wait for completion of jobs that are ordered against the job

[systemd-devel] [PATCH v2] sysv-generator: Skip init scripts for existing native services

2015-02-06 Thread Martin Pitt
, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From 1629649e70bca3c7a7f5efec0211cb0c7dd14a58 Mon Sep 17 00:00:00 2001 From: Martin Pitt martin.p...@ubuntu.com Date: Wed, 2 Jul 2014 22:00:00 +0200 Subject

Re: [systemd-devel] [Patch 0/6] Small adjustments to make QEMU tests work under Debian/Ubuntu

2015-02-03 Thread Martin Pitt
, but in the meantime I can just locally revert this. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

  1   2   3   4   5   >