summaryrefslogtreecommitdiffstats
path: root/hwdb (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-02systemctl: port to extract_first_wordSusant Sahani1-21/+33
2015-11-02Teach bus_append_unit_property_assignment() about 'Delegate' propertyFranck Bui1-1/+1
2015-11-02machine: fix extract_first_wordSusant Sahani1-3/+6
2015-11-02Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t"Lennart Poettering7-37/+36
2015-11-02core: be more verbose when NameOwnerChanged subscriptions failDaniel Mack2-2/+2
2015-11-02core: service: fix error messageDaniel Mack1-1/+1
The directive is called FileDescriptorStoreMax=, not FDStoreMax=.
2015-11-02update TODOKarel Zak1-5/+0
- inotify utab has been removed and we use libmount now - x-systemd.requires= fstab option has been implemented to specify dependencies in fstab
2015-11-01journal-remote: remove unused variable warning when building without GNUTLS.Lennart Poettering1-2/+1
2015-11-01journald: never block when sending messages on NOTIFY_SOCKET socketLennart Poettering6-22/+202
Otherwise we might run into deadlocks, when journald blocks on the notify socket on PID 1, and PID 1 blocks on IPC to dbus-daemon and dbus-daemon blocks on logging to journald. Break this cycle by making sure that journald never ever blocks on PID 1. Note that this change disables support for event loop watchdog support, as these messages are sent in blocking style by sd-event. That should not be a big loss though, as people reported frequent problems with the watchdog hitting journald on excessively slow IO. Fixes: #1505.
2015-11-01sd-daemon: verify NOTIFY_SOCKET path lengthLennart Poettering1-0/+5
Better generate a real error then simply connect to the wrong socket.
2015-11-01utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_tShawn Landden7-36/+37
rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring to unicode chars, to make things more expressive.
2015-10-31machine: : port to extract_first_wordSusant Sahani1-6/+13
2015-10-31sd-journal.c: port to extract_first_wordSusant Sahani1-10/+11
2015-10-31man: MANAGER_SYSTEM understands SYSTEMD_UNIT_PATH tooEvgeny Vereshchagin1-4/+2
2015-10-31tests: lookup_paths_init depends on SYSTEMD_UNIT_PATH. Test itEvgeny Vereshchagin1-6/+15
2015-10-31sd-daemon: increase sd_notify() socket buffer sizeLennart Poettering2-0/+8
Let's make sure we don't start blocking on sd_notify() earlier than necessary, let's bump the socket buffer sizes to 8M. We already do something similar for our logging socket buffers, hence apply a similar bump here.
2015-10-31sysctl.d: bump number of queueable AF_UNIX/SOCK_DGRAM datagramsLennart Poettering1-0/+3
The default of 16 is pretty low, let's bump this to accomodate for more queued datagrams. This is useful for AF_UNIX/SOCK_DGRAM logging and sd_notify() sockets as this allows queuing more datagrams before things start to block, thus improving parallelization and logging performance.
2015-10-31sysv-generator: modernizeLennart Poettering1-228/+248
- Make sure we log each error at least once, and at most once - Replace FOREACH_WORD loops by extract_first_word() loops - Use FOREACH_DIRENT() for directory loops - Use free_and_strdup() where appropriate - Do not operate on half-loaded SysV files - Always properly free all memory
2015-10-31core: bail our earlier when doing auditLennart Poettering1-3/+3
Let's make sure we don't even try to create the audit socket
2015-10-31core,nspawn: minor coding style fixesLennart Poettering2-6/+3
2015-10-31nspawn: fix minor memory leakLennart Poettering1-0/+1
When rebooting nspawn containers about 400 times we'd otherwise hit the fd limit and refuse further reboots.
2015-10-31core: constify a few thingsLennart Poettering3-4/+4
2015-10-31systemctl: add a way to explicitly request client-side unit installingLennart Poettering3-0/+20
This adds support for a new environment variable SYSTEMCTL_INSTALL_CLIENT_SIDE, that ensures that systemctl executes install operations client-side instead of passing them to PID1. This is useful in debugging situations, but even beyond that. However, we don't want to make it official API, hence let's just make it an undocumented environment variable. Similar, add a second variable, SYSTEMCTL_SKIP_SYSV which allows skipping the SysV chkconfig fall-back if set. This is useful for similar reasons, and exposed as undocumented as environment variable for similar reasons, too.
2015-10-31test-path: move all related test files to a specific directoryRonny Chevalier21-18/+22
To avoid polluting test/
2015-10-31test-execute: move all files related to a specific directoryRonny Chevalier39-35/+35
To avoid polluting test/
2015-10-31build-sys: add missing test files to EXTRA_DISTRonny Chevalier1-0/+4
2015-10-31test-execute: add tests for IOSchedulingClassRonny Chevalier6-0/+40
2015-10-31test-execute: add tests for OOMScoreAdjustRonny Chevalier4-0/+22
2015-10-31test-execute: add test for EnvironmentFileRonny Chevalier3-0/+30
2015-10-31test-execute: add test for PrivateNetworkRonny Chevalier3-0/+20
2015-10-31core: set_unit_path overwrites SYSTEMD_UNIT_PATHEvgeny Vereshchagin1-1/+1
2015-10-30core: port config_parse_bounding_set to extract_first_wordEvgeny Vereshchagin1-10/+18
2015-10-30journal-remote: increase memory limit per connection to avoid errors with HTTPSDongsu Park1-1/+2
Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: https://github.com/coreos/bugs/issues/927
2015-10-30tests: add test for capability bounding set parsingEvgeny Vereshchagin1-0/+7
2015-10-30hwdb: Update database of Bluetooth company identifiersMarcel Holtmann1-0/+84
2015-10-30shell-completion: systemctl: show completions for `user` in `global` modeEvgeny Vereshchagin1-0/+2
2015-10-29test: add tests to ensure that the capabilities are properly setRonny Chevalier5-2/+53
2015-10-29core: fix capability bounding set parsingEvgeny Vereshchagin1-1/+1
bug: CapabilityBoundingSet= doesn't reset all caps
2015-10-29test: add test for capability bounding set parsingEvgeny Vereshchagin1-0/+46
2015-10-29network: fix use-after-free in link_freeHristo Venev1-3/+3
Freeing a link removes it both from addresses and addresses_foreign, causing SIGSEGV if one of the sets is freed.
2015-10-29shell-completion: hostnamectl: add the command set-locationEvgeny Vereshchagin1-1/+1
2015-10-28core: fix priority ordering in notify-handlingDavid Herrmann1-79/+77
Currently, we dispatch NOTIFY messages in a tight loop. Regardless how much data is incoming, we always dispatch everything that is queued. This, however, completely breaks priority event-handling of sd-event. When dispatching one NOTIFY event, another completely different event might fire, or might be queued by the NOTIFY handling. However, this event will not get dispatched until all other further NOTIFY messages are handled. Those might even arrive _after_ the other event fired, and as such completely break priority ordering of sd-event (which several code paths rely on). Break this by never dispatching multiple messages. Just return after each message that was read and let sd-event handle everything else. (The patch looks scarier that it is. It basically just drops the for(;;) loop and re-indents the loop-content.)
2015-10-28nspwan: port to extract_first_wordSusant Sahani1-7/+9
2015-10-28install: port to extract_first_wordSusant Sahani1-9/+10
2015-10-28journal-remote: port to extract_first_wordSusant Sahani1-8/+12
2015-10-28test-parse-util: Move parse-util tests into their own test caseFilipe Brandenburger4-419/+460
Tests for the functions defined in src/basic/parse-util.c. Reorder them to match the order in which the functions are defined in the source file. Adjusted the list of include files to remove the ones no longer needed in test-util.c. Tested that `make check` still passes as expected. Also checked the number of lines removed from test-util.c matches the expected, as an additional verification that no tests were dropped or duplicated in the move.
2015-10-28test-extract-word: Move extract-word tests into their own test caseFilipe Brandenburger4-510/+554
Tests for the functions defined in src/basic/extract-word.c. Tested that `make check` still passes as expected.
2015-10-28build-sys: Keep .gitignore sortedFilipe Brandenburger1-11/+11
Let's try to keep it that way! :-)
2015-10-28test-execute: check if nobody exists before running some testsRonny Chevalier1-3/+9
2015-10-28l10n: add zh_CN translation.Boyuan Yang4-0/+782