Commit Graph

146 Commits

Author SHA1 Message Date
Kay Sievers 44143309dd util: conf_files_list() return list as parameter 2011-04-28 23:51:24 +02:00
Lennart Poettering a9dd208208 lookup: drop empty directories from search paths 2011-04-28 04:55:05 +02:00
Kay Sievers db1413d738 sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 20:41:47 +02:00
Chris E Ferron 54e4fdef80 MeeGo support
This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.

The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.

Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance.  MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.

Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.

As this is all ground work, MeeGo will continue to strive for complete
compatibility.
2011-04-20 01:05:30 +02:00
Lennart Poettering 7640a5de1b hostnamed: introduce systemd-hostnamed
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
2011-04-16 02:03:35 +02:00
Lennart Poettering 9beb3f4d5c hostname: split out hostname validation into util.c 2011-04-16 02:03:35 +02:00
Lennart Poettering 6f9a471aa6 util: truncate newline inside of read_one_line_file() already 2011-04-16 02:03:34 +02:00
Lennart Poettering 8480e784f1 util: modernize get_parent_of_pid() a bit 2011-04-16 02:03:34 +02:00
Lennart Poettering ac12344590 pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL 2011-04-12 21:08:44 +02:00
Lennart Poettering 20c03b7be2 don't make up buffer sizes, use standard LINE_MAX instead 2011-04-07 18:48:50 +02:00
Lennart Poettering 151b190e79 binfmt: add binfmt tool to set up binfmt_misc at boot 2011-04-04 03:36:42 +02:00
Lennart Poettering 7c3b203c5c kmsg-syslogd: pass facility value into kmsg 2011-04-03 22:15:14 +02:00
Lennart Poettering 7d76f31288 log: fix shifting of facilities 2011-03-31 21:22:44 +02:00
Lennart Poettering da19d5c19f src: our lord is coverity 2011-03-31 15:35:40 +02:00
Lennart Poettering 9408a2d295 plymouth: use PID file to detect whether ply is running 2011-03-31 04:26:40 +02:00
Lennart Poettering 6faa11140b status: show status messages unconditionally if plymouth is around 2011-03-30 02:21:48 +02:00
cee1 37f85e66e8 util: detect page size runtime.
Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.
2011-03-28 21:42:31 +02:00
Lennart Poettering 28cf382a0a man: document pidns containers 2011-03-18 04:53:31 +01:00
Lennart Poettering 14f3c8252b util: make touched files non-writable by default 2011-03-16 02:58:05 +01:00
Lennart Poettering ef2df9f415 util: add detect_container() 2011-03-14 04:07:52 +01:00
Lennart Poettering f9b9232be9 util: detect CLONE_NEWPID namespaces, and cache results 2011-03-14 03:12:25 +01:00
Lennart Poettering 0a27cf3f32 util: return exit status in wait_for_terminate_and_warn() 2011-03-14 03:12:25 +01:00
Lennart Poettering 46824d0e6b util: properly identify pty devices by their major 2011-03-14 03:12:25 +01:00
Lennart Poettering 720ce21d44 util: close all fds before freezing execution 2011-03-11 00:52:31 +01:00
Lennart Poettering 05feefe0fb dbus: properly generate UnknownInterface, UnknownProperty and PropertyReadOnly errors 2011-03-09 20:01:53 +01:00
Lennart Poettering 34df5a34e1 drop unnecessary suffix NULs as gcc adds them anyway 2011-03-09 19:48:02 +01:00
Andrey Borzenkov 1de4d79bf5 build-sys: add Mandriva distribution support
This merges several separate patches that I carry as part of
Mandriva systemd RPM. They touch those parts that are very
unlikely to be changed in near future and do not impose any
functionality change for systemd core. I also think it is
useful for troubleshooting to have real distribution name in
system logs, espicially when someone reports problem upstream.

The patch looks bigger than sum of replaced patches because

- previous patches were applied on top of distro=fedora, now
I need to add all those bits for distro=mandriva as well

- part of patch was done as spec file magic, but it seems more
logical to ship all these bits together
2011-03-08 19:47:36 +01:00
Lennart Poettering 8c7be95e5a execute: load environment files at time of execution, not when we load the service configuration
https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-04 03:44:43 +01:00
Lennart Poettering 430c18ed7f kill: always send SIGCONT after SIGTERM
When we kill a process to terminate it make sure to send SIGCONT to
ensure it is unpaused and processes the signal.
2011-03-03 23:55:30 +01:00
Lennart Poettering 721bca5763 virtualization: check cpuid first, since it is cheaper than DMI 2011-02-22 01:39:19 +01:00
Lennart Poettering 4e08da90d4 util: make string static 2011-02-22 00:19:03 +01:00
Lennart Poettering 07faed4f99 virtualization: beef virtualization code 2011-02-21 21:48:59 +01:00
Lennart Poettering f73f76acff util: retry opening a TTY on EIO
https://bugs.freedesktop.org/show_bug.cgi?id=33996
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
2011-02-17 16:29:49 +01:00
Lennart Poettering fc116c6a19 util: beef up logic to find ctty name 2011-02-17 16:29:04 +01:00
Lennart Poettering da71f23cda util: seperate welcome line from other output by empty lines 2011-02-16 19:34:38 +01:00
Lennart Poettering 83cc030fad shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot() 2011-02-15 00:30:11 +01:00
Lennart Poettering 079a09fbf7 util: properly resolve /dev/console if more than once console= argument was passed on the kernel command line 2011-02-14 19:54:15 +01:00
Lennart Poettering f212ac125f getty: do not auto-spawn getty's on VC ttys if console=ttyN is used
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-14 18:56:55 +01:00
Lennart Poettering 3030ccd79f util: when determining the right TERM for /dev/console consult /sys/class/tty/console/active 2011-02-13 19:01:47 +01:00
Lennart Poettering 46a08e3815 readahead: disable readahead in virtual machines 2011-02-13 15:46:05 +01:00
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
Lennart Poettering 0b1724894f gcc: make gcc shut up 2011-01-22 02:19:16 +01:00
Lennart Poettering 9a57c62944 systemctl: highlight failed processes in systemctl status 2011-01-20 18:22:03 +01:00
Lennart Poettering 0058d7b91c mount: FAT uuids are uppercase 2011-01-18 22:32:15 +01:00
Lennart Poettering 86a3475bc5 execute,util: fix two small memory leaks 2011-01-06 23:52:17 +01:00
Lennart Poettering c4731d1135 util: don't pass invalid fd to fdopendir() on error to avoid corruption of errno 2011-01-05 16:17:26 +01:00
Lennart Poettering 5f7c426e2a fragment: properly handle quotes in assignments in EnvironmentFile= files 2011-01-05 16:06:35 +01:00
Lennart Poettering 60b4f27794 serial: use TERM=vt100 instead of TERM=vt100-nav
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.

Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.
2011-01-04 21:45:52 +01:00
Tom Gundersen 71656790d6 arch: remove welcome message
This is now done by os-release downstream.
2011-01-01 21:36:08 +01:00
Lennart Poettering c29597a104 util: invoke sync() implicitly on freeze()
Suggested by Tom Gundersen.
2011-01-01 19:50:32 +01:00