summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-05-31bus: update for kdbus changesKay Sievers
2013-05-30systemctl: suggest 'systemctl daemon-reload' without --systemZbigniew Jędrzejewski-Szmek
--system is default anyway, and some poor user might type 9 characters without needing to.
2013-05-30systemctl: add command set-log-levelVáclav Pavlín
Command changes current log level
2013-05-30systemctl: add commands set-default and get-defaultVáclav Pavlín
systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target.
2013-05-30core: read "debug" from kernel commandline and set log levelLukas Nykryn
2013-05-30journald: DO recalculate the ACL mask, but only if it doesn't existJan Alexander Steffens (heftig)
Since 11ec7ce, journald isn't setting the ACLs properly anymore if the files had no ACLs to begin with: acl_set_fd fails with EINVAL. An ACL with ACL_USER or ACL_GROUP entries but no ACL_MASK entry is invalid, so make sure a mask exists before trying to set the ACL.
2013-05-30core: use the same test as upstart for apparmorNirbheek Chauhan
Lennart: > Hmm, I just noticed this patch: > > https://code.launchpad.net/~mdeslaur/upstart/apparmor-support/+merge/164169 > > It contains a different check for AppArmor. Basically something like this: > > /sys/module/apparmor/parameters/enabled == 'Y' > > I'd prefer if we could change our code to do the same, given that > the Ubuntu guys are guys are upstream for apparmor. https://bugs.freedesktop.org/show_bug.cgi?id=63312
2013-05-30Fix CPUShares configuration optionEelco Dolstra
This fixes the error message "Unknown or unsupported cgroup attribute CPUShares".
2013-05-30bus: update for kdbus changesKay Sievers
2013-05-29systemd: record efi timestamps after /sys is mountedZachary Cook
This partially reverts commit c3a170f3, which moved efi_get_boot_timestamps too early in main(), before /sys is assured to be mounted Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64371 [tomegun: in particular /sys/firmware/efi/efivars needs to be mounted, which is not a problem if a systemd-initramfs containing the correct module is being used. But not everyone uses an initramfs...]
2013-05-29bus: rework benchmark test to actually yield useful resultsLennart Poettering
2013-05-29bus: when adding memfds to cache and we shorten them, make sure to unmap the ↵Lennart Poettering
remainder
2013-05-29bus: properly unmap mapped areaLennart Poettering
2013-05-24keymap: Add Logitech USB (iTouch)Martin Pitt
https://launchpad.net/bugs/1152377
2013-05-24bus: update kdbus.h from upstreamKay Sievers
2013-05-23systemctl: mangle names when avoiding dbusVáclav Pavlín
Unit names were mangled in function enable_unit only when dbus was used. This patch adds mangling also when the dbus is not in use. This makes it possible to say e.g.: systemctl --root=/path enable cups without spelling cups.service out in full.
2013-05-23Fix --no-ask-passwordJan Janssen
POSIX_ME_HARDER mode is disabled for localectl. It doesn't make much sense in case of localectl, and there's little reason for localectl to behave specially.
2013-05-22bus: add benchmark tool to determine the right threshold for copying vs. memfdLennart Poettering
2013-05-21man: Document missing optionsJan Janssen
2013-05-21systemctl: make systemctl is-enabled work for templated unitsMichael Tremer
Patch resolves the problem that 'systemctl is-enabled' does not work for templated units. Without this patch, systemctl is-enabled something@abc.service returned "No such file or directory", because it first checked if /usr/lib/systemd/system/something@abc.service, etc. exists. If systemctl is-enabled is called for templated units, this check should be omitted and it should search for symlinks in the .wants dirs right away. This patch fixes the broken behaviour and resolves https://bugs.freedesktop.org/show_bug.cgi?id=55318. [zj: fixed the patch to still check for broken symlinks and masked instances. Also removed untrue assumptions from the patch description.]
2013-05-21service: kill processes with SIGKILL on watchdog failureMichael Olbrich
Just calling service_enter_dead() does not kill any processes. As a result, the old process may still be running when the new one is started. After a watchdog failure the service is in an undefined state. Using the normal shutdown mechanism makes no sense. Instead all processes are just killed and the service can try to restart.
2013-05-21systemctl: honor "--no-legend" in 'list-sockets'Mantas Mikulėnas
2013-05-21keymap: Add DIXONSPMartin Pitt
https://launchpad.net/bugs/1157334
2013-05-21keymap: Add BenQ JoyBookMartin Pitt
https://launchpad.net/bugs/727139
2013-05-21keymap: Add Samsung 900XC3Martin Pitt
https://launchpad.net/bugs/1012365
2013-05-20core: fix DBus property ExecMainExitTimestampMichal Schmidt
Possibly due to copy&paste error it was identical to ExecMainStartTimestamp.
2013-05-20bus: add test for bloom filter prefix matchLennart Poettering
2013-05-20bus: add a more comprehensive test for the bloom filter logicLennart Poettering
2013-05-20bus: calculate bloom filter for matchLennart Poettering
Yay! Filtering using kernel bloom filter matches works now! Yippieh!
2013-05-17bus: do not pass a pointer but a uint64_t address in RECVKay Sievers
2013-05-17Make it possible to disable smack separately from xattr supportKarol Lewandowski
Additionally, compile out rule loading if feature is disabled.
2013-05-17bus: add APIs for negotiating what is attached to messagesLennart Poettering
2013-05-17bus: add minimal locking around the memfd cacheLennart Poettering
We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache.
2013-05-17bus: return ECHILD as soon as people try to reuse a bus connection across a ↵Lennart Poettering
fork()
2013-05-17bus: actually unmap kdbus pool after useLennart Poettering
2013-05-17bus: keep kernel bus fd around during entire life-time of busLennart Poettering
We need this since we might need to invoke the release ioctl for messages. Since we don't want to add any locking for that we simply keep a reference to the bus and then rely that the fd stays valid all the time.
2013-05-16systemd-delta: count overrides only of the requested typeZbigniew Jędrzejewski-Szmek
2013-05-16systemd-delta: add support for drop-in snippetsLukas Nykryn
2013-05-16bus: make bus ref counting atomicLennart Poettering
This is preparation to allow sd_bus_message obejcts to be processed in a different thread from their originating sd_bus object.
2013-05-16bus: synthesize timeout message errors instead of returning error codesLennart Poettering
2013-05-16bus: implement sd_bus_message_append_string_memfd()Lennart Poettering
2013-05-16bus: send memfds as payload only on directed messages and for large partsLennart Poettering
2013-05-16systemd-python: do not attempt to convert str to bytesZbigniew Jędrzejewski-Szmek
Bug-spotted-by: Steven Hiscocks <steven-systemd@hiscocks.me.uk>
2013-05-15Fix syscall(__NR_fanotify_mark, ...) on armChengwei Yang
2013-05-15journal: correctly convert usec_t to timespec.Michał Bartoszkiewicz
Use timespec_store instead of (incorrectly) doing it inline.
2013-05-16bus: implement receiving side of memfd hookupLennart Poettering
2013-05-16bus: put together messages with memfd payload correctlyLennart Poettering
2013-05-16utmp: turn systemd-update-utmp-shutdown.service into a normal runtime serviceLennart Poettering
With this change systemd-update-utmp-shutdown.service is replaced by systemd-update-utmp.service which is started at boot and stays around until shutdown. This allows us to properly order the unit against both /var/log and auditd. https://bugzilla.redhat.com/show_bug.cgi?id=853104 https://bugs.freedesktop.org/show_bug.cgi?id=64365
2013-05-15bus: add support for adding memfds into message payloadLennart Poettering
2013-05-14journalctl: add -k/--dmesgZbigniew Jędrzejewski-Szmek