summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* build-sys: bump package and library versions in preparation for 218 releaseLennart Poettering2014-12-10
|
* bus-proxy: cloning smack labelPrzemyslaw Kedzierski2014-12-09
| | | | | | | | | | | | | | | | | | | | | | When dbus client connects to systemd-bus-proxyd through Unix domain socket proxy takes client's smack label and sets for itself. It is done before and independent of dropping privileges. The reason of such soluton is fact that tests of access rights performed by lsm may take place inside kernel, not only in userspace of recipient of message. The bus-proxyd needs CAP_MAC_ADMIN to manipulate its label. In case of systemd running in system mode, CAP_MAC_ADMIN should be added to CapabilityBoundingSet in service file of bus-proxyd. In case of systemd running in user mode ('systemd --user') it can be achieved by addition Capabilities=cap_mac_admin=i and SecureBits=keep-caps to user@.service file and setting cap_mac_admin+ei on bus-proxyd binary.
* build-sys: configure the list of system users, files and directoriesŁukasz Stelmach2014-11-30
| | | | | | Choose which system users defined in sysusers.d/systemd.conf and files or directories in tmpfiles.d/systemd.conf, should be provided depending on comile-time configuration.
* mount: use libmount to enumerate /proc/self/mountinfoChris Leech2014-11-28
| | | | | This lets libmount add in user options from /run/mount/utab, like _netdev which is needed to get proper ordering against remote-fs.target
* terminal/idev: add compose-file supportDavid Herrmann2014-11-24
| | | | | | | | Add support for compose files to idev-keyboard. This requires libxkbcommon-0.5.0, which is pretty new, but should be fine. We don't use the compose-files, yet. Further commits will put life into them.
* localed: validate xkb keymapsDavid Herrmann2014-11-24
| | | | | | | | | | | Introduce a new optional dependency on libxkbcommon for systemd-localed. Whenever the x11 keymap settings are changed, use libxkbcommon to compile the keymap. If the compilation fails, print a warning so users will get notified. On compilation failure, we still update the keymap settings for now. This patch just introduces the xkbcommon infrastructure to have keymap validation in place. We can later decide if/how we want to enforce this.
* missing: add IFLA_BRPORT_LEARNING and friendsZbigniew Jędrzejewski-Szmek2014-11-22
| | | | | IFLA_BRPORT_LEARNING was added in v3.10-rc4-583-g9ba18891f7, and IFLA_BRPORT_UNICAST_FLOOD in v3.10-rc4-584-g867a59436f.
* configure.ac: add --enable-hashmap-debug optionMichal Schmidt2014-10-30
| | | | | | | The option simply enables hashmap debugging by defining ENABLE_HASHMAP_DEBUG. I suggest developing new code with it enabled, to have the iterator checks.
* util: make use of the new getrandom() syscall if it is available when ↵Lennart Poettering2014-10-29
| | | | | | | needing entropy Doesn't require an fd, and could be a bit faster, so let's make use of it, if it is available.
* build-sys: bump version number in preparation for releaseLennart Poettering2014-10-28
|
* login: remove multi-seat-xTimofey Titovets2014-10-28
|
* missing: remove fanotifyZbigniew Jędrzejewski-Szmek2014-10-17
| | | | It was only used in readahead.
* build-sys: use -Wno-gnu-variable-sized-type-not-at-end under clangZbigniew Jędrzejewski-Szmek2014-10-09
| | | | Otherwise we get useless warnings about journal code.
* build-sys: use -Wno-typedef-redefinition only for clangZbigniew Jędrzejewski-Szmek2014-10-09
| | | | | | Our checks for -Wno-xxx switches do not work with gcc [1]. [1] https://gcc.gnu.org/wiki/FAQ#wnowarning
* build-sys: use linux/memfd.h if availableZbigniew Jędrzejewski-Szmek2014-10-05
| | | | | | | | | | | linux/memfd.h was added linux 3.17, so it might not be widely available for a while. Also, check if memfd_create is defined, for the HAVE_LINUX_MEMFD_H check to have a chance of succeeding. Also, collapse all ifdefs for memfd-related stuff, because they were all added together so there's no need to check separately.
* make utmp/wtmp support configurableEmil Renner Berthing2014-09-26
| | | | | | This adds --disable-utmp option to configure. If it is used, all utmp-related functionality, including querying runlevel support, is removed.
* readahead: wipe out readaheadDaniel Buch2014-09-25
|
* terminal: add graphics interfaceDavid Herrmann2014-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | The grdev layer provides graphics-device access via the libsystemd-terminal library. It will be used by all terminal helpers to actually access display hardware. Like idev, the grdev layer is built around session objects. On each session object you add/remove graphics devices as they appear and vanish. Any device type can be supported via specific card-backends. The exported grdev API hides any device details. Graphics devices are represented by "cards". Those are hidden in the session and any pipe-configuration is automatically applied. Out of those, we configure displays which are then exported to the API user. Displays are meant as lowest hardware entity available outside of grdev. The underlying pipe configuration is fully hidden and not accessible from the outside. The grdev tiling layer allows almost arbitrary setups out of multiple pipes, but so far we only use a small subset of this. More will follow. A grdev-display is meant to represent real connected displays/monitors. The upper level screen arrangements are user policy and not controlled by grdev. Applications are free to apply any policy they want. Real card-backends will follow in later patches.
* build: colorize gcc only if on ttyMichal Schmidt2014-09-15
| | | | | | | | | Rather than forcing gcc to always produce colorized error messages whether on tty or not, enable automatic colorization by ensuring GCC_COLORS is set to a non-empty string. Doing it this way removes the need for workarounds in ~/.emacs or ~/.vimrc for "M-x compile" or ":make", respectively, to work.
* build-sys: configure option to disable hibernationUmut Tezduyar Lindskog2014-09-03
|
* udev: remove userspace firmware loading supportKay Sievers2014-08-30
|
* terminal: add xkb-based keyboard devices to idevDavid Herrmann2014-08-27
| | | | | | | | | | The idev-keyboard object provides keyboard devices to the idev interface. It uses libxkbcommon to provide proper keymap support. So far, the keyboard implementation is pretty straightforward with one keyboard device per matching evdev element. We feed everything into the system keymap and provide proper high-level keyboard events to the application. Compose-features and IM need to be added later.
* terminal: add evdev elements to idevDavid Herrmann2014-08-27
| | | | | | | | | | | | | | The evdev-element provides linux evdev interfaces as idev-elements. This way, all real input hardware devices on linux can be used with the idev interface. We use libevdev to interface with the kernel. It's a simple wrapper library around the kernel evdev API that takes care to resync devices after kernel-queue overflows, which is a rather non-trivial task. Furthermore, it's a well tested interface used by all other major input users (Xorg, weston, libinput, ...). Last but not least, it provides nice keycode to keyname lookup tables (and vice versa), which is really nice for debugging input problems.
* tmpfiles: make resolv.conf entry conditional on resolved supportTom Gundersen2014-08-27
|
* build-sys: update versions for upcoming releaseLennart Poettering2014-08-19
|
* hashmap: try to use the existing 64bit hash functions for dev_t if it is 64bitLennart Poettering2014-08-19
|
* ldconfig: add configure option to disableUmut Tezduyar Lindskog2014-08-14
|
* resolved: handle IDNA domainsLennart Poettering2014-08-01
| | | | | | | | Make sure we format UTF-8 labels as IDNA when writing them to DNS packets, and as native UTF-8 when writing them to mDNS or LLMNR packets. When comparing or processing labels always consider native UTF-8 and IDNA formats equivalent.
* build-sys: check for intltool also when polkit is enabledRobert Schiele2014-07-31
| | | | | | | | intltool is needed for nls _and_ polkit, thus the check needs to be changed to do the test whenever one of them is enables. Without this build fails when configured with --disable-nls --enable-polkit
* configure: add -Wno-typedef-redefinitionZbigniew Jędrzejewski-Szmek2014-07-21
| | | | Message-ID: <CAJ+BJsz9Qy-JU25dUuGT2n0LMNzcOpoJNGNtbf_boSuT_6hONw@mail.gmail.com>
* Add IFLA_VTI defines to missing.hJean-André Santoni2014-07-21
|
* ui/term: add line/cell/char handling for terminal pagesDavid Herrmann2014-07-17
| | | | | | | | | | This commit introduces libsystemd-ui, a systemd-internal helper library that will contain all the UI related functionality. It is going to be used by systemd-welcomed, systemd-consoled, systemd-greeter and systemd-er. Further use-cases may follow. For now, this commit only adds terminal-page handling based on lines only. Follow-up commits will add more functionality.
* missing.h: add IFLA_MACVLAN_FLAGSZbigniew Jędrzejewski-Szmek2014-07-16
| | | | | | Now we are getting into kernel < 3.4 territory... https://bugs.freedesktop.org/show_bug.cgi?id=80095
* journal-remote: add units and read certs from default locationsZbigniew Jędrzejewski-Szmek2014-07-15
|
* build-sys: add check for libcurlZbigniew Jędrzejewski-Szmek2014-07-15
|
* Fix build without any compression enabledZbigniew Jędrzejewski-Szmek2014-07-11
|
* firstboot: add new component to query basic system settings on first boot, ↵Lennart Poettering2014-07-07
| | | | | | | | | | | | | | | | | | | | or when creating OS images offline A new tool "systemd-firstboot" can be used either interactively on boot, where it will query basic locale, timezone, hostname, root password information and set it. Or it can be used non-interactively from the command line when prepareing disk images for booting. When used non-inertactively the tool can either copy settings from the host, or take settings on the command line. $ systemd-firstboot --root=/path/to/my/new/root --copy-locale --copy-root-password --hostname=waldi The tool will be automatically invoked (interactively) now on first boot if /etc is found unpopulated. This also creates the infrastructure for generators to be notified via an environment variable whether they are running on the first boot, or not.
* journal: add LZ4 as optional compressorZbigniew Jędrzejewski-Szmek2014-07-06
| | | | | | | | | | | | | | Add liblz4 as an optional dependency when requested with --enable-lz4, and use it in preference to liblzma for journal blob and coredump compression. To retain backwards compatibility, XZ is used to decompress old blobs. Things will function correctly only with lz4-119. Based on the benchmarks found on the web, lz4 seems to be the best choice for "quick" compressors atm. For pkg-config status, see http://code.google.com/p/lz4/issues/detail?id=135.
* build-sys: bump package and library versionsLennart Poettering2014-07-03
|
* build-sys: disable NLS support if intltool is not foundFilipe Brandenburger2014-06-26
| | | | | | | | | | | | | | | | | | | | | | IT_PROG_INTLTOOL makes configure fail if intltool is not present. If we can not find intltool, then disable NLS (otherwise make in po/ fails since MSGFMT will not be defined.) Tested: Built it on a host without intltool. $ ./configure --enable-nls ... checking for intltool-merge... no configure: error: --enable-nls requested but intltool not found $ ./configure --disable-polkit ... checking for intltool-merge... no configure: WARNING: *** Disabling NLS support because intltool was not found checking whether NLS is requested... no ... $ make https://bugs.freedesktop.org/show_bug.cgi?id=79692
* build-sys: add explicit support for --disable-nlsFilipe Brandenburger2014-06-26
| | | | | | | | In particular, disable intltool when --disable-nls is passed to configure. Tested: Built it on a host without intltool or gettext. $ ./configure --disable-nls --disable-polkit $ make
* build-sys: require elfutils >= 158Michael Marineau2014-06-22
| | | | | | The recently added stacktrace support in 8d4e028f uses functions added in elfutils 158. Check for one of the new functions to avoid attempting to build against older versions.
* missing.h: add various network enumsZbigniew Jędrzejewski-Szmek2014-06-20
| | | | | | | | | | | We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback values in missing.h is it wasn't. But over time, various kernel versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not enough if the kernel is new enough to have some of them but too old to have all. In case we detect that the latest known enum value is missing, #define most of them. https://bugs.freedesktop.org/show_bug.cgi?id=80095
* build-sys: fail if python support requested but not foundZbigniew Jędrzejewski-Szmek2014-06-20
|
* build-sys: add verbosity to python-lxml detection in ./configureFilipe Brandenburger2014-06-20
| | | | | | | | | | | | | | | | | | | | | | | Be verbose when checking if Python module lxml is available. Also warn that Python support will be disabled when the lxml module is not present. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80005 Tested: - Without python-lxml package installed: $ ./configure checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for python lxml module... no configure: WARNING: *** python support requires python-xml module installed - With python-lxml package installed: $ ./configure checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for python lxml module... yes checking for PYTHON_DEVEL... yes ... Python: yes Python Headers: yes
* coredump: include stacktrace of coredumps in the log messageLennart Poettering2014-06-19
| | | | | elfutils' libdw is maintained, can read DWARF debug data and appears to be the library of choice for generating backtraces today.
* sysuser: generate default snippet incorporating TTY_GID properlyLennart Poettering2014-06-12
| | | | | When the user specifies --with-tty-gid= then we should honour that and write it to the snippet, too.
* sysusers: add minimal tool to reconstruct /etc/passwd and /etc/group from ↵Lennart Poettering2014-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static files systemd-sysusers is a tool to reconstruct /etc/passwd and /etc/group from static definition files that take a lot of inspiration from tmpfiles snippets. These snippets should carry information about system users only. To make sure it is not misused for normal users these snippets only allow configuring UID and gecos field for each user, but do not allow configuration of the home directory or shell, which is necessary for real login users. The purpose of this tool is to enable state-less systems that can populate /etc with the minimal files necessary, solely from static data in /usr. systemd-sysuser is additive only, and will never override existing users. This tool will create these files directly, and not via some user database abtsraction layer. This is appropriate as this tool is supposed to run really early at boot, and is only useful for creating system users, and system users cannot be stored in remote databases anyway. The tool is also useful to be invoked from RPM scriptlets, instead of useradd. This allows moving from imperative user descriptions in RPM to declarative descriptions. The UID/GID for a user/group to be created can either be chosen dynamic, or fixed, or be read from the owner of a file in the file system, in order to support reconstructing the correct IDs for files that shall be owned by them. This also adds a minimal user definition file, that should be sufficient for most basic systems. Distributions are expected to patch these files and augment the contents, for example with fixed UIDs for the users where that's necessary.
* build-sys: update library versionsLennart Poettering2014-06-11
|
* NEWS: add section about udev lockingKay Sievers2014-06-11
|