1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00
Commit Graph

7959 Commits

Author SHA1 Message Date
Lennart Poettering
08e1fb68d7 build-sys: move *-setup out of shared to avoid selinux being pulled in 2012-04-12 18:19:34 +02:00
Kay Sievers
dce818b390 move all tools to subdirs 2012-04-12 17:54:42 +02:00
Lennart Poettering
4fc5568804 machine-id-setup: avoid cyclic dependency, built twice instead 2012-04-12 17:53:19 +02:00
Lennart Poettering
25d042e815 journal: fix missing variable initialization 2012-04-12 17:43:33 +02:00
Lennart Poettering
41e5171419 build-sys: split off logs-show into its own convenience library 2012-04-12 17:42:09 +02:00
Lennart Poettering
8ef58b3efc getty: skip VC gettys if the VC subsystem is not available 2012-04-12 17:31:26 +02:00
Lennart Poettering
88e995fd72 getty: VC devices are always available, we don't need to wait until they show up 2012-04-12 17:29:42 +02:00
Lennart Poettering
bd5b0d57ef build-sys: introduce seperate convenience library for dbus stuff 2012-04-12 17:24:58 +02:00
Kay Sievers
d41ba529b4 move libsystemd-id128, libsystemd-daemon to subdir 2012-04-12 15:26:39 +02:00
Kay Sievers
3bdf9c1d0a move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
Lennart Poettering
ac0d6edfac detect-virt: print 'none' if no virtualization is detected 2012-04-12 15:10:28 +02:00
Lennart Poettering
984bf9312e machine-id-setup: add the usual command line parameters 2012-04-12 15:07:24 +02:00
Lennart Poettering
2c4ff63406 detect-virt: make detect-virt an official command 2012-04-12 14:58:52 +02:00
Lennart Poettering
cac72f7a02 detect-virt: beef up tool considerably 2012-04-12 14:46:41 +02:00
Kay Sievers
ec1a9f88f2 rename bridge.c to stdio-bridge.c and move to subdir 2012-04-12 14:30:42 +02:00
Lennart Poettering
b6e661357c main: we want all setup functions to be in files called xxx-setup.[ch] 2012-04-12 14:29:29 +02:00
Kay Sievers
90ccc3fca7 move more main systemd parts to core/ 2012-04-12 14:24:40 +02:00
Lennart Poettering
4d89613917 hostname-setup: move to core/ 2012-04-12 14:23:17 +02:00
Lennart Poettering
146de8175e shutdown: move shutdown to core since it replaces PID 1 2012-04-12 14:18:36 +02:00
Lennart Poettering
7f81d81ada umount: fix build 2012-04-12 13:48:20 +02:00
Lennart Poettering
379079ba6b test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
Lennart Poettering
08e4738832 build-sys: dbus-loop.h is not used by the core 2012-04-12 13:42:10 +02:00
Lennart Poettering
46108b3bfd umount: don't try to umount /dev/console, since we are using it 2012-04-12 13:35:56 +02:00
Lennart Poettering
643a14a527 build-sys: move a few things into more appropriate places 2012-04-12 13:35:56 +02:00
Lennart Poettering
fff7b732b2 build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
Kay Sievers
6af684ee5c move a couple of test-*.c to test/ 2012-04-12 13:17:41 +02:00
Marc-Antoine Perennou
d5449fdcc5 udev: gudev - rework introspection generation 2012-04-12 13:12:06 +02:00
Kay Sievers
78a825f216 rename machine-id-main.c tomacht the binary and move main.c to core/ 2012-04-12 13:12:06 +02:00
Lennart Poettering
68fb08920b nspawn: bind mount /dev/nul to /proc/kmsg, so that the container can't muck with the host kmsg 2012-04-12 12:58:19 +02:00
Lennart Poettering
2abf99ac07 journald: add missing flag to open() 2012-04-12 12:58:19 +02:00
Lennart Poettering
68faf98ca0 execute: when we can't get the requested rlimit, get the next closest 2012-04-12 12:58:19 +02:00
Lennart Poettering
d18f337c3f main: pass original environment block to shutdown binary so that it can detect container environments 2012-04-12 12:58:19 +02:00
Lennart Poettering
1d7f3f5cc8 units: start vconsole-setup only if there's actually a virtual console device 2012-04-12 12:58:19 +02:00
Lennart Poettering
f2a46f8da5 units: run sysctl stuff only when /proc/sys is actually writable, to quieten container boots a little 2012-04-12 12:58:19 +02:00
Lennart Poettering
d051610953 unit: introduce ConditionPathIsReadWrite 2012-04-12 12:58:19 +02:00
Kay Sievers
f33d3ec1d7 move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
Kay Sievers
5e6f883dfc udev: keymap - remove weird 'c2 a0' character sequences which break the check
$ hexdump -C  src/udev/keymap/keymaps/samsung-90x3a
00000000  30 78 39 36 20 6b 62 64  69 6c 6c 75 6d 75 70 c2  |0x96 kbdillumup.|
00000010  a0 c2 a0 c2 a0 c2 a0 c2  a0 c2 a0 c2 a0 c2 a0 20  |............... |
00000020  23 20 46 6e 2b 46 38 20  6b 65 79 62 6f 61 72 64  |# Fn+F8 keyboard|
2012-04-12 01:04:30 +02:00
Léo Gillot-Lamure
40c32a4ad4 One can specify in which cgroup hierarchies a systemd-nspawn container will appear 2012-04-12 00:46:09 +02:00
Lennart Poettering
5430f7f2bc relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.

Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.

The bits that used to be MIT continue to be MIT.

The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends.
2012-04-12 00:24:39 +02:00
Kay Sievers
e885455641 udev: check-keymaps.sh - fix source directory 2012-04-12 00:09:13 +02:00
Lennart Poettering
23e0573cea update TODO 2012-04-11 23:56:58 +02:00
Lennart Poettering
9bdc770ccd polkit: when spawning off agent, wait until the agent is fully initialized 2012-04-11 22:37:48 +02:00
Lennart Poettering
4771148bb9 units: exclude gettys from isolate requests
gettys are nowadays mostly autospawned and hence usually subject to
being shut down on isolate requests, since they are no dependency of any
other unit. This is a bad idea if the user isolates between
multi-user.graphical and graphical.target, hence exclude them from the
isolation.

This has the effect that gettys no longer cleaned up when
emergency.target is isolated, which might actualy be considered a
feature, even though it is a change from previous behaviour...

Note that the one getty that really matters (the one on tty1) is still
removed when isolating to emergency.target since it conflicts with
emergency.service.
2012-04-11 22:37:48 +02:00
Kay Sievers
4590cfe455 udev: fix RUN+= logic regarding builtin vs. program 2012-04-11 22:34:25 +02:00
Marc-Antoine Perennou
88dc4327e0 udev: fix keymap mkdir 2012-04-11 22:24:53 +02:00
Kay Sievers
635f7d8ca7 enable proper access timestamps on all tmpfs mounts 2012-04-11 22:18:55 +02:00
Kay Sievers
e5f3d1ba12 tmpfiles: open directories with O_NOATIME to preserve timestamp
Before:
  # stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
  Access: 2012-04-11 21:32:48.444920237 +0200
  # systemd-tmpfiles --clean
  # stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
  Access: 2012-04-11 21:36:27.628925459 +0200

After:
  # stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
  Access: 2012-04-11 21:32:48.444920237 +0200
  # ./systemd-tmpfiles --clean
  # stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
  Access: 2012-04-11 21:32:48.444920237 +0200

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=810257
2012-04-11 21:40:25 +02:00
Lennart Poettering
6bb92a169e polkit: temporarily spawn of a polkit agent in terminals for possibly authenticated operations 2012-04-11 20:39:03 +02:00
Lennart Poettering
f25626edf4 main: disarm watchdog when preparing for reexecution 2012-04-11 18:40:22 +02:00
Kay Sievers
79c077224b put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch] 2012-04-11 16:47:09 +02:00