summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-21build-sys: use -Og instead of -O0 to catch warningsKay Sievers
$ touch src/core/dbus.c; make CFLAGS=-O0 make --no-print-directory all-recursive Making all in . CC src/core/libsystemd_core_la-dbus.lo CCLD libsystemd-core.la $ touch src/core/dbus.c; make CFLAGS=-Og make --no-print-directory all-recursive Making all in . CC src/core/libsystemd_core_la-dbus.lo src/core/dbus.c: In function 'init_registered_system_bus': src/core/dbus.c:798:18: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] dbus_free(id); ^ CCLD libsystemd-core.la -Og Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.
2013-10-21rules: remove pointless MODE= settingsKay Sievers
Changing the default MODE= for the group accessi, but not specifying a GROUP= does not provide anything. It disables the default logic that the mode switches to 0660 as soon as a GROUP= is specifed, which make custom rules uneccesarily complicated. https://bugs.freedesktop.org/show_bug.cgi?id=70665
2013-10-20socket-proxyd(1): fix references to non-existant filesDave Reisner
socket.target -> sockets.target /usr/bin/systemd-socket-proxyd -> /usr/lib/systemd/systemd-socket-proxyd
2013-10-21bus: initialize variable, now that we might skip debug loggingKay Sievers
2013-10-21bus: remove static introspection file exportKay Sievers
2013-10-21bus: allow to specify NULL as an empty string to addKay Sievers
2013-10-20log: Fix previous commit to use correct levelColin Walters
2013-10-20log: avoid calling the logging functions for log levels above the current ↵Kay Sievers
maximum Messages with log levels above the current maximum log level will be dropped inside log_meta(). But to be able to call the function, all parameters for the function need to be provided. This can easily get expensive, if values need to be calculated or functions are used in parameters. Avoid all useless work by checking inside the macro, before we look at any parameters passed to the logging functions.
2013-10-20build-sys: unify foo_CFLAGS = usage and add explaining commentsKay Sievers
Always add the default AM_CFLAGS first. If variables are used in conditionals, the default assignment of AM variables is disabled, even when the conditional is not in use; foo_CFLAGS = $(AM_CFLAGS) is needed, even when it looks like a no-op.
2013-10-20Revert "build-sys: move journalctl CFLAGS= to one line"Colin Walters
This reverts commit e5d5aa1d0f4e143f12f5e00ca072547369d37e53; it breaks if !HAVE_QRENCODE since then we aren't using $(AM_CFLAGS) for journalctl.
2013-10-20vimrc: disable -fdiagnostics-color outputKay Sievers
2013-10-19socket-proxyd: Remove datagram research TODO. This proxy will not work with ↵David Strauss
them.
2013-10-19socket-proxyd: Comment and log text cleanup.David Strauss
* Standardize on "nonblocking" spelling, per Linux man pages. * Clarify that the nonblocking sockets are never in a "blocking" or "unblocked" state, just a "would block" or "ready" state.
2013-10-20man: systemd-fstab-generator - remove <term>Kay Sievers
Element term in namespace '' encountered in para, but no template matches.
2013-10-20hwdb: updateKay Sievers
2013-10-20socket-proxyd: initialize variable used in error code pathKay Sievers
2013-10-20build-sys: move journalctl CFLAGS= to one lineKay Sievers
2013-10-19trivial: rfkill - don't include util.h twiceTom Gundersen
2013-10-19trivial: rfkill: It's util.h, not utils.hColin Walters
How about we actually run make locally before pushing, eh?
2013-10-19man: fix typos in backlight/rfkill pageTom Gundersen
/me must learn to also test manpage changes
2013-10-19TODO: updateTom Gundersen
2013-10-19udev-builtin: uaccess - inherit logging form udevTom Gundersen
Not that it makes a difference in this builtin, but otherwise /etc/udev/udev.conf is not respected.
2013-10-19fsck-root: only run when requested in fstabTom Gundersen
fsck-root is redundant in case an initrd is used, or in case the rootfs is never remounted 'rw', so the new default is the correct behavior for most users. For the rest, they should enable it in fstab.
2013-10-19efi-boot-generator: hookup to fsckTom Gundersen
2013-10-19mount/service: drop FsckPassNo supportTom Gundersen
We now treat passno as boleans in the generators, and don't need this any more. fsck itself is able to sequentialize checks on the same local media, so in the common case the ordering is redundant. It is still possible to force an order by using .d fragments, in case that is desired.
2013-10-19Remove FsckPassNo from systemd-fsck-root.serviceThomas Bächler
2013-10-19gpt-auto-generator: Generate explicit dependencies on systemd-fsck@.service ↵Thomas Bächler
instead of using FsckPassNo [tomegun: check for OOM]
2013-10-19fstab-generator: Generate explicit dependencies on systemd-fsck@.service ↵Thomas Bächler
instead of using FsckPassNo [tomegun: * order all fsck instances after fsck-root * check for OOM * added notes in the manpages]
2013-10-19fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1Thomas Bächler
[tomegun: without this we would never fsck the rootfs if it was directly mounted 'rw' from the initrd. We now risk fsck'ing it twice in the case it is mounted 'ro', so that should be addressed in a separate patch.]
2013-10-19kerne-command-line: introduce option 'systemd.restore_state'Tom Gundersen
When set to 0 this will stop tools like the backlight and rfkill tools to restore state from previous boot. This is useful in case the stored state is bogus to the extent that it is preventing you from resetting it (e.g., the backlight settings cause the screen to be off on boot on a system where the backlight can not be adjusted directly from the keyboard).
2013-10-19TODO: add some fsck itemsTom Gundersen
2013-10-18build-sys: Honor CFLAGS for journalctl againColin Walters
Regression from e905a456814eadfb904c49241e3841c1e4a1d119.
2013-10-18build-sys: fix += vs = in MakefileLennart Poettering
2013-10-18bus: if we hit the end of an array container return 0 as EOF indicator when ↵Lennart Poettering
reading it
2013-10-18update-utmp: port to sd-busTom Gundersen
Change from GetUnit to LoadUnit to make sure we can detect the current legacy runlevel, even if nothing loaded the legacy target files yet.
2013-10-18socket-proxyd: rename from saproxyLennart Poettering
The thing is a daemon, hence needs a "d" prefix. Also, we tend to not abbreviate names of background components unnecessarily, since they are not primary commands people type. Then, the fact that this thing does socket actviation is mostly in implementationd detail for the proxy. Also, do some minor indenting clean-ups and other code updates.
2013-10-18build-sys: drop a number CFLAGS assignments in Makefile that are pointlessLennart Poettering
2013-10-18bus: automatically flush bus queue when we exit the event loopLennart Poettering
This way, we do not have to call it manually
2013-10-18initctl: port to sd-busTom Gundersen
2013-10-18cgroup-agent: port to sd-busTom Gundersen
2013-10-18fsck: port to sd-busTom Gundersen
2013-10-18timedated: disable debug loggingLennart Poettering
2013-10-18hostnamed: port over from libdbus to libsystemd-busLennart Poettering
2013-10-17sd-event: initialize return valueDave Reisner
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
2013-10-17Fix kmod error message to have correct version requirementDavid Strauss
2013-10-17static-nodes: don't call mkdirTom Gundersen
This is no longer necessary with kmod-15. Bump the requirement.
2013-10-17tmpfiles: log unaccessible FUSE mount points only as debug messageKay Sievers
2013-10-17timedated: expose time and NTP sync flag via the busLennart Poettering
This way, timedatectl can be run over the network and determine all properties correctly from the server rather than the client.
2013-10-16api: unify some common bits used by public systemd APIsLennart Poettering
2013-10-16timedate: expose RTC timeLennart Poettering
Since access to the RTC is privileged expose the current RTC time as bus property so that unprivileged clients can read it.