1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00
Commit Graph

2415 Commits

Author SHA1 Message Date
Lennart Poettering
3d20ed6d51 fsck: add initial version of fsck and quotacheck wrappers 2010-10-19 21:19:12 +02:00
Lennart Poettering
3b63d2d31d tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
Lennart Poettering
ddd941ed5c fedora: add compat unit for /sbin/halt.local 2010-10-14 03:59:49 +02:00
Lennart Poettering
9aac953a11 units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
Lennart Poettering
46574a5b4a units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
Lennart Poettering
85ed27f699 units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +02:00
Kay Sievers
26e190cf87 move .h file from SOURCES to DIST to make vala autotools happy 2010-10-13 13:55:06 +02:00
Lennart Poettering
52661efd21 unit: add minimal condition checker for unit startup 2010-10-13 02:15:41 +02:00
Lennart Poettering
169c1bda80 service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
This should fix accounting for pam_limits and suchlike.

https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08 16:07:50 +02:00
Kay Sievers
926e430133 systemd-shutdown: add umount.h to sources 2010-10-08 14:47:55 +02:00
Lennart Poettering
447be15505 systemd-user-sessions: install .service file and enable by default 2010-10-07 23:48:48 +02:00
Lennart Poettering
e92787416c user-sessions: add minimal utility to kill user sessions that shall be called before destroying services on shutdown 2010-10-07 22:38:40 +02:00
Fabiano Fidencio
b1b2a107d1 shutdown: Adding binary to shutdown the system
This functions are working as follows:
   - Send a SIGTERM to all processes that may be finished
   - Send a SIGKILL to all processes that still live and may be finished
   - Try to unmount all mount points
   - Try to remount read-only all mount points that can't be umounted
   - Umount all swap devices
   - Umount and detach all loopback devices
   - Call [poweroff|halt|reboot|kexec]

TODO:
   - Umount device-mapper.
   - Make log work. So far it is being useless as we do not parse
     /etc/systemd/system.conf, kernel command line but just
     environment, however we're executed by init and thus have no
     useful variables. Forcing it to target=kmsg/console and
     level=debug also does not produce any output, however writing to
     /dev/console does work (hack used during debug).
2010-10-07 19:23:46 +02:00
Lucas De Marchi
c226fa4196 vconsole-setup: fix path on Arch
Arch uses the same paths and default font of gentoo. Previously,
systemd-vconsole-setup was failing with the following message:

systemd-vconsole-setup[59]: /bin/setfont failed with error code 1.
2010-10-07 19:13:54 +02:00
Lennart Poettering
71fad67514 systemctl: require correctly formed unit names when enabling units 2010-10-06 02:33:40 +02:00
Lennart Poettering
e62e6670f7 man: document readahdea split-off 2010-10-05 20:44:37 +02:00
Lennart Poettering
d0b4880988 sd-daemon: split off sd_readahead() since it is not a feature of systemd itself but of an auxiliary tool 2010-10-05 20:20:38 +02:00
Lennart Poettering
c7b508592b units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
Lennart Poettering
93ca9714e6 units: get rid of special setup services for /var/run, /var/lock and /tmp, and rely on tmpfiles.d/ instead 2010-09-29 01:39:31 +02:00
Lennart Poettering
afbf835326 units: ship unit file for systemd-tmpfiles by default 2010-09-29 01:39:31 +02:00
Lennart Poettering
34c8deaae1 tmpfiles: install default tmpfiles configuration 2010-09-28 22:32:53 +02:00
Lennart Poettering
bfaf42d22b tmpfiles: rename tempfiles to tmpfiles since this isn't windows 2010-09-28 22:11:27 +02:00
Lennart Poettering
30b89475ee build-sys: add missing header files to tarball 2010-09-28 18:49:02 +02:00
Lennart Poettering
4bb2357f77 units: add readahead unit files 2010-09-28 03:44:22 +02:00
Lennart Poettering
c0a1b6e926 units: enable mount units by default and hook binary units into base.target instead of sysinit.target, leaving the latter for sysv compatibility 2010-09-28 03:18:23 +02:00
Lennart Poettering
5008d5815a tempfiles: add little utility for creating volatile files/dirs in tmpfs hierarchies 2010-09-28 02:34:02 +02:00
Lennart Poettering
6624768c9c readahead: add interface to sd-daemon.[ch] to control readahead 2010-09-26 15:50:14 +02:00
Lennart Poettering
22be093ffb readahead: implement minimal readahead logic based on fanotify(), mincore() and readahead() 2010-09-23 15:02:13 +02:00
Kay Sievers
6efb256c1a units: add tmp.service to file list 2010-09-22 13:51:05 +02:00
Kay Sievers
3e24da51b9 units: enable getty.target by default 2010-09-22 13:31:53 +02:00
Kay Sievers
45cf971672 units: move ctrl-alt-delete, default getty targets from /etc to /lib 2010-09-22 12:49:17 +02:00
Kay Sievers
6ebf598c40 units: hwclock support for non-UTC must not be in the default 2010-09-22 12:00:07 +02:00
Kay Sievers
65ae3821ff units: enable var-run + var-lock service by default 2010-09-21 21:43:40 +02:00
Kay Sievers
f9ccc72499 units: enable sysctl by default 2010-09-21 21:38:21 +02:00
Kay Sievers
7376cffd56 units: enable hwclock by default 2010-09-21 21:33:24 +02:00
Kay Sievers
d3f09cf396 units: always enable random-seed, module-load, vconsole 2010-09-21 21:25:44 +02:00
Kay Sievers
b15124f166 tmpwatch: install the unit files 2010-09-21 15:07:43 +02:00
Lennart Poettering
f0a73e245c units: add default tmpwatch units 2010-09-21 03:38:32 +02:00
Gustavo Sverzut Barbieri
9841e8e3d3 gentoo: vconsole-setup support.
This patch is a bit bigger than expected since Gentoo being
non-standard in some places.

 1. it is installing binaries at /usr/bin instead of /bin.

 2. it is using CamelCase names for consolefonts.

 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont
    "-u" options, but do not disable the actual kernel default_utf8
    from vt module.
2010-09-21 00:43:16 +02:00
Lennart Poettering
efb3237ee6 ask-password: popup notification when we ask for a password 2010-09-17 02:32:48 +02:00
Lennart Poettering
490aed5849 ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user 2010-09-17 01:26:29 +02:00
Lennart Poettering
72bca11ba2 locale: initialize locale from /etc/locale by default 2010-09-16 01:57:42 +02:00
Lennart Poettering
97c4a07df9 vconsole: add new utility to initialize the virtual console 2010-09-16 00:36:41 +02:00
Lennart Poettering
a2ff477f67 units: add generic description for http-daemon.target 2010-09-14 00:22:47 +02:00
Michael Biebl
e082d6c8d8 units: On Debian Runlevel 2, 3, 4 and 5 are multi-user
Patch by Tollef Fog Heen <tfheen@err.no>
Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>
2010-09-08 02:14:58 +02:00
Michael Biebl
a5dc0a45fe units: add umount unit files for Debian
Add unit files to call

/etc/init.d/umountnfs.sh stop (network file systems)
/etc/init.d/umountfs stop     (local file systems)
/etc/init.d/umountroot stop   ("/" file system)

in the right order and hook them up in the umount.target so they are run
on shutdown and reboot.
2010-09-08 02:12:38 +02:00
Michael Biebl
f10814d9e0 units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.
2010-09-06 03:12:44 +02:00
Michael Biebl
ad206afcb9 units: Add halt, killall, poweroff and reboot unit files for Debian 2010-09-06 03:12:28 +02:00
Lennart Poettering
53eff0c762 build-sys: fix fedpkg git path 2010-09-03 05:39:22 +02:00
Lennart Poettering
b2bb3dbed9 console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.

This also adds an automatic hvc console for virtualizers.

https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-30 23:03:58 +02:00
Lennart Poettering
77d5f105bf cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have
this, released kernels need a backport of a single patch.
2010-08-25 04:58:24 +02:00
Lennart Poettering
93a45c562a serial: use seperate getty template for serial ttys 2010-08-25 03:09:57 +02:00
Lennart Poettering
addab137cd syslog: add minimal syslog/kmsg bridge syslogd 2010-08-21 03:57:47 +02:00
Lennart Poettering
90685f7d12 units: add service file that remounts the root file system 2010-08-20 03:27:23 +02:00
Lennart Poettering
449ddb2d23 remount: add tool that applies /etc/fstab mount options to all api mounts 2010-08-20 03:26:15 +02:00
Lennart Poettering
d06dacd002 service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl 2010-08-20 02:31:54 +02:00
Lennart Poettering
e59077036b hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
2010-08-19 03:02:22 +02:00
Lennart Poettering
b2423f1f43 modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this 2010-08-19 02:03:17 +02:00
Lennart Poettering
5481ab2b38 units: add hwclock-load service 2010-08-18 02:24:31 +02:00
Lennart Poettering
f556ea46f6 units: add generic sysctl/hwclock-save service 2010-08-17 22:14:58 +02:00
Kay Sievers
b54dd8b7f4 units: add tmp.mount 2010-08-17 19:43:44 +02:00
Lennart Poettering
1cba2c90e8 modprobe: kill support for nomodules
this should happen in the kernel itself, not be controlled from
userspace, if at all. So let's kill this here.
2010-08-17 18:13:47 +02:00
Kay Sievers
3c268bdf8a units: add var-run.service var-lock.service 2010-08-17 10:17:42 +02:00
Lennart Poettering
5192bd1945 auto-getty: rework auto console getty logic to work in conjunction with single user mode 2010-08-17 03:29:46 +02:00
Lennart Poettering
9be9828c00 systemctl: warn in intervals before going down when delayed shutdown is used 2010-08-16 19:26:27 +02:00
Lennart Poettering
a145090c82 shutdownd: enable by default 2010-08-16 15:41:12 +02:00
Lennart Poettering
f614480831 systemctl: add support for delayed shutdown, similar to sysv in style 2010-08-16 15:37:52 +02:00
Lennart Poettering
ca2cab5dcd random-seed: add little tool for saving/loading random seed on shutdown/boot, but don't enable it by default 2010-08-14 19:17:37 +02:00
Lennart Poettering
3cc144eba3 units: move plymouth services from /etc to /lib since fedora does not support plymouth-less boots 2010-08-13 19:14:12 +02:00
Lennart Poettering
c88f64bd1a units: move runlevel[2-5] links to /lib because they are legacy and hence should not be as obviously in sight. The user may still override them by placing links in /etc 2010-08-13 19:13:25 +02:00
Lennart Poettering
0278dfeb30 unit: create three seperate plymouth service for halt/poweroff/reboot 2010-08-13 02:19:24 +02:00
Lennart Poettering
302e27c89e main: log build time features on startup 2010-08-12 01:03:24 +02:00
Lennart Poettering
e51bc1a23e selinux: split off selinux calls into seperate file label.c 2010-08-11 22:58:34 +02:00
Lennart Poettering
cd6d0a456b utmp: enable systemd-update-utmp by default 2010-08-11 04:38:55 +02:00
Lennart Poettering
4927fcae48 audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary 2010-08-11 01:44:38 +02:00
Lennart Poettering
1310609b05 unit: hook plymouth into the boot
https://bugzilla.redhat.com/show_bug.cgi?id=619922
2010-08-10 03:44:05 +02:00
Lennart Poettering
3c661fadd5 cgroup: if the system bus cannot be found, send cgroup empty msg directly to init proces 2010-08-06 03:21:50 +02:00
Lennart Poettering
922cc00119 units: split fsck.target from sysinit.target for suse compat 2010-08-06 01:30:20 +02:00
Lennart Poettering
ee5762e378 systemctl: fold systemd-install into systemctl 2010-07-24 00:53:33 +02:00
Daniel J Walsh
7a58bfa4ae socket: SELinux support for socket creation.
It seems to work on my machine.

/proc/1/fd/20	system_u:system_r:system_dbusd_t:s0

/proc/1/fd/21	system_u:system_r:avahi_t:s0

And the AVC's seem to have dissapeared when a confined app trys to
connect to dbus or avahi.

If you run with this patch and selinux-policy-3.8.8-3.fc14.noarch
You should be able to boot in enforcing mode.
2010-07-23 05:12:13 +02:00
Lennart Poettering
c24eb49e6a exec: extend variable substitution to support splitting variable values into seperate arguments 2010-07-21 02:57:35 +02:00
Lennart Poettering
ceda54d93c units: wire smartcard.target into Makefile 2010-07-16 21:38:56 +02:00
Lennart Poettering
d04247cf25 cgls: rename source file to cgls.c, since we have no prefix for any of the other files either 2010-07-14 15:09:27 +02:00
Lennart Poettering
da78e1b444 units: introduce bluetooth.target/printer.target which are activated if the right hardware is plugged in 2010-07-13 02:16:44 +02:00
Lennart Poettering
f057408c9c units: introduce emergency.target 2010-07-12 23:49:20 +02:00
Lennart Poettering
35d2e7ec19 cgroup: reimplement the last bit of libcgroup functionality natively 2010-07-12 18:16:44 +02:00
Lennart Poettering
c6c18be35b cgroup: kill processes, not tasks and other cgroup changes 2010-07-11 00:50:49 +02:00
Lennart Poettering
4e67ddd6b3 units: introduce umount.target for unmounting all file systems 2010-07-10 02:41:06 +02:00
Lennart Poettering
83bda35801 build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
Lennart Poettering
a45f61d76c build-sys: add make upload target 2010-07-09 05:06:11 +02:00
Lennart Poettering
4627d39661 build-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files 2010-07-09 00:13:18 +02:00
Lennart Poettering
b4f10a5e89 install: various improvements
Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.
2010-07-08 21:39:01 +02:00
Lennart Poettering
fa776d8e96 cgls: beef up control group dumping and introduce cgls tool 2010-07-08 21:01:42 +02:00
Lennart Poettering
ab35fb1bc6 systemctl: filter and sort member pid of cgroup 2010-07-08 06:08:32 +02:00
Lennart Poettering
83698d60db units: properly create prefdm symlink 2010-07-08 05:29:09 +02:00
Lennart Poettering
398ef8ba02 dbus: make errors reported via D-Bus more useful 2010-07-08 02:43:18 +02:00
Lennart Poettering
a822056bca initctl: check peer credentials after connection 2010-07-07 04:13:19 +02:00
Lennart Poettering
f3e219a238 update man pages for recent changes 2010-07-07 01:38:56 +02:00
Lennart Poettering
487393e9f1 main: implement manager configuration file 2010-07-07 01:10:27 +02:00
Lennart Poettering
fa0f4d8a3a main: add a native implementation of the 'nomodules' kernel option understood by fedora init scripts 2010-07-06 20:34:28 +02:00
Kay Sievers
9335c44faa build-sys: fix EXTRA_DIST 2010-07-06 15:50:42 +02:00
Lennart Poettering
9a1ac7b9ae install: implement --start option 2010-07-06 05:06:40 +02:00
Lennart Poettering
af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +02:00
Lennart Poettering
dd1eb43ba7 man: document execution context related settings 2010-07-02 23:24:38 +02:00
Lennart Poettering
b2c20dd958 man: document snapshot units 2010-07-02 03:51:29 +02:00
Lennart Poettering
eec575d8eb man: document device units 2010-07-02 03:28:33 +02:00
Lennart Poettering
da49e9ab4c man: document target units 2010-07-02 02:55:34 +02:00
Lennart Poettering
b36b082c8a man: document path units 2010-07-02 02:38:30 +02:00
Lennart Poettering
11fcc3ab1b man: document timer units 2010-07-02 02:14:13 +02:00
Lennart Poettering
e0cabd4bb5 man: document swap units 2010-07-02 01:33:54 +02:00
Lennart Poettering
65232ea79d man: document automount units 2010-07-02 01:17:55 +02:00
Lennart Poettering
cdb788e4cd man: document mount units 2010-07-02 00:29:15 +02:00
Lennart Poettering
1f812feafb man: document socket units 2010-07-01 23:49:50 +02:00
Lennart Poettering
c5abba0887 man: document systemd-notify 2010-06-24 05:17:02 +02:00
Lennart Poettering
6f6083dc73 man: rework man page generation in makefile 2010-06-24 04:22:22 +02:00
Lennart Poettering
7874bcd602 man: extend manual page documentation 2010-06-24 03:09:36 +02:00
Lennart Poettering
160cd5c9aa man: add more man pages 2010-06-24 00:11:04 +02:00
Lennart Poettering
c6365917c4 man: generate ANSI prototypes in HTML man pages 2010-06-23 02:26:15 +02:00
Lennart Poettering
359957ee23 man: document runlevel and systemd-install 2010-06-23 01:49:57 +02:00
Lennart Poettering
f9378423b9 man: document sd-daemon.[ch] 2010-06-23 00:31:54 +02:00
Lennart Poettering
a3723b97ef build-sys: fix directory creation of a few dirs 2010-06-22 05:43:07 +02:00
Lennart Poettering
795750caa1 build-sys: install more docs 2010-06-22 05:39:35 +02:00
Lennart Poettering
64aba792f7 man: add initial version of daemon(7) 2010-06-22 02:42:10 +02:00
Lennart Poettering
64ca679e69 build-sys: fix make distcheck 2010-06-22 00:05:37 +02:00
Lennart Poettering
8c6db83365 pam: implement systemd PAM module and generelize cgroup API for that a bit 2010-06-21 23:27:18 +02:00
Lennart Poettering
2cb1a60d14 init: call telinit in case we are run as init and not pid1 2010-06-18 20:01:01 +02:00
Lennart Poettering
514f4ef52f systemctl: add verbs for special units 2010-06-18 04:22:59 +02:00
Lennart Poettering
139be57d94 build-sys: speed up build via convenience library 2010-06-18 00:44:57 +02:00
Pavol Rusnak
634826b51b fix --nonet calls to xsltproc
Also, fix spelling of openSUSE
2010-06-17 23:43:51 +02:00
Lennart Poettering
240a3a85bd doc: install sd-daemon.[ch] as docs 2010-06-17 23:33:21 +02:00
Lennart Poettering
e4b613402d systemctl: provide compatibility implementations for various sysv utilities 2010-06-17 22:57:28 +02:00
Lennart Poettering
4a2a8b5a82 notify: add systemd-notify command line tool 2010-06-17 22:50:06 +02:00
Tom Gundersen
1ebdf2d879 units: make Arch boot
This patch gives minimal Arch support (enough to boot).

We still need to parse the services to start from /etc/rc.conf before systemd can be a drop-in replacement on Arch.
2010-06-16 23:13:10 +02:00
Lennart Poettering
5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +02:00
Lennart Poettering
0213c3f810 socket: add optional libwrap support 2010-06-16 15:41:29 +02:00
Lennart Poettering
8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +02:00
Lennart Poettering
10e87ee7f6 install: add systemd-install tool for managing alias/wants symlinks 2010-06-16 01:58:50 +02:00
Lennart Poettering
84e3543ef4 manager: split off path lookup logic into own .c file 2010-06-15 14:45:15 +02:00
Lennart Poettering
7e4249b94e systemctl: reimplement systemctl in pure C without Vala/GObject 2010-06-15 02:51:55 +02:00
Lennart Poettering
d2d12cd1bf build-sys: make make distcheck work again 2010-06-07 19:40:25 +02:00
Lennart Poettering
d122948d6f dbus: install bus activation file 2010-06-07 04:14:39 +02:00
Lennart Poettering
f92a18f527 units: introduce and explain sysinit.target 2010-06-04 18:43:40 +02:00
Lennart Poettering
e1d680ad55 tests: build the right tests 2010-06-03 03:01:12 +02:00
Lennart Poettering
1136a371e2 untis: fix path to helper services 2010-06-02 15:52:14 +02:00
Kay Sievers
65b0095b1c units: add SUSE service files 2010-06-02 00:53:39 +02:00
Lennart Poettering
134dc482d2 build-sys: add missing backslash 2010-06-02 00:42:36 +02:00
Lennart Poettering
f401faf540 build-sys: move systemd from /sbin to /bin since it should be used by normal users too, for session handling 2010-06-02 00:40:10 +02:00
Lennart Poettering
8c4a3079a7 build-sys: install stuff intended for / into ${rootdir} which is configurable with --with-rootdir= 2010-06-02 00:35:58 +02:00
Lennart Poettering
5c546cb75e units: drop fuse fs from automount, since this is now done by udev internally 2010-06-01 19:50:35 +02:00
Marc-Antoine Perennou
f306f4c40d units: fix Gentoo services 2010-05-24 23:18:37 +02:00
Lennart Poettering
a1b256b0b5 unit: introduce exit.service for exiting from session instances 2010-05-24 22:32:44 +02:00
Lennart Poettering
683f468c54 unit: ship a mail-transfer-agent.target unit by default 2010-05-24 22:30:54 +02:00
Lennart Poettering
1e287fe32f unit: turn display-manager.target into a service 2010-05-24 22:29:59 +02:00
Lennart Poettering
01f78473b1 path: add .path unit type for monitoring files 2010-05-24 05:25:33 +02:00
Lennart Poettering
871d7de47c timer: fully implement timer units 2010-05-24 01:45:54 +02:00
Lennart Poettering
4288f61921 dbus: automatically generate and install introspection files 2010-05-23 03:45:33 +02:00
Lennart Poettering
6d526de267 unit: add automount units for a number of API filesystems 2010-05-23 01:56:54 +02:00
Lennart Poettering
11c3a4eeb7 kmod: automatically load a few kernel modules we need for normal operation before udev is active 2010-05-22 00:29:53 +02:00
Marc-Antoine Perennou
ea2d9ed42d units: add services for Gentoo 2010-05-20 17:56:16 +02:00
Lennart Poettering
0d26c91071 unit: ship default.service for sessions by default 2010-05-20 02:30:49 +02:00
Lennart Poettering
1afaf57346 fedora: we must call the halt script with a symlink of reboot for rebooting 2010-05-20 02:05:28 +02:00
Lennart Poettering
8848109267 units: don't install var-run.mount anymore for the moment 2010-05-19 04:37:21 +02:00
Lennart Poettering
670802d4b1 units: replace a few non-essential API mounts with automount units 2010-05-18 03:10:17 +02:00
Lennart Poettering
42e39f0b32 build-sys: remove vala generated sources only when valac is around 2010-05-18 00:28:39 +02:00
Lennart Poettering
53f7d807bf cgroup: don't require debug cgroup controller anymore, use name hierarchy instead 2010-05-17 23:54:44 +02:00
Lennart Poettering
e82e442bfa build-sys: don't fail if we cannot create /cgroup/debug 2010-05-17 23:29:24 +02:00
Lennart Poettering
c3bd732210 build-sys: enable xsltproc rules only if we have xsltproc 2010-05-17 23:29:10 +02:00
Lennart Poettering
2a3d629467 build-sys: simplify sed rules 2010-05-17 23:28:54 +02:00
Lennart Poettering
a00e487927 build-sys: fix make distcheck 2010-05-17 23:02:28 +02:00
Lennart Poettering
9f2c5942e1 man: replace syslog name in man page by configured name 2010-05-17 22:45:52 +02:00
Lennart Poettering
bb009d81b0 build-sys: make xsltproc/sed invocations silent 2010-05-17 19:53:16 +02:00
Lennart Poettering
12e84679cc build-sys: set M4_DISTRO_FLAG from the configure script 2010-05-17 19:52:57 +02:00
Lennart Poettering
705dbf3aa3 units: make sure to ship units/remote-fs.target.m4 in tarball 2010-05-17 19:42:57 +02:00
Lennart Poettering
fb1bd35a5d unit: properly generate session units 2010-05-17 02:17:22 +02:00
Lennart Poettering
eb10a76494 docs: add terse distribution porting guide 2010-05-17 01:40:02 +02:00
Lennart Poettering
5e6afdd3d3 units: add distribution-specific units 2010-05-17 01:39:58 +02:00
Lennart Poettering
f0b02ca2af units: add rpcbind.target special 2010-05-16 22:50:02 +02:00
Lennart Poettering
9f23530860 man: document a few special units 2010-05-16 22:45:11 +02:00
Lennart Poettering
a7b6f8e578 units: automatically generated syslog.target 2010-05-16 21:15:46 +02:00
Lennart Poettering
70449379de units: move a number of units into the tarball 2010-05-16 20:49:41 +02:00
Lennart Poettering
dfac97b21e build-sys: generate intermediate files in subdirs 2010-05-16 19:09:22 +02:00
Lennart Poettering
e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00
Lennart Poettering
e9da3678fc build-sys: use autoconf'igured mkdir/ln/sed programs 2010-05-16 18:34:31 +02:00
Lennart Poettering
05a602f468 build-sys: fix make distcheck 2010-05-16 18:23:09 +02:00
Lennart Poettering
8bfcc8ea65 logger,initctl: port to daemon reference implementation 2010-05-16 01:45:52 +02:00
Lennart Poettering
43aa226daf install: create both session/system unit dirs, even if empty 2010-05-15 23:15:10 +02:00
Lennart Poettering
d1ab0ca073 man: add some initial man page work 2010-05-15 23:06:41 +02:00
Lennart Poettering
64c1b5bf9c install: create /cgroup/debug mount point on install 2010-05-14 04:22:29 +02:00
Lennart Poettering
4697132b91 manager: merge /etc/xdg/systemd/session and /etc/systemd/session 2010-05-14 02:50:19 +02:00
Lennart Poettering
31cee6f634 build-sys: include README and LICENSE in tarball 2010-05-13 03:30:21 +02:00
Lennart Poettering
67ef7823c6 vala: hide a few vala warnings 2010-05-13 03:21:19 +02:00
Michael Tremer
a9b5b03212 configure: Allow to disable build of tools that require GTK. 2010-05-13 03:16:12 +02:00
Tollef Fog Heen
462b33e96a Distribute the necessary header files too
Add all header files that we need to EXTRA_DIST to ensure they are
actually in the tarball.
2010-05-10 01:17:49 +02:00
Tollef Fog Heen
75db651adb Remove .h files from _SOURCES
Automake is buggy when you mix C and Vala programs.  It tries to call
valac with the full contents of _SOURCES for the program, but valac
errors out when given .h files.  Until this is fixed, we can't list .h
files in _SOURCES or "make dist" breaks.
2010-05-10 01:01:06 +02:00
Maarten Lankhorst
07b0b134d3 swap: add .swap unit type 2010-05-09 18:46:10 +02:00
Lennart Poettering
af5bc85dc1 loopback: configure lo device on bootup 2010-05-09 18:02:38 +02:00
Lennart Poettering
ea6145dabe hostname: unify hostname configuration file parsers a little 2010-05-08 15:00:53 +02:00
Lennart Poettering
b9cd233f49 we don't actually need libgee anymore 2010-05-06 21:26:21 +02:00
Lennart Poettering
2d02719c2b units: fix logger/initctl paths 2010-04-23 22:18:55 +02:00
Lennart Poettering
15ae422b74 execute: support basic filesystem namespacing 2010-04-21 22:15:06 +02:00
Lennart Poettering
a16e112358 reload: implement reload/reexec logic 2010-04-21 03:27:44 +02:00
Lennart Poettering
4139c1b272 dbus: greatly extend dbus coverage 2010-04-18 03:08:16 +02:00
Lennart Poettering
9e2f7c11fb core: add minimal templating system 2010-04-15 03:11:15 +02:00
Lennart Poettering
70fcff314f units: install a few basic units by default 2010-04-13 05:18:12 +02:00
Lennart Poettering
5cc5d790f4 udev: install rules file that ignore those nasty useless tty devices by default 2010-04-10 19:18:21 +02:00
Lennart Poettering
e24067c3ec dbus: install D-Bus policy file by default 2010-04-10 18:51:07 +02:00
Lennart Poettering
e537352b9b mount: implement mounting properly
This also includes code that writes utmp/wtmp records when applicable,
making use the mount infrastructure to detct when those files are
accessible.

Finally, this also introduces a --dump-configuration-items switch.
2010-04-10 18:00:34 +02:00
Lennart Poettering
302e8c4c4c hostname: set hostname early during boottime 2010-04-10 18:00:21 +02:00
Lennart Poettering
061978fa4d build-sys: fix build regarding SYSTEM_SYSVRCND_PATH 2010-04-07 15:39:28 +02:00
Lennart Poettering
0571e0111d build-sys: automatically detect SysV init dirs 2010-04-07 15:35:01 +02:00
Lennart Poettering
0b7964b804 sysv: implement /dev/initctl compatibility 2010-04-04 22:53:42 +02:00
Lennart Poettering
8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering
036643a247 config: implement search path logic 2010-02-13 01:07:02 +01:00
Lennart Poettering
c1e1601e8c dbus: send out signals when units/jobs come, go and change 2010-02-05 00:38:41 +01:00
Lennart Poettering
47be870bd8 build: basic autoconfization 2010-02-03 14:21:48 +01:00