Commit graph

1909 commits

Author SHA1 Message Date
Alexey Shabalin a338bab5d0 build-sys: initial support ALTLinux
Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.
2011-02-08 12:52:06 +01:00
Lucas De Marchi 8d7cb6e068 build-sys: make less noise when checking file
There's already a condition that gives a warning if user is
cross-compiling an relying on files from the build system. AC_CHECK_FILE
macro only tests for file in the build system. Hence use a simple
'test -f' that does the same job, without the warning.
2011-02-08 12:44:35 +01:00
Lennart Poettering e2811d6fa5 update TODO 2011-02-08 12:12:23 +01:00
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
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
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
Lennart Poettering 487a15bb72 update TODO 2011-01-07 01:12:27 +01:00
Lennart Poettering 2d011a7923 logger: when passing on PID info, fall back to our own if originating process is already gone 2011-01-07 00:49:35 +01:00
Lennart Poettering e83c7c0ba4 service: don't hit an assert if information in LSB headers is incorrectly formatted
https://bugzilla.redhat.com/show_bug.cgi?id=667665
2011-01-07 00:49:35 +01:00
Lennart Poettering 86a3475bc5 execute,util: fix two small memory leaks 2011-01-06 23:52:17 +01:00
Lennart Poettering 2c4b304e64 specifier: at minimal test 2011-01-06 23:51:52 +01:00
Lennart Poettering 1640944a84 getty: unset locale before execution
On the console indian characters cannot be displayed, hence it is
advisable to disable indian locales on the console, which most
distributions traditionally did from a shell fragment executed post
login. If getty gets started with locale settings passed it would itself
however be translated without the no-indian-on-console fixup applied.

Hence, for now don't pass any locale settings to getty/login, and thus
rely on the classic post-login script fragment to set and fix the
locale.

Eventually we probably want to drop this again since the system locale
should be read and set at one place, and not at multiple, and that one
place should be PID 1.

https://bugzilla.redhat.com/show_bug.cgi?id=663900
2011-01-06 20:38:06 +01:00
Lennart Poettering a6ff950e71 execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible 2011-01-06 20:38:02 +01:00