Commit Graph
57095 Commits
Author SHA1 Message Date
Lucas De Marchi c18514440d build-sys: fix AC_COMPILE_IFELSE tests
This removes some warnings when bootstrapping. The warnings were introduced
in autoconf 2.68. Reference:

http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html

The following code

	AC_COMPILE_IFELSE([
		<MY C CODE HERE>
		], ...)

is changed to

	AC_COMPILE_IFELSE(
		[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
		<MY C CODE HERE>
		])], ...)
2011-02-08 12:11:53 +01:00
Lennart Poettering 591622d7ef build-sys: ensure selinux configure check follows logic of other optional features 2011-02-08 11:46:18 +01:00
Alexey Shabalin 990d8b885b build-sys: autodetect and use pkg-config for libselinux
Hi!
libselinux has a pkg-config file:

$ rpm -qf /usr/lib64/pkgconfig/libselinux.pc
libselinux-devel-2.0.98-alt1

$ cat /usr/lib64/pkgconfig/libselinux.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=/usr/include

Name: libselinux
Description: SELinux utility library
Version: 2.0.98
URL: http://userspace.selinuxproject.org/
Libs.private: -lsepol
Libs: -lselinux
Cflags:

Patch for use pkg-config in attach.

--
Alexey Shabalin
2011-02-08 11:38:28 +01:00
Lennart Poettering dcafddbc08 dbus: use ControlGroup as property name to match config option 2011-02-08 11:13:42 +01:00
Lennart Poettering b20c6be697 pam: optionally reset cgroup memberships for login sessions 2011-02-04 12:46:38 +01:00
Adrian Spinu 7115593375 load-fragment: properly parse Nice= value
Hello,

     i`ve been using systemd for a while now, and found out that when
using NICE parameter for .service files the varible is not set correctly.
     i`ve found the problem in file *load-fragment.c* function
*config_parse_nice*        variable /*c->nice_set = false;*/  should be
/*c->nice_set = true;*/
     Problem is alsom manifesting on v17 but did not upgrade yet ...
2011-02-03 21:23:32 +01:00
Lennart Poettering 5d909e3ec3 automount: use unit_pending_inactive() where appropriate 2011-01-26 02:55:35 +01:00
Kay Sievers b6910d2251 extras: qemu - fix typo 2011-01-25 21:46:12 +01:00
Kay Sievers 06bd02c563 make: fix qemu rules file name 2011-01-25 16:14:04 +01:00
Gerd Hoffmann 4e54f5334e extras: add rules for qemu guests
These patches enable usb autosuspend for the qemu emulated HID devices.
This reduces the cpu load for idle guests with a hid device attached
because the linux kernel will suspend the usb bus then and qemu can stop
running a 1000 Hz to emulate the (active) UHCI controller.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2011-01-25 16:14:04 +01:00
Lennart Poettering 0238cd03de TODO 2011-01-25 04:35:35 +01:00
Lennart Poettering bd40a2d830 clang: fix some issues found with clang-analyzer 2011-01-22 02:19:16 +01:00
Lennart Poettering 0b1724894f gcc: make gcc shut up 2011-01-22 02:19:16 +01:00
Lennart Poettering 1b2700a155 build-sys: prep v17 2011-01-22 02:19:16 +01:00
Lennart Poettering 26ea64c786 update TODO 2011-01-22 02:19:16 +01:00
Kay Sievers db040a61c5 vala 0.10 seem to work fine 2011-01-21 18:22:54 +01:00
Lennart Poettering 63c862b051 cryptsetup: fix ordering loop when dealing with encrypted swap devices
https://bugzilla.redhat.com/show_bug.cgi?id=657234
2011-01-21 03:30:18 +01:00
Lennart Poettering ed86ebc414 main: don't warn if /etc/mtab is a symlink to /proc/mounts 2011-01-21 02:57:58 +01:00
Lennart Poettering cae18e2172 socket: don't crash if the .service unit for a .socket unit is not found 2011-01-21 02:49:12 +01:00
Lennart Poettering 036315352d update TODO: drop issues that cannot be reproduce or have been fixed otherwise 2011-01-21 01:54:12 +01:00
Lennart Poettering ff2e0f0514 mount: ignore if an fsck is requested for a bind mount, so that we don't wait for the bind 'device' to show up 2011-01-21 01:28:30 +01:00
Lennart Poettering e0fa621b8b automount: fix segfault when shutting down
https://bugs.freedesktop.org/show_bug.cgi?id=32076
2011-01-21 01:13:15 +01:00
Lennart Poettering 76e7bc8dfb man: give an example for vconsole.conf
https://bugs.freedesktop.org/show_bug.cgi?id=31955
2011-01-21 00:42:47 +01:00
Lennart Poettering 3996fbe2a2 dbus: don't try to connect to the system bus before it is actually up 2011-01-20 19:43:38 +01:00
Lennart Poettering 867b3b7d6b service: make chain of main commands and control commands independent of each other, so that both can be executed simultaneously and independently 2011-01-20 18:46:38 +01:00
Lennart Poettering c06b7a15ea service: don't allow reload operations for oneshot services
During starting of oneshot we are in START state which we don't want to
combine with the RELOAD state, hence we disallow both at the same time.
2011-01-20 18:44:09 +01:00
Lennart Poettering 26742b3fd8 vala: convert from dbus-glib to gdbus 2011-01-20 18:24:26 +01:00
Lennart Poettering 9a57c62944 systemctl: highlight failed processes in systemctl status 2011-01-20 18:22:03 +01:00
Lennart Poettering 0129173ab0 systemctl: show process type along process exit codes 2011-01-20 13:24:24 +01:00
Lennart Poettering e2f3b44cfc service: when reloading a service fails don't fail the entire service but just the reload job 2011-01-20 13:17:22 +01:00
Brett Witherspoon f8d0ceb46b shutdown: use correct kexec options
The kexec man page is awful and misleading.
2011-01-19 00:35:21 +01:00
Lennart Poettering c32e0c40f7 serial-getty: invoking /sbin/securetty is no longer necessary since pam_securetty can now look for console= in /proc/cmdline 2011-01-18 23:51:06 +01:00
Lennart Poettering 4bc5f808e4 systemctl: before spawning pager cache number of columns 2011-01-18 23:12:49 +01:00
Lennart Poettering 3add4d215b pam: optionally keep processes of root user around 2011-01-18 23:07:06 +01:00
Lennart Poettering d8cfa08589 service: if a reload operation fails, don't shut down the service 2011-01-18 22:57:46 +01:00
Lennart Poettering ba035df230 execute: make sending of SIGKILL on shutdown optional 2011-01-18 22:55:54 +01:00
Lennart Poettering 0058d7b91c mount: FAT uuids are uppercase 2011-01-18 22:32:15 +01:00
Lennart Poettering 2292707df5 man: document missing KillSignal= and swap options 2011-01-18 00:40:10 +01:00
Lennart Poettering b24a167b6f update TODO 2011-01-17 22:41:53 +01:00
Tom Gundersen dda9be8a99 arch: remove rc-local.service
This is now shipped downstream.
2011-01-17 22:41:28 +01:00
Tom Gundersen 521e05c7ce arch: remove support for legacy daemons
This is now done by a generator, shipped downstream.
2011-01-17 22:41:19 +01:00
Martin Pitt 2514465f6a keymap: Explain how to end the program
Pressing Escape will only actually work if keymap is currently examining the
primary keyboard. For other devices the user needs to press Control-C instead.
2011-01-16 21:12:32 +01:00
Martin Pitt 90f182c3d6 keymap: More robust state machine
Some drivers, like thinkpad_acpi, do not send a scan code at all (for known
keys), and some send the key code first, then the scan code. Implement a better
state machine which acceps them in any order and wait until a SYN event. If the
driver does not send SYN events, keymap will also handle this and print out
that fact.

Thanks to Seth Forshee for pointing out how this really works!

https://launchpad.net/bugs/702407
2011-01-16 21:10:03 +01:00
Martin Pitt 45019c0e88 keymap: Move reading of event in separate function 2011-01-16 19:25:04 +01:00
Martin Pitt 9b444cb29a keymap: Add Lenovo ThinkPad X201 tablet
https://launchpad.net/bugs/702426
2011-01-13 10:10:27 -06:00
Lennart Poettering c292c495fb build-sys: prepare v16 2011-01-08 02:34:55 +01:00
Lennart Poettering 47ae6e6760 device: don't warn if we cannot bump the socket buffer 2011-01-08 02:30:07 +01:00
Martin Pitt e302c4b33d keymap: Update README.keymap.txt
Drop orig-map.txt requirement, we don't really use it in practice. Also ask for
sending stuff to the mailing list instead of Launchpad.
2011-01-07 12:12:57 +01:00
Martin Pitt df6b2cf573 keymap: Add Acer TravelMate C310
Thanks to Dieter Herrmann for the report!
2011-01-07 12:09:45 +01:00
Lennart Poettering 487a15bb72 update TODO 2011-01-07 01:12:27 +01:00