chiark / gitweb /
elogind.git
7 years agogitignore: ignore .trs files from tests
Kay Sievers [Sun, 2 Dec 2012 01:10:40 +0000 (02:10 +0100)]
gitignore: ignore .trs files from tests

7 years agohwdb: update data
Kay Sievers [Sun, 2 Dec 2012 01:01:25 +0000 (02:01 +0100)]
hwdb: update data

7 years agoudev: hwdb - fix OUI lookup
Kay Sievers [Sun, 2 Dec 2012 01:00:57 +0000 (02:00 +0100)]
udev: hwdb - fix OUI lookup

7 years agoman: fix docbook in systemd-coredumpctl(1)
Zbigniew Jędrzejewski-Szmek [Thu, 29 Nov 2012 19:26:12 +0000 (20:26 +0100)]
man: fix docbook in systemd-coredumpctl(1)

7 years agoman: document more URLs for journal-gatewayd
Zbigniew Jędrzejewski-Szmek [Wed, 28 Nov 2012 16:47:10 +0000 (17:47 +0100)]
man: document more URLs for journal-gatewayd

7 years agoman: fix some typos
Eelco Dolstra [Fri, 30 Nov 2012 12:36:05 +0000 (13:36 +0100)]
man: fix some typos

7 years agobuild-sys: use parallel tests driver
Zbigniew Jędrzejewski-Szmek [Sat, 1 Dec 2012 09:37:52 +0000 (10:37 +0100)]
build-sys: use parallel tests driver

This saves test output to individual .log files.

The driver is only used in /Makefile.am, not in
/docs/*udev/Makefile.am because the latter don't seem to work with
this driver. They don't produce much output anyway.

.gitignore is alphabetized, and .log files are added to it.
Generated files from /build-aux are removed from the list.

7 years agobuild-sys: color test results
Zbigniew Jędrzejewski-Szmek [Sat, 1 Dec 2012 09:13:30 +0000 (10:13 +0100)]
build-sys: color test results

7 years agocgls: automatic cleanup
Zbigniew Jędrzejewski-Szmek [Mon, 19 Nov 2012 19:19:39 +0000 (20:19 +0100)]
cgls: automatic cleanup

7 years agoudev: net_id - suppress function number for single-function devices
Kay Sievers [Fri, 30 Nov 2012 18:27:42 +0000 (19:27 +0100)]
udev: net_id - suppress function number for single-function devices

7 years agoman: fix some spelling mistakes
Ramkumar Ramachandra [Thu, 29 Nov 2012 19:06:57 +0000 (00:36 +0530)]
man: fix some spelling mistakes

7 years agoDISTRO_PORTING: correct location of hostname-setup.c
Ramkumar Ramachandra [Thu, 29 Nov 2012 19:06:56 +0000 (00:36 +0530)]
DISTRO_PORTING: correct location of hostname-setup.c

f33d3ec1 (move more common files to shared/ and add them to shared.la,
2012-04-12) moved src/hostname-setup.c to src/shared/hostname-setup.c,
but did not update DISTRO_PORTING accordingly.  Fix this.

7 years agoLICENSE.LGPL2.1: update license
Ramkumar Ramachandra [Thu, 29 Nov 2012 19:06:55 +0000 (00:36 +0530)]
LICENSE.LGPL2.1: update license

Update the license with the copy found on
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt

7 years agokeymap: Add Samsung 700T
Martin Pitt [Wed, 28 Nov 2012 20:33:26 +0000 (21:33 +0100)]
keymap: Add Samsung 700T

https://bugzilla.redhat.com/show_bug.cgi?id=879691

7 years agokeymap: Update the list of Samsung Series 9 models
Alessandro Crismani [Wed, 8 Aug 2012 12:19:32 +0000 (14:19 +0200)]
keymap: Update the list of Samsung Series 9 models

Currently, keymaps are provided only for the NP90X3A laptop. Samsung
introduced updated models, codenamed 900X3B, 900X3C, 900X4B, 900X4C,
which are currently not matched by udev rules. This patch includes the
newer modules in udev rules and move the samsung-n90x3a file defining
keys to a more generic samsung-series-9 file.

The patch was tested on a 900X4C laptop, and other people reported
that the rules also work for 900X3B and 900X3C ones.

7 years agoshutdown: fix typo
Hermann Gausterer [Wed, 28 Nov 2012 20:20:37 +0000 (21:20 +0100)]
shutdown: fix typo

7 years agoshutdown: don't consider umounting of / and /usr failed
Tom Gundersen [Wed, 28 Nov 2012 17:08:54 +0000 (18:08 +0100)]
shutdown: don't consider umounting of / and /usr failed

In the words of Homer: If you don't try, you can't fail.

This is a revert of 9279749b84cc87c7830280b7895a48bed03c9429.

It used to be necessary to consider the umounting failed to make sure /
and /usr were remounted read-only, but that is no longer necessary as
everything is now remounted read-only anyway.

Moreover, this avoids a warning at shutdown saying a filesystem was not
unmounted. As the umounting of / is never attempted there was no
corresponding warning message saying which fs that failed. This caused some
spurious bug-reports from concerned users.

Cc: Michael Biebl <biebl@debian.org>
7 years agoshutdown: don't pivot to /run/initramfs if already there
Tom Gundersen [Wed, 28 Nov 2012 16:27:17 +0000 (17:27 +0100)]
shutdown: don't pivot to /run/initramfs if already there

This allows systemd-shutdown to be installed as /run/initramfs/shutdown
and take care of the proper teardown of the rootfs.

7 years agoman: systemd.exec - mention mount(2)
Kay Sievers [Tue, 27 Nov 2012 10:40:08 +0000 (11:40 +0100)]
man: systemd.exec - mention mount(2)

https://bugzilla.redhat.com/show_bug.cgi?id=880552

7 years agofstab-generator: make error more helpful in case of duplicates in fstab
Tom Gundersen [Tue, 27 Nov 2012 00:09:28 +0000 (01:09 +0100)]
fstab-generator: make error more helpful in case of duplicates in fstab

Traditional sysvinit systems would not complain about duplicates in
fstab. Rather it (through monut -a) would mount one fs on top of another,
in effect the last entry taking precedent.

In systemd, the first entry takes precedent, all subsequent ones are
ignored and an error is printed.

The change of behavior and the source of this error message was causing
some confusion, so give a hint what migt be wrong.

7 years agofstab-generator: drop mount_is_bind
Tom Gundersen [Mon, 26 Nov 2012 23:52:01 +0000 (00:52 +0100)]
fstab-generator: drop mount_is_bind

Do the check in-line instead, as the function is now a bit pointless.

7 years agofstab-generator: remove redundancy in mount_is_bind
Tom Gundersen [Mon, 26 Nov 2012 02:49:21 +0000 (03:49 +0100)]
fstab-generator: remove redundancy in mount_is_bind

7 years agoman: systemd.time - fix typo in fixed typo
Kay Sievers [Mon, 26 Nov 2012 18:04:13 +0000 (19:04 +0100)]
man: systemd.time - fix typo in fixed typo

7 years agoman: systemd.time - fix typo
Kay Sievers [Mon, 26 Nov 2012 17:47:33 +0000 (18:47 +0100)]
man: systemd.time - fix typo

7 years agoudev: net_id - merge properties into the correct device
Kay Sievers [Mon, 26 Nov 2012 14:03:06 +0000 (15:03 +0100)]
udev: net_id - merge properties into the correct device

7 years agoudev: net_id - export PCI hotplug slot names
Kay Sievers [Mon, 26 Nov 2012 13:07:16 +0000 (14:07 +0100)]
udev: net_id - export PCI hotplug slot names

7 years agoREADME - dependencies: unify and add util-linux reference
Tom Gundersen [Sun, 25 Nov 2012 20:59:00 +0000 (21:59 +0100)]
README - dependencies: unify and add util-linux reference

Use '>=' everywhere for consistency and point out that new util-linux
provides sulogin.

7 years agojournal: fix warning about pointer arithmetic
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 20:34:10 +0000 (21:34 +0100)]
journal: fix warning about pointer arithmetic

../src/journal/journal-send.c: In function 'sd_journal_sendv':
../src/journal/journal-send.c:250:73: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]

7 years agomanager: fix build on 32bit systems
Lennart Poettering [Sun, 25 Nov 2012 18:43:48 +0000 (19:43 +0100)]
manager: fix build on 32bit systems

7 years agoman: add systemd-journal-gatewayd page
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 15:39:07 +0000 (16:39 +0100)]
man: add systemd-journal-gatewayd page

7 years agojournal-gatewayd: minor cleanup
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 15:36:46 +0000 (16:36 +0100)]
journal-gatewayd: minor cleanup

7 years agoREADME: mention dependency on libpython
Zbigniew Jędrzejewski-Szmek [Thu, 22 Nov 2012 14:30:50 +0000 (15:30 +0100)]
README: mention dependency on libpython

7 years agoupdate TODO
Lennart Poettering [Sat, 24 Nov 2012 23:33:38 +0000 (00:33 +0100)]
update TODO

7 years agotimer: recalculate next elapse for calendar timer units when the system clock is...
Lennart Poettering [Sat, 24 Nov 2012 23:32:40 +0000 (00:32 +0100)]
timer: recalculate next elapse for calendar timer units when the system clock is changed

7 years agoshared: FORMAT_TIMESTAMP_MAX -- include space for unicode weekdays
Kay Sievers [Sat, 24 Nov 2012 13:51:19 +0000 (14:51 +0100)]
shared: FORMAT_TIMESTAMP_MAX -- include space for unicode weekdays

$ LANG=el_GR.UTF-8 ./timedatectl
      Local time: Σαβ 2012-11-24 14:53:05 CET
  Universal time: Σαβ 2012-11-24 13:53:05 UTC
        RTC time: Σαβ 2012-11-24 13:53:04
        Timezone: Europe/Berlin (CET, +0100)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: no
 Last DST change: DST ended at
                  Κυρ 2012-10-28 02:59:59 CEST
                  Κυρ 2012-10-28 02:00:00 CET
 Next DST change: DST begins (the clock jumps one hour forward) at
                  Κυρ 2013-03-31 01:59:59 CET
                  Κυρ 2013-03-31 03:00:00 CEST

https://bugs.freedesktop.org/show_bug.cgi?id=57470

7 years agofix --full for journalctl zsh completion
Daniel Wallace [Sat, 24 Nov 2012 00:14:21 +0000 (19:14 -0500)]
fix --full for journalctl zsh completion

7 years agoupdate TODO
Lennart Poettering [Fri, 23 Nov 2012 23:24:30 +0000 (00:24 +0100)]
update TODO

7 years agoman: document calendar timers
Lennart Poettering [Fri, 23 Nov 2012 23:24:14 +0000 (00:24 +0100)]
man: document calendar timers

7 years agobuild-sys: drop TARGET_UBUNTU
Lennart Poettering [Fri, 23 Nov 2012 21:55:38 +0000 (22:55 +0100)]
build-sys: drop TARGET_UBUNTU

TARGET_UBUNTU is effectively the same as TARGET_DEBIAN. Given the Ubuntu
is unlikely to use systemd anytime soon there's no point in keeping this
separate.

7 years agotime-util: teach parse_timestamp to parse weekdays
Lennart Poettering [Fri, 23 Nov 2012 21:52:46 +0000 (22:52 +0100)]
time-util: teach parse_timestamp to parse weekdays

7 years agopath-util: when parsing a timestamp we don't know the timezone
Lennart Poettering [Fri, 23 Nov 2012 21:52:38 +0000 (22:52 +0100)]
path-util: when parsing a timestamp we don't know the timezone

7 years agotime-util: also rename FORMAT_TIMESTAMP_PRETTY → _MAX
Lennart Poettering [Fri, 23 Nov 2012 21:51:55 +0000 (22:51 +0100)]
time-util: also rename FORMAT_TIMESTAMP_PRETTY → _MAX

7 years agoutil: teach parse_timestamp() to parse results of format_timestamp_relative()
Lennart Poettering [Fri, 23 Nov 2012 21:20:15 +0000 (22:20 +0100)]
util: teach parse_timestamp() to parse results of format_timestamp_relative()

7 years agoutil: rename format_timestamp_pretty() to format_timestamp_relative() because that...
Lennart Poettering [Fri, 23 Nov 2012 21:12:59 +0000 (22:12 +0100)]
util: rename format_timestamp_pretty() to format_timestamp_relative() because that describes much better what it does

7 years agoutil: split off time related calls from util.[ch] into time-util.[ch]
Lennart Poettering [Fri, 23 Nov 2012 21:07:24 +0000 (22:07 +0100)]
util: split off time related calls from util.[ch] into time-util.[ch]

7 years agotest: extend calendarspec test a bit
Lennart Poettering [Fri, 23 Nov 2012 20:50:51 +0000 (21:50 +0100)]
test: extend calendarspec test a bit

7 years agotimedatectl: improve english language DST change texts a bit
Lennart Poettering [Fri, 23 Nov 2012 20:38:42 +0000 (21:38 +0100)]
timedatectl: improve english language DST change texts a bit

7 years agoupdate TODO
Lennart Poettering [Fri, 23 Nov 2012 20:38:15 +0000 (21:38 +0100)]
update TODO

7 years agotimer: implement calendar time events
Lennart Poettering [Fri, 23 Nov 2012 20:37:58 +0000 (21:37 +0100)]
timer: implement calendar time events

7 years agoman: clarify why User=/Group= don't work with mount units
Lennart Poettering [Fri, 23 Nov 2012 17:44:49 +0000 (18:44 +0100)]
man: clarify why User=/Group= don't work with mount units

7 years agojournal: fix SO_PASSSEC invocation
Lennart Poettering [Fri, 23 Nov 2012 17:35:24 +0000 (18:35 +0100)]
journal: fix SO_PASSSEC invocation

Spotted by Lukas Nykryn

7 years agoupdate TODO
Lennart Poettering [Fri, 23 Nov 2012 17:35:09 +0000 (18:35 +0100)]
update TODO

7 years agotimedatectl: show both current actual timezone name and UTC distance in TImezone...
Lennart Poettering [Fri, 23 Nov 2012 15:33:39 +0000 (16:33 +0100)]
timedatectl: show both current actual timezone name and UTC distance in TImezone field

7 years agotimedatctl: bring manual strftime in sync with format_timestamp()
Lennart Poettering [Fri, 23 Nov 2012 15:29:35 +0000 (16:29 +0100)]
timedatctl: bring manual strftime in sync with format_timestamp()

7 years agoutil: drop "," between week day and date when formatting timestamps
Lennart Poettering [Fri, 23 Nov 2012 15:24:59 +0000 (16:24 +0100)]
util: drop "," between week day and date when formatting timestamps

The glibc default (as shown by the command line tool "date") doesn't put a comma there,
and so we shouldn't either.

7 years agoudev: net_id - read ACPI _SUN -- slot user number
Kay Sievers [Fri, 23 Nov 2012 14:01:43 +0000 (15:01 +0100)]
udev: net_id - read ACPI _SUN  -- slot user number

7 years agocryptsetup-generator: state file name in error messages
Michal Schmidt [Fri, 23 Nov 2012 13:16:39 +0000 (14:16 +0100)]
cryptsetup-generator: state file name in error messages

7 years agocryptsetup-generator: use log_oom() everywhere
Michal Schmidt [Fri, 23 Nov 2012 13:16:34 +0000 (14:16 +0100)]
cryptsetup-generator: use log_oom() everywhere

7 years agoudev: path_id - handle Hyper-V devices
Hannes Reinecke [Fri, 23 Nov 2012 13:12:39 +0000 (14:12 +0100)]
udev: path_id - handle Hyper-V devices

Hyper-V has an abstract bus, which gets renumbered on guest
startup. So instead of the bus numbers we should be using
the device GUIDs, which can be retrieved from the 'device_id'
sysfs attribute.

7 years agoUpdate TODO to include splitting systemd-analyze.
David Strauss [Fri, 23 Nov 2012 09:51:41 +0000 (03:51 -0600)]
Update TODO to include splitting systemd-analyze.

The split should be into a lightweight collection tool that can run
with minimal dependencies and resources for server and embedded
systems. The analysis tool can pull in desktop-style dependencies
like Cairo and GTK.

7 years agoupdate TODO
Lennart Poettering [Thu, 22 Nov 2012 19:16:15 +0000 (20:16 +0100)]
update TODO

7 years agoupdate TODO
Lennart Poettering [Thu, 22 Nov 2012 00:56:24 +0000 (01:56 +0100)]
update TODO

7 years agotimedatectl: replace ",' with ':'
Kay Sievers [Thu, 22 Nov 2012 17:50:55 +0000 (18:50 +0100)]
timedatectl: replace ",' with ':'

7 years agotimedatectl: shorten output to print single < 80 char line
Kay Sievers [Thu, 22 Nov 2012 17:47:25 +0000 (18:47 +0100)]
timedatectl: shorten output to print single < 80 char line

7 years agoshared: FORMAT_TIMESTAMP_MAX +1
Kay Sievers [Thu, 22 Nov 2012 17:46:08 +0000 (18:46 +0100)]
shared: FORMAT_TIMESTAMP_MAX +1

5 is for weekday+comma+space, but week days in french have 4 digits

https://bugs.freedesktop.org/show_bug.cgi?id=57411

7 years agoreadahead: properly detect btrfs on SSD
Lennart Poettering [Thu, 22 Nov 2012 00:51:06 +0000 (01:51 +0100)]
readahead: properly detect btrfs on SSD

7 years agolocale: modernizations
Lennart Poettering [Thu, 22 Nov 2012 00:00:26 +0000 (01:00 +0100)]
locale: modernizations

7 years agodbus: introduce _cleanup_dbus_error_free_
Lennart Poettering [Wed, 21 Nov 2012 23:40:45 +0000 (00:40 +0100)]
dbus: introduce _cleanup_dbus_error_free_

7 years agomanager: introduce watch_init() initializer for watches
Lennart Poettering [Wed, 21 Nov 2012 23:38:55 +0000 (00:38 +0100)]
manager: introduce watch_init() initializer for watches

7 years agoautomount: modernizations
Lennart Poettering [Wed, 21 Nov 2012 02:10:49 +0000 (03:10 +0100)]
automount: modernizations

7 years agoupdate TODO
Lennart Poettering [Wed, 21 Nov 2012 02:10:26 +0000 (03:10 +0100)]
update TODO

7 years agonspawn: reset supplementary and main group id before entering nspawn
Lennart Poettering [Wed, 21 Nov 2012 01:58:55 +0000 (02:58 +0100)]
nspawn: reset supplementary and main group id before entering nspawn

7 years agocatalog: correct substitution
Lennart Poettering [Wed, 21 Nov 2012 17:54:46 +0000 (18:54 +0100)]
catalog: correct substitution

7 years agoupdate TODO
Lennart Poettering [Wed, 21 Nov 2012 17:54:28 +0000 (18:54 +0100)]
update TODO

7 years agocryptsetup: fix nofail support
Tom Gundersen [Wed, 21 Nov 2012 11:30:47 +0000 (12:30 +0100)]
cryptsetup: fix nofail support

This was documented in the man page and supported in the generator,
but systemd-cryptestup itself would fail with this option.

systemd-cryptsetup should ignore 'nofail', as it does with 'noauto'.

7 years agoAdd #ifdef guards around xattr usage
Henrik Grindal Bakken [Wed, 21 Nov 2012 09:36:56 +0000 (10:36 +0100)]
Add #ifdef guards around xattr usage

This adds #ifdef HAVE_ATTR_XATTR_H guards around all usage of xattr.
This unbreaks building with --disable-xattr when <attr/xattr.h> doesn't exist.
<attr/xattr.h> and usage of fsetxattr() without

7 years agomount: clarify that User= and Group= are useless with an explicit Type=
David Strauss [Wed, 21 Nov 2012 03:22:12 +0000 (19:22 -0800)]
mount: clarify that User= and Group= are useless with an explicit Type=

7 years agohwdb: fix usage
Tom Gundersen [Wed, 21 Nov 2012 01:47:48 +0000 (02:47 +0100)]
hwdb: fix usage

--create is not a valid option.

7 years agobuild-sys: add zsh completion bits to EXTRA_DIST v196
Lennart Poettering [Wed, 21 Nov 2012 01:19:20 +0000 (02:19 +0100)]
build-sys: add zsh completion bits to EXTRA_DIST

7 years agoupdate NEWS
Lennart Poettering [Wed, 21 Nov 2012 00:59:45 +0000 (01:59 +0100)]
update NEWS

7 years agobuild-sys: prepare 196
Lennart Poettering [Wed, 21 Nov 2012 00:37:11 +0000 (01:37 +0100)]
build-sys: prepare 196

7 years agoupdate TODO
Lennart Poettering [Tue, 20 Nov 2012 23:33:37 +0000 (00:33 +0100)]
update TODO

7 years agojournal: by default do not decompress dat objects larger than 64K
Lennart Poettering [Tue, 20 Nov 2012 23:28:00 +0000 (00:28 +0100)]
journal: by default do not decompress dat objects larger than 64K

This introduces a new data threshold setting for sd_journal objects
which controls the maximum size of objects to decompress. This is
relieves the library from having to decompress full data objects even
if a client program is only interested in the initial part of them.

This speeds up "systemd-coredumpctl" drastically when invoked without
parameters.

7 years agojournal: document new catalog APIs
Lennart Poettering [Tue, 20 Nov 2012 21:09:09 +0000 (22:09 +0100)]
journal: document new catalog APIs

7 years agojournal: add sd_journal_get_catalog_for_message_id() as API to get catalog entry...
Lennart Poettering [Tue, 20 Nov 2012 20:38:59 +0000 (21:38 +0100)]
journal: add sd_journal_get_catalog_for_message_id() as API to get catalog entry for any message ID without requiring an open journal file

7 years agoupdate TODO
Lennart Poettering [Tue, 20 Nov 2012 20:33:49 +0000 (21:33 +0100)]
update TODO

7 years agojournal-send: always send SYSLOG_IDENTIFIER, if we have it
Lennart Poettering [Tue, 20 Nov 2012 20:25:26 +0000 (21:25 +0100)]
journal-send: always send SYSLOG_IDENTIFIER, if we have it

https://bugzilla.redhat.com/show_bug.cgi?id=872193

7 years agojournal-send: unify a bit of code
Lennart Poettering [Tue, 20 Nov 2012 20:22:18 +0000 (21:22 +0100)]
journal-send: unify a bit of code

7 years agobuild-sys: add symlink Makefile to catalog/ too
Lennart Poettering [Tue, 20 Nov 2012 19:31:01 +0000 (20:31 +0100)]
build-sys: add symlink Makefile to catalog/ too

7 years agoupdate TODO
Lennart Poettering [Tue, 20 Nov 2012 19:30:30 +0000 (20:30 +0100)]
update TODO

7 years agounit: link up getty configuration from man page and unit files
Lennart Poettering [Tue, 20 Nov 2012 19:09:38 +0000 (20:09 +0100)]
unit: link up getty configuration from man page and unit files

7 years agocatalog: add mission statement
Lennart Poettering [Tue, 20 Nov 2012 01:18:47 +0000 (02:18 +0100)]
catalog: add mission statement

7 years agobuild-sys: make loadable module support optional
Tom Gundersen [Tue, 20 Nov 2012 00:24:32 +0000 (01:24 +0100)]
build-sys: make loadable module support optional

kmod is unecessary if loadable module support is disabled in the kernel,
so make the dependency optional.

7 years agobuild-sys: fix sysvcompat handling in distcheck
Tom Gundersen [Tue, 20 Nov 2012 17:19:44 +0000 (18:19 +0100)]
build-sys: fix sysvcompat handling in distcheck

Distcheck would fail due to sysvinit dir being set,
but not sysvrcnd dir:

 # ./configure --enable-gtk-doc --with-sysvrcd-path=/etc/rc.d
 # --with-sysvinit-path=/etc/rc.d
 # make distcheck
 ...
 configure: error: *** You need both --with-sysvinit-path=PATH and
--with-sysvrcd-path=PATH to enable SysV compatibility support, or both
empty to disable it.
make: *** [distcheck] Error 1

This also allows sysvcompat support to be disabled from distcheck.

7 years agoupdate TODO
Lennart Poettering [Tue, 20 Nov 2012 18:13:54 +0000 (19:13 +0100)]
update TODO

7 years agoupdate TODO
Lennart Poettering [Tue, 20 Nov 2012 18:11:55 +0000 (19:11 +0100)]
update TODO

7 years agodbus-common: Add helper method to handle no-reply messages
Colin Walters [Tue, 30 Oct 2012 19:38:32 +0000 (15:38 -0400)]
dbus-common: Add helper method to handle no-reply messages

[Tested in latest gnome-ostree; if accepted, I'll look at a followup
 patch which fixes the other dbus_connection_send(reply, ...) calls
 besides logind]

DBus messages can have a flag NO_REPLY associated that means "I don't
need a reply".  This is for efficiency reasons - for one-off requests
that can't return an error, etc.

However, it's up to users to manually check
dbus_message_get_no_reply() from a message.  libdbus will happily send
out a reply if you don't.

Unfortunately, doing so is not just less efficient - it also triggers
a security error, for complex reasons.  This is something that will
eventually be fixed in dbus, but it's also correct to handle it in
client applications.

This new helper API is slightly nicer in that you don't have to pass
NULL to say you don't want a reply serial for your reply.

This patch also tweaks logind to use the API - there are more areas of
the code that need this treatment too.

7 years agoudev: net - add device naming properties
Kay Sievers [Tue, 20 Nov 2012 17:10:45 +0000 (18:10 +0100)]
udev: net - add device naming properties

7 years agoshell-completion: udev - add net_id
Kay Sievers [Tue, 20 Nov 2012 17:08:48 +0000 (18:08 +0100)]
shell-completion: udev - add net_id

7 years agolibudev: do not resolve $attr{device} symlinks
Kay Sievers [Tue, 20 Nov 2012 17:07:57 +0000 (18:07 +0100)]
libudev: do not resolve $attr{device} symlinks