summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bus-proxy: allow empty arguments to UpdateActivationEnvironment()v224David Herrmann2015-07-311-2/+2
| | | | | | There is no reason to prevent empty argument lists on UpdateActivationEnvironment(). Make sure we don't fail, but still skip the call to pid1.
* NEWS: updateDavid Herrmann2015-07-311-0/+7
| | | | | Add new functionality and behavior changes to NEWS for the imminent bugfix release 224.
* build: bump version to 224David Herrmann2015-07-313-2/+10
| | | | Prepare for bug-fix release and bump versions.
* hwdb: updateKay Sievers2015-07-313-80/+536
|
* Merge pull request #806 from dvdhrm/proxy-cookieLennart Poettering2015-07-311-9/+24
|\ | | | | bus-proxy: fix cookie namespacing
| * bus-proxy: fix cookie namespacingDavid Herrmann2015-07-311-9/+24
| | | | | | | | | | | | | | | | If we generate messages from within bus-proxyd, we really must make sure that we do not clutter the cookie-namespace of our client. The client has full control over it, so we cannot steal cookies from it. However, we can re-use the cookie the client used for our request. As long as we only send a single message, we're fine.
* | logind: release VT-positions when closing sessionsDavid Herrmann2015-07-311-0/+6
| | | | | | | | | | | | | | | | | | Make sure we release VT-positions when a session is closed. Otherwise, lingering sessions will occupy VTs and prevent next logins from succeeding. Note that we already release session-devices when closing a session, so there cannot be anyone using the VT anymore.
* | timesyncd: remove RLIMIT_NPROCKay Sievers2015-07-311-4/+0
|/ | | | | NSS plugins might create additional threads. Remove the limit, we cannot really make any assumptions here.
* Merge pull request #803 from mixi/masterKay Sievers2015-07-311-2/+2
|\ | | | | build-sys: use 'test -f' instead of AC_CHECK_FILE
| * build-sys: use 'test -f' instead of AC_CHECK_FILEJohannes Nixdorf2015-07-311-2/+2
| | | | | | | | | | | | | | | | | | AC_CHECK_FILE fails when cross-compiling. It is intended to be used to check for files that are used at runtime during build time (e.g. /etc/passwd, /dev/*) [1]. For files which are only used at build time 'test -f' is sufficient. [1]: https://lists.gnu.org/archive/html/autoconf/2000-10/msg00018.html
* | Merge pull request #804 from dvdhrm/proxy-directed2Daniel Mack2015-07-313-18/+22
|\ \ | | | | | | bus-proxy: make NameAcquired/Lost directed (v2)
| * | bus-proxy: don't filter directed signalsDavid Herrmann2015-07-311-14/+1
| | | | | | | | | | | | | | | | | | NameAcquired and NameLost are directed signals. Never ever filter them on dbus1. On dbus1, filters *exclusively* apply to broadcasts! Hence, we must always forward directed signals unconditionally!
| * | bus-proxy: fix NameAcquired and NameLost to be directedDavid Herrmann2015-07-313-4/+21
| | | | | | | | | | | | | | | | | | The NameAcquired and NameLost signals are _directed_ signals. Make sure we properly set the destination correctly, and verify it in our proxy-test.
* | | Merge pull request #805 from dvdhrm/proxy-activationDaniel Mack2015-07-313-12/+67
|\ \ \ | |_|/ |/| | bus-proxy: make StartServiceByName synchronous
| * | bus-proxy: make StartServiceByName synchronousDavid Herrmann2015-07-313-12/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The StartServiceByName() call was provided by dbus-daemon to activate a service without sending a message. On receiption, dbus-daemon schedules an activation request (different modes are supported) and sends back the reply once activation is done. With kdbus, we marked StartServiceByName() as deprecated. There is no real reason to start services explicitly. Instead, applications should just *use* the service and rely on it being activated implicitly. However, we provide compatibility with dbus-daemon and implement StartServiceByName() on the proxy via a call to org.freedesktop.DBus.Peer.Ping() on the destination. This will activate the peer implicitly as part of the no-op Ping() method call (regardless whether the peer actually implements that call). Now, the problem is, StartServiceByName() was synchronous on dbus-daemon but isn't on bus-proxy. Hence, on return, there is no guarantee that ListNames includes the activated name. As this is required by some applications, we need to make this synchronous. This patch makes the proxy track the Ping() method call and send the reply of StartServiceByName() only once Ping() returned. We do not look at possible errors of Ping(), as there is no strict requirement for the peer to implement org.freedesktop.DBus.Peer. Furthermore, any interesting error should have already been caught by sd_bus_send() before. Note: This race was triggered by gdbus. The gdbus-proxy implementation relies on a name to be available after StartServiceByName() returns. This is highly fragile and should be dropped by gdbus. Even if the call is synchronous, there is no reason whatsoever to assume the service did not exit-on-idle before ListNames() returns. However, this race is much less likely than the startup race, so we try to be compatible to dbus-daemon now.
* | | basic: fix error/memleak in socket-utilDavid Herrmann2015-07-311-1/+1
| |/ |/| | | | | | | | | Probably a typo, checking 'ret' instead of the return value 'p'. This might cause the function to return failure, even though it succeeded. Furthermore, it might leak resources.
* | Merge pull request #799 from andreaskem/hwdb-pullDaniel Mack2015-07-311-4/+9
|\ \ | |/ | | hwdb: DPI info for Logitech G402 mouse
| * hwdb: Add mouse DPI info for Logitech G402.Andreas Kempf2015-07-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DPI information was taken from the device's setup guide. Additional (shortened) information from udevadm info: P: .../usb2/2-1/2-1:1.0/0003:046D:C07E.0002/input/input6/event2 N: input/event2 S: input/by-id/usb-Logitech_Gaming_Mouse_G402_6D93117D5049-event-mouse S: input/by-path/pci-0000:00:12.0-usb-0:1:1.0-event-mouse ... E: ID_BUS=usb E: ID_INPUT=1 E: ID_INPUT_MOUSE=1 E: ID_MODEL=Gaming_Mouse_G402 E: ID_MODEL_ENC=Gaming\x20Mouse\x20G402 E: ID_MODEL_ID=c07e E: ID_PATH=pci-0000:00:12.0-usb-0:1:1.0 E: ID_PATH_TAG=pci-0000_00_12_0-usb-0_1_1_0 E: ID_REVISION=9002 E: ID_SERIAL=Logitech_Gaming_Mouse_G402_6D93117D5049 E: ID_SERIAL_SHORT=6D93117D5049 E: ID_TYPE=hid E: ID_USB_DRIVER=usbhid E: ID_USB_INTERFACES=:030102:030000: E: ID_USB_INTERFACE_NUM=00 E: ID_VENDOR=Logitech E: ID_VENDOR_ENC=Logitech E: ID_VENDOR_ID=046d E: LIBINPUT_DEVICE_GROUP=3/46d/c07e/111:usb-0000:00:12.0-1 E: MAJOR=13 E: MINOR=66 E: SUBSYSTEM=input ...
| * hwdb: Update info for potential contributors.Andreas Kempf2015-07-311-4/+5
|/ | | | | Update the location of the bug tracker and mention that pull requests are preferred.
* systemd-boot: sort /EFI/Linux/*.efi filesKay Sievers2015-07-301-8/+21
|
* unit-name: fix memory leakDaniel Mack2015-07-301-1/+3
| | | | | Fix a memory leak introduced by 2fc09a9c. 's' is used twice in this function, and if free_and_strdup() fails, the pointer is left untouched.
* Merge pull request #787 from dvdhrm/bus-listDaniel Mack2015-07-302-26/+26
|\ | | | | sd-bus: fix parsing of KDBUS_CMD_LIST
| * sd-bus: fix parsing of KDBUS_CMD_LISTDavid Herrmann2015-07-302-26/+26
| | | | | | | | | | | | | | | | | | | | | | We *must not* assume that an entry returned by KDBUS_CMD_LIST only carries a single KDBUS_ITEM_OWNED_NAME. Similarly, we already parse multiple such items for message-metadata, so make sure we support the same on KDBUS_CMD_LIST. By relying on the kernel to return all names separately, we limit the kernel API significantly. Stop this and let the kernel decide how to return its data.
* | Merge pull request #784 from eworm-de/typoDaniel Mack2015-07-301-1/+1
|\ \ | | | | | | man: fix typo in man systemd-machine-id-commit
| * | man: fix typo in man systemd-machine-id-commitChristian Hesse2015-07-301-1/+1
| | |
* | | Merge pull request #785 from zonque/free-and-strdupDavid Herrmann2015-07-3010-59/+40
|\ \ \ | | | | | | | | tree-wide: use free_and_strdup()
| * | | tree-wide: use free_and_strdup()Daniel Mack2015-07-3010-59/+40
|/ / / | | | | | | | | | | | | Use free_and_strdup() where appropriate and replace equivalent, open-coded versions.
* | | Merge pull request #783 from whot/hwdb-updatesDaniel Mack2015-07-301-0/+15
|\ \ \ | | | | | | | | Hwdb updates
| * | | hwdb: add min/max/resolution override for Appletouch one-button touchpadsPeter Hutterer2015-07-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Macbook2,1, late 2006 model. https://bugzilla.redhat.com/show_bug.cgi?id=1246651
| * | | hwdb: add resolution values for Asus K52JT touchpadPeter Hutterer2015-07-301-0/+10
|/ / / | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=91364
* | | Merge pull request #779 from poettering/fflush-and-checkDaniel Mack2015-07-2925-214/+247
|\ \ \ | | | | | | | | tree-wide: port everything over to fflush_and_check()
| * | | tree-wide: port everything over to fflush_and_check()Lennart Poettering2015-07-2925-214/+247
| | |/ | |/| | | | | | | | | | | | | | | | | | | Some places invoked fflush() directly with their own manual error checking, let's unify all that by using fflush_and_check(). This also unifies the general error paths of fflush()+rename() file writers.
* | | Merge pull request #764 from ssahani/vxlan1Tom Gundersen2015-07-298-15/+62
|\ \ \ | | | | | | | | networkd: Add VXLAN Netlink attributes
| * | | man: add man for VXLAN Group Policy optionSusant Sahani2015-07-291-0/+9
| | | |
| * | | networkd: vxlan add support for GBPSusant Sahani2015-07-293-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add support for vxlan VXLAN Group Policy Option. https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00 http://lwn.net/Articles/628683/
| * | | sd-netlink: introduce api for new NL type NLA_FLAGSusant Sahani2015-07-292-0/+19
| | | |
| * | | sd-netlink: add support for new type NETLINK_TYPE_FLAGSusant Sahani2015-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NETLINK_TYPE_FLAG is NLA_FLAG. This new type will be used in NLA_FLAG for example IFLA_VXLAN_GBP and IFLA_VXLAN_REMCSUM_NOPARTIAL
| * | | sd-netlink: add support for vxlan attributesSusant Sahani2015-07-291-14/+24
| | | |
* | | | Merge branch 'master' of github.com:systemd/systemdDaniel Mack2015-07-297-40/+91
|\ \ \ \
| * | | | sd-boot: stub - export LoaderDevicePartUUIDKay Sievers2015-07-295-25/+87
| | | | |
| * | | | Merge pull request #778 from ssahani/flowDaniel Mack2015-07-292-14/+3
| |\ \ \ \ | | |_|/ / | |/| | | networkd: fix size of networkd binary
| | * | | networkd: fix size of networkd binarySusant Sahani2015-07-292-14/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the size of networkd Bug #775 before: size systemd-networkd text data bss dec hex filename 1493755 8424392 2337 9920484 975fe4 systemd-networkd After $ size systemd-networkd text data bss dec hex filename 1493555 35752 2337 1531644 175efc systemd-networkd
| * | | build-sys: fix "make doc-sync"Kay Sievers2015-07-291-1/+1
| | | |
* | | | Merge branch 'pr/761'Daniel Mack2015-07-292-2/+9
|\ \ \ \ | |/ / / |/| | |
| * | | networkd-wait-online: only consider interfaces given on the commandlineTom Gundersen2015-07-292-1/+8
| | | | | | | | | | | | | | | | If some interfaces are given on the commandline, ignore all others.
| * | | networkd-wait-online: fix raceTom Gundersen2015-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We must consider 'pending' links as if they may be managed by networkd, as this is the state we enter before deciding wether networkd should manage the link or not, so we better wait for this decision being made.
* | | | Merge pull request #777 from kaysievers/gtp-autoLennart Poettering2015-07-2910-319/+280
|\ \ \ \ | | | | | | | | | | gpt-auto-generator: merge efi-boot-generator
| * | | | gpt-auto-generator: merge efi-boot-generatorKay Sievers2015-07-2910-319/+280
| | |_|/ | |/| |
* | | | Merge pull request #774 from dvdhrm/gvariant3Lennart Poettering2015-07-294-26/+64
|\ \ \ \ | | | | | | | | | | gvariant: fix encoding of unary type and root-variant (v3)
| * | | | sd-bus: fix encoding/decoding gvariant root containerDavid Herrmann2015-07-291-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gvariant root container contains a 'variant' at the end, which embeds the whole message body. This variant *must* contain a structure so we are compatible to dbus1. Otherwise, it could encode at most 1 type, instead of a full signature. Our gvariant message parser already parses the variant-content as a structure, so we're mostly good. However, it does *not* include the opening and closing parantheses, nor does it parse them. This patch fixes the decoder to verify a message contains the parantheses, and also make the encoder add those parantheses into the marshaled message.