1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00
Commit Graph

345 Commits

Author SHA1 Message Date
Lennart Poettering
0b191e603c logind: hook uaccess into udev by default 2011-06-29 04:14:43 +02:00
Lennart Poettering
8fa365e586 logind: add man page for configuration file 2011-06-29 02:27:53 +02:00
Lennart Poettering
193197e85c logind: parse configuration file 2011-06-29 01:47:55 +02:00
Lennart Poettering
47a2669062 logind: implement basic version of AttachDevice() D-Bus call 2011-06-28 20:50:43 +02:00
Lennart Poettering
cd9e5d0a76 logind: activate autovt@.service instead of autovt-getty@.service when the user switches to a previously unused tty, since it doesn't have to be a getty we start on it on demand 2011-06-28 19:25:08 +02:00
Lennart Poettering
7f7bb94679 logind: implement SetUserLinger() D-Bus call 2011-06-28 03:52:22 +02:00
Lennart Poettering
d0a522eb31 logind: autospawn gettys when necessary 2011-06-28 00:26:10 +02:00
Lennart Poettering
98a28fef26 logind: hook up PAM module with logind 2011-06-24 18:50:50 +02:00
Lennart Poettering
91f9dcaf92 dbus: add dbus introspection extraction 2011-06-21 19:29:45 +02:00
Lennart Poettering
f401e48c2d mechanisms: add mechanisms to change system locale and clock 2011-06-21 19:29:45 +02:00
Lennart Poettering
3f49d45a45 logind: implement D-Bus properties 2011-06-21 19:29:44 +02:00
Lennart Poettering
5eda94dda2 logind: implement ACL management 2011-06-21 19:29:44 +02:00
Lennart Poettering
202630822f logind: first version that compiles fine 2011-06-21 19:29:44 +02:00
Lennart Poettering
835c60f50c build-sys: local-fs, remote-fs and swap are active anyway when user sessions are created, there is no point in having these units known in sessions 2011-06-15 15:54:50 +02:00
Lennart Poettering
5552b1c1b3 build-sys: fix build 2011-06-14 22:01:44 +02:00
Kay Sievers
da26173785 drop hwclock-save.service
We don't want to fiddle around changing the RTC, not on bootup, not
on shutdown.

If we don't run NTP, we have absolutely no clue what's the current
time to store in the RTC. If we run NTP, the kernel syncs the system
time every 11 minutes to the RTC.

Especially in multi-boot environents we must not call hwclock(8)
which tries to be smart with calculating/storing/applying drifts
and such.

Live-CDs must never touch the RTC, because we don't know if it is
running in UTC or locatime.
2011-05-25 18:21:36 +02:00
Kay Sievers
7948c4dfbe rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to
apply the timezone delta to the system clock.

The very first call of settimeofday() without a time, but a timezone
warps the system clock, so that it properly runs in UTC.
2011-05-24 20:23:07 +02:00
Michael Olbrich
e4c1d706bd build-sys: create dbussystemservicedir
otherwise building fails if it doesn't exist:

( cd <DESTDIR>/usr/share/dbus-1/services && \
                rm -f org.freedesktop.systemd1.service && \
                ln -s ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
/bin/sh: line 0: cd: <DESTDIR>/usr/share/dbus-1/services: No such file or directory
2011-05-10 18:48:53 +02:00
Koen Kooi
1bd8b8184e build-sys: Angstrom support
This commit consists of the initial work to include Angstrom as a ported
distribution for systemd.

Angstrom tries to follow the debian way as much as possible, but deviates
where it doesn't make sense for 'embedded'.
2011-05-09 23:50:23 +02:00
Miklos Vajna
27669061f4 build-sys: Add --disable-binfmt configure switch 2011-04-27 00:08:47 +02:00
Kay Sievers
772f83719e tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 21:38:21 +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
bfebab7f69 dbus: split out object management code into dbus-common, and simplify it 2011-04-16 02:03:35 +02:00
Lennart Poettering
f3bc7fdc7b man: add man page for ask-password 2011-04-08 17:57:17 +02:00
Lennart Poettering
4466194c43 units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
On request of Miroslav Lichvar, rename rtc-set.target to
time-sync.target since usually the RTC chip isn't involved at all in NTP
syncs.

Also, pull it in by hwclock-load.service.
2011-04-06 19:18:17 +02:00
Lennart Poettering
f80781eaf9 var-lock: don't try to enable var-lock.mount if we don't install it 2011-04-06 15:57:37 +02:00
Lennart Poettering
cb06add70d build-sys: we don't need rootsbindir anymore since we don't install anything to /sbin 2011-04-05 02:52:21 +02:00
Lennart Poettering
32d0463d5c build-sys: better don't use libexecdir here at all 2011-04-05 02:49:49 +02:00
Lennart Poettering
bfdb49388f build-sys: fix libexecdir to /usr/lib 2011-04-05 02:40:59 +02:00
Kay Sievers
61fbbab869 build-sys: always place user units in /usr/lib/systemd
./configure --libexecdir=/usr/lib
2011-04-05 02:19:42 +02:00
Lennart Poettering
d19c883d50 units: move user units from /usr/share to /usr/lib since they might be arch-dependent 2011-04-04 15:27:35 +02:00
Lennart Poettering
c91faef3b3 man: document /etc/sysctl.d/ 2011-04-04 03:48:09 +02:00
Lennart Poettering
151b190e79 binfmt: add binfmt tool to set up binfmt_misc at boot 2011-04-04 03:36:42 +02:00
Kay Sievers
5b75435328 move /var/lock to HAVE_SYSV_COMPAT 2011-04-03 22:09:25 +02:00
Lennart Poettering
cca4aeeead tmpfiles: split off rules for legacy systems into legacy.conf 2011-04-02 01:08:31 +02:00
Lennart Poettering
bb29785e0d general: replace a few uses of /var/run by /run 2011-04-01 15:25:46 +02:00
Lennart Poettering
7ebdfc936e build-sys: create a number of drop-in config dirs 2011-03-31 18:17:32 +02:00
Lennart Poettering
f695b3b09b build-sys: install systemd-analyze by default 2011-03-31 03:25:30 +02:00
Andrey Borzenkov
8c944383c2 units: replace Names=dm.service with symlink for mandriva prefdm 2011-03-18 19:32:49 +03:00
Andrey Borzenkov
0c380104cf mount: pull in quota services from local mountpoints with usr/grpquota options 2011-03-18 19:12:58 +03:00
Lennart Poettering
6699c857a2 units: we don't need to generate syslog.target with sed anymore 2011-03-18 05:01:30 +01:00
Lennart Poettering
db25d1d765 units: we no longer need m4 to build graphical.target or multi-user.taregt 2011-03-18 04:59:05 +01:00
Lennart Poettering
b1c66c44ef units: on mandriva/fedora create single.service alias via symlink, not Names= 2011-03-18 04:53:31 +01:00
Lennart Poettering
f1dd0c3f9b syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is 2011-03-18 04:53:31 +01:00
Lennart Poettering
177b3ffedb special: get rid of dbus.target 2011-03-18 04:53:12 +01:00
Lennart Poettering
f6a6225e41 def: centralize definition of default timeout in one place 2011-03-17 04:02:35 +01:00
Miklos Vajna
196e3fa74a Add Frugalware display-manager service 2011-03-16 03:53:55 +01:00
Lennart Poettering
8f7a3c1402 man: document systemd-nspawn 2011-03-15 20:51:59 +01:00