Lennart Poettering
6398320759
core: rename struct timestamp to dual_timestamp to avoid name clash with IP system headers
2010-07-01 00:26:44 +02:00
Lennart Poettering
2f02ce4005
utils: show help blurb when run without any arguments
2010-06-24 04:55:57 +02:00
Lennart Poettering
5ec7ed4ec6
systemctl: minor --help rewording
2010-06-24 03:08:37 +02:00
Lennart Poettering
bf9a6e8bfc
path-lookup: unconditionally check /usr and /usr/share unit directories
2010-06-24 03:08:22 +02:00
Lennart Poettering
e6b3f00f66
manager: both rescue and emergency should be started in isolate mode
2010-06-24 03:07:43 +02:00
Lennart Poettering
541d6159c6
log: unify log env var prefix
2010-06-24 03:07:06 +02:00
Lennart Poettering
daaa7e5a65
sd-daemon: refer to the man pages
2010-06-24 00:10:03 +02:00
Lennart Poettering
2e225d657a
pam: make sure we don't assign colliding session ids if we get our session ids from multiple sources
2010-06-24 00:09:45 +02:00
Lennart Poettering
2e33c4331f
minor fixes to help texts
2010-06-24 00:08:42 +02:00
Lennart Poettering
2218198b73
man: start documenting systemd itself
2010-06-23 20:34:34 +02:00
Lennart Poettering
a838e6a17a
pam: dont use $XDG_SESSION_COOKIE since CK wants that to be secret. Come up with our own $XDG_SESSION_ID based on /proc/self/sessionid if that is available
2010-06-23 19:46:29 +02:00
Lennart Poettering
1d0ae74ae3
minor typo fixes
2010-06-23 02:10:19 +02:00
Lennart Poettering
f9378423b9
man: document sd-daemon.[ch]
2010-06-23 00:31:54 +02:00
Lennart Poettering
b1fc29fb70
systemctl: fix systemctl help text
2010-06-22 04:10:06 +02:00
Lennart Poettering
4eab639f92
service: rework logic when we consider a service running
2010-06-22 04:09:50 +02:00
Lennart Poettering
827119a9cb
conf-parser: check all parse callbacks
2010-06-22 04:09:26 +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
96551bae61
notify: add systemd-notify --booted
2010-06-21 19:20:21 +02:00
Lennart Poettering
40473a70cf
sd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols
2010-06-21 19:18:47 +02:00
Lennart Poettering
f1c5860be7
systemctl: make upstart glue code talk to upstart via private abstarct bus and verify its UID owner
2010-06-19 16:58:59 +02:00
Lennart Poettering
4d0e5dbd52
service: require KillMode=control-group when PAM is enabled
2010-06-19 16:57:54 +02:00
Lennart Poettering
399ab2b1ac
unit: make unit casts typesafe
2010-06-19 16:57:29 +02:00
Lennart Poettering
0ca3f374f9
initctl: add some checks before starting up
2010-06-19 16:56:57 +02:00
Lennart Poettering
f5a3628cc7
initctl: talk to systemd via the abstract private bus
2010-06-19 16:56:26 +02:00
Lennart Poettering
4cd1fbcc06
unit: get rid of various unnecessary casts
2010-06-19 16:55:49 +02:00
Lennart Poettering
bb00e60409
don't use 'long long' unless we have a really good reason to
2010-06-19 04:35:52 +02:00
Lennart Poettering
6cf6bbc268
socket: enforce limit on number of concurrent connections
2010-06-19 04:25:34 +02:00
Lennart Poettering
a3d4e06dfa
manager: get rid of destinction between running_as=system and running_as=init, as there is little value in it and we cannot really test this
2010-06-19 03:15:59 +02:00
Lennart Poettering
5e8d1c9a9f
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
2010-06-19 03:04:04 +02:00
Lennart Poettering
f9704703f3
service: honour empty cgroup even in ValidNoProcess mode
2010-06-19 01:06:09 +02:00
Lennart Poettering
f872ec3397
util: properly divide in 64bit in format_timestamp()
2010-06-19 00:14:12 +02:00
Lennart Poettering
f2d3769a16
execute: handle format strings in User= and other directives
2010-06-18 23:25:19 +02:00
Lennart Poettering
8c40acf7cb
notify: properly NUL-terminate received messages
2010-06-18 23:13:40 +02:00
Lennart Poettering
d0b170c813
main: don't segfault when --log-color is passed without parameter
2010-06-18 23:13:15 +02:00
Lennart Poettering
c952c6ece2
service: add minimal access control logic for notifcation socket
2010-06-18 23:12:48 +02:00
Lennart Poettering
e55224ca65
service: when we supervise a process, ensure it is our child
2010-06-18 22:05:29 +02:00
Lennart Poettering
c32dd69b46
install: make systemd-install useful for installation of template instances
2010-06-18 21:33:15 +02:00
Lennart Poettering
4545812fbe
systemctl: don't fail if first argument to shutdown isn't 'now' just warn loudly.
2010-06-18 20:26:05 +02:00
Lennart Poettering
442b90946a
systemctl: when called as shutdown, fail if first argument isn't 'now'
2010-06-18 20:23:39 +02:00
Lennart Poettering
e4a9373fb3
systemctl: when called as shutdown, properly handle user specified wall message
2010-06-18 20:23:17 +02:00
Lennart Poettering
33be102a21
cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem
2010-06-18 20:15:34 +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
629c210d3f
utmp: properly initialize local variables
2010-06-18 19:18:03 +02:00
Lennart Poettering
d55ae9e6d7
systemctl: add compat support for shutting down the system via upstart
2010-06-18 19:16:14 +02:00
Lennart Poettering
ddb26e1818
execute: add EnvironmentFile= option
2010-06-18 06:06:24 +02:00
Lennart Poettering
eb22ac37f3
systemctl: add /dev/initctl fallback
2010-06-18 04:44:53 +02:00
Lennart Poettering
514f4ef52f
systemctl: add verbs for special units
2010-06-18 04:22:59 +02:00
Lennart Poettering
ef2f1067d0
systemctl: warn users via wall that the system goes down
2010-06-18 02:28:35 +02:00
Lennart Poettering
8745297f98
gcc: disable warn_unused_result attribute warnings
2010-06-17 23:47:59 +02:00
Lennart Poettering
7cfdbb3cfe
tcpwrap: add missing header files for suse
2010-06-17 23:31:36 +02:00
Lennart Poettering
706243a2d2
sd-daemon: add gcc format string attribute to sd_notifyf
2010-06-17 23:26:20 +02:00
Lennart Poettering
7d7936059f
manager: expose a few special units via SIGRTMIN+x signals
2010-06-17 23:22:56 +02:00
Lennart Poettering
e4b613402d
systemctl: provide compatibility implementations for various sysv utilities
2010-06-17 22:57:28 +02:00
Lennart Poettering
5925dd3c7a
service: rework PID parsing logic everywhere
2010-06-17 22:55:53 +02:00
Lennart Poettering
08bfb8106b
sd-daemon: extend return value logic of sd_notify()
2010-06-17 22:53:55 +02:00
Lennart Poettering
bbe63281ea
log: make color/location logging optional
2010-06-17 22:52:55 +02:00
Lennart Poettering
3ba686c107
util: implement parse_pid() function
2010-06-17 22:50:35 +02:00
Lennart Poettering
4a2a8b5a82
notify: add systemd-notify command line tool
2010-06-17 22:50:06 +02:00
Lennart Poettering
5b6319dcee
service: optionally call into PAM when dropping priviliges
2010-06-16 21:54:17 +02:00
Lennart Poettering
04aa0cb9c4
execute: setup namespace after doing NSS calls
2010-06-16 16:39:28 +02:00
Lennart Poettering
df1f0afe0c
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process
2010-06-16 16:27:24 +02:00
Lennart Poettering
0213c3f810
socket: add optional libwrap support
2010-06-16 15:41:29 +02:00
Lennart Poettering
18c78fb1af
typo: the correct spelling is maintenance not maintainance
2010-06-16 14:01:55 +02:00
Lennart Poettering
8c47c7325f
notify: add minimal readiness/status protocol for spawned daemons
2010-06-16 05:10:31 +02:00
Lennart Poettering
17586c16ba
kmod: autoload unix.ko if it isn't around
2010-06-16 05:07:57 +02:00
Lennart Poettering
5515116b61
cgroup: drop inherit flag, this mus be fixed in the kernel
2010-06-16 05:07:30 +02:00
Lennart Poettering
41192f6e8a
main: fix help regarding --unit/systemd.unit=
2010-06-16 05:06:55 +02:00
Lennart Poettering
a4bfb3990b
strv: introduce strv_find_prefix()
2010-06-16 05:06:02 +02:00
Lennart Poettering
d3782d60cd
util: introduce random_ull()
2010-06-16 05:05:36 +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
2c7108c40a
util: introduce readlink_and_make_absolute()
2010-06-16 01:56:00 +02:00
Lennart Poettering
b08a35509c
systemctl: make sure getopt doesn't segfault
2010-06-15 19:47:38 +02:00
Lennart Poettering
406eaf930b
service: never supervise ourselves
2010-06-15 19:47:13 +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
2ded0c0442
manager: recheck unit paths on daemon reload
2010-06-15 14:32:26 +02:00
Lennart Poettering
479ef5d398
systemctl: fix race in --block
2010-06-15 04:24:30 +02:00
Lennart Poettering
fd0d7f7a6e
dbus: fix match
2010-06-15 04:24:16 +02:00
Lennart Poettering
7e4249b94e
systemctl: reimplement systemctl in pure C without Vala/GObject
2010-06-15 02:51:55 +02:00
Lennart Poettering
fb1af5b0fe
initctl: make sure we don't exit due to dbus disconnect
2010-06-15 02:46:26 +02:00
Lennart Poettering
cf3e247193
dbus: tighten match rules a bit
2010-06-15 02:46:07 +02:00
Lennart Poettering
53ec43c61d
set: introduce set_free_free()
2010-06-15 02:45:26 +02:00
Lennart Poettering
3930341a76
log: don't open log targets too early
2010-06-11 12:31:50 +02:00
Lennart Poettering
7020e8be3f
reword a few log messages
2010-06-11 11:39:59 +02:00
Lennart Poettering
2f198e2f36
main: rename systemd.default= to systemd.unit=
2010-06-09 15:38:46 +02:00
Lennart Poettering
9fae33d2c8
log: add null log target
2010-06-09 15:37:40 +02:00
Lennart Poettering
b1a954eace
dbus: add missing bus activation file
2010-06-07 04:20:50 +02:00
Lennart Poettering
af25ec12e3
dbus: allow systemd to receive activation requests
2010-06-07 04:15:37 +02:00
Lennart Poettering
fc5df99e24
service: honour suse style Kxx links in boot.d/ directory
2010-06-07 02:42:01 +02:00
Lennart Poettering
dfd8eeed39
unit: bump up default timeout to 60s
2010-06-05 02:16:42 +02:00
Lennart Poettering
964e0949dd
unit: when destructing units make sure we don't readd the unit to the gc queue after we already removed it there
2010-06-05 02:16:20 +02:00
Lennart Poettering
27ca8d7a25
socket: verify socket type properly when desrializing
2010-06-05 00:52:49 +02:00
Lennart Poettering
46018844bc
dbus: be a bit more verbose for bus activation
2010-06-04 22:35:31 +02:00
Lennart Poettering
a013b84b49
unit: avoid assert on daemon reload
2010-06-04 22:31:33 +02:00
Lennart Poettering
6dded4c705
dbus: there might be names already registered before we can connect, make sure to enumerate them when checking whether a service is already started
2010-06-04 22:03:22 +02:00
Lennart Poettering
c4653a4dfe
service: handle properly if a dbus process terminates before acquiring the dbus name
2010-06-04 21:23:00 +02:00
Lennart Poettering
b410e6b951
unit: if a unit external changes state, consider that good enough for a job to succeed, don't enforce waiting for the dependencies
2010-06-04 20:13:41 +02:00
Lennart Poettering
2149e37c79
manager: dump to usual debug channel on SIGUSR2, don't rely on stdin
2010-06-04 19:45:53 +02:00
Lennart Poettering
f92a18f527
units: introduce and explain sysinit.target
2010-06-04 18:43:40 +02:00
Lennart Poettering
2f630e5ffd
unit: make sure deserialized_job's type is known
2010-06-03 16:53:59 +02:00
Lennart Poettering
cca098b095
unit: serialize jobs in addition to units
2010-06-03 14:27:02 +02:00
Lennart Poettering
a4ddf82766
execute: fix parsing of StandardError= setting
2010-06-03 03:37:12 +02:00
Lennart Poettering
35374c804d
test: update test-engine.c to work again
2010-06-03 03:01:29 +02:00
Lennart Poettering
23e3c58809
manager: when we sweep the tree when looking for ordering cycles, remember and reuse if we already decided a tree was loop free, to improve speed drastically
2010-06-03 03:00:47 +02:00
Lennart Poettering
a2e0f3d394
mount: parse both parts of the mount options from /proc/self/mountinfo
2010-06-02 23:03:39 +02:00
Lennart Poettering
a5478cd440
dbus: hide some debug output
2010-06-02 22:18:57 +02:00
Lennart Poettering
93a46b0bc5
macro: avoid name clash with _unused on ppc
2010-06-02 21:34:03 +02:00
Lennart Poettering
f5644ae461
mounts: reindent table
2010-06-02 21:15:27 +02:00
Lennart Poettering
122c1c8198
mounts: make /cgroup a tmpfs file system
2010-06-02 21:05:23 +02:00
Lennart Poettering
1f48cf56cb
service: change default service type to 'simple' since that is the future
2010-06-02 19:17:23 +02:00
Christian Ruppert
2c7c61442e
swap: Fix uninitialized variable
2010-06-02 18:54:50 +02:00
Lennart Poettering
10a49d708d
hostname: keep dots in hostname
2010-06-02 15:52:13 +02:00
Lennart Poettering
695d1ef183
sd-daemon: rework documentation a little
2010-06-02 04:24:33 +02:00
Lennart Poettering
0034c15c60
dbus: implement systemd side of dbus activation glue
2010-06-02 04:24:16 +02:00
Lennart Poettering
c87eba546a
dbus: add simplified way to start an arbitrary unit in a single method call
2010-06-01 19:47:46 +02:00
Lennart Poettering
723c83fd05
service: interpret Debian-style X-Interactive LSB header field
2010-05-24 22:32:49 +02:00
Lennart Poettering
a1b256b0b5
unit: introduce exit.service for exiting from session instances
2010-05-24 22:32:44 +02:00
Lennart Poettering
1e287fe32f
unit: turn display-manager.target into a service
2010-05-24 22:29:59 +02:00
Lennart Poettering
6464aa0890
service: add extended debian facilities
2010-05-24 19:56:25 +02:00
Lennart Poettering
c2b35af64c
service: be case insensitive when parsing LSB headers, because some Debian services use lower case fields
2010-05-24 19:23:11 +02:00
Lennart Poettering
0c565ed702
service: interpret suse/debian style X-Start-Before/X-Start-After
2010-05-24 19:00:13 +02:00
Lennart Poettering
8640e11135
sd-daemon: set FD_CLOEXEC by default
2010-05-24 18:59:46 +02:00
Lennart Poettering
8efe3c0114
main: don't try to mount api dirs if we are not root
2010-05-24 18:59:13 +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
9a57a1fdd6
systemctl: subscribe to changes of existing units/jobs
2010-05-22 04:39:37 +02:00
Lennart Poettering
1b91d3e8f4
execute: fix typo
2010-05-22 04:39:16 +02:00
Lennart Poettering
7535cc788e
systemctl: add --block switch for synchronous starting of units
2010-05-22 04:27:24 +02:00
Lennart Poettering
967d86b5cb
manager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible
2010-05-22 03:32:00 +02:00
Lennart Poettering
c3f6d6757a
manager: canonicalize search paths and filter out non-existing paths and those pointing to the same fs directory
2010-05-22 03:30:46 +02:00
Lennart Poettering
9a34ec5fbb
execute: only reset those signals to the default we really need to reset to the default
2010-05-22 01:46:08 +02:00
Lennart Poettering
e1ce2c2782
device: make use of new libudev tags logic
2010-05-22 01:00:28 +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
Lennart Poettering
bc0f8771f2
unit: add simple only-by-dependency flag for units
2010-05-21 23:41:54 +02:00
Lennart Poettering
c0120d992c
socket: fix parsing of bind_ipv6_only
2010-05-21 23:41:25 +02:00
Lennart Poettering
88ce42f694
sd-daemon: verify socket family, too
2010-05-21 17:06:40 +02:00
Lennart Poettering
dde770cfc6
sd-daemon: fix listening socket verification
2010-05-21 03:34:04 +02:00
Lennart Poettering
19b160fae9
mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet
2010-05-21 03:32:58 +02:00
Lennart Poettering
8cbef76075
mount: refuse mount units that have not been loaded from any source
2010-05-21 03:32:21 +02:00
Lennart Poettering
9726b29e98
log: handle multi-line log messages properly
2010-05-21 03:31:49 +02:00
Lennart Poettering
b6dbbe1c98
socket: fix error handling
2010-05-20 20:46:17 +02:00
Lennart Poettering
2b061f5a4b
socket: format IPv4-in-IPv6 addresses as IPv4 addresses for instance name
2010-05-20 20:46:06 +02:00
Lennart Poettering
8e47d742a8
service: when start is repeated too often, consider that failure
2010-05-20 20:45:20 +02:00
Lennart Poettering
7c64bbc387
cgroup: consider not-realized cgroups empty when killing all processes in them
2010-05-20 20:45:00 +02:00
Lennart Poettering
68d157d894
loopback: negate netlink error code before we pass it to strerror()
2010-05-20 19:08:37 +02:00
Lennart Poettering
cd250a39da
sd-daemon: extend documentation a little
2010-05-20 19:01:29 +02:00
Lennart Poettering
86700cf7ad
loopback-setup: be more verbose when something is failing
2010-05-20 19:01:14 +02:00
Kay Sievers
cfe243e372
units: SUSE support
2010-05-20 17:55:42 +02:00
Lennart Poettering
eaf67512d3
systemadm: fix link when fragment path is unknown
2010-05-20 02:37:18 +02:00
Lennart Poettering
07ded1e8ba
systemadm: make fragment path a clickable link
2010-05-20 02:31:57 +02:00
Lennart Poettering
dec5d55298
execute: check ppid, not pid for 1
2010-05-20 01:34:42 +02:00
Lennart Poettering
ecc6e2b849
logger: add an after dependency on the syslog dependency
2010-05-20 01:21:38 +02:00
Lennart Poettering
d5159713c1
service: when we cannot start due to rate limít consider that a real failure
2010-05-20 01:14:43 +02:00
Lennart Poettering
9eb63b3cb4
job: don't show (null) prefix in dump
2010-05-20 01:14:09 +02:00
Lennart Poettering
7c394faa38
sd-daemon: add API to verify socket types
2010-05-20 01:13:43 +02:00
Lennart Poettering
ff876e283a
execute: reopen console in the spawned processes, if necessary
2010-05-20 01:08:13 +02:00
Lennart Poettering
ca9a0317a4
automount: try to modprobe autofs4 if its lacking
2010-05-19 22:30:28 +02:00
Lennart Poettering
dfca381db3
shorten copyright header of configuration files
2010-05-19 22:14:29 +02:00
Lennart Poettering
d017c6ca11
service: refuse to parse sysv scripts that are requested with a boot. prefix or .sh suffix
2010-05-19 21:52:30 +02:00
Lennart Poettering
6c666e26c5
load-fragment: add support for overriding argv[0] in parsed command lines
2010-05-19 21:51:53 +02:00
Lennart Poettering
8783d2feae
execute: send output of services by default to same place as systemd internal output
2010-05-19 21:51:25 +02:00
Lennart Poettering
03fd9c4932
execute: simplify stdin/stderr/stdout fixup a little
2010-05-19 21:50:34 +02:00
Lennart Poettering
9a6bca7aad
execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature
2010-05-19 21:49:03 +02:00
Lennart Poettering
15ca554ba3
service: by default send service output to syslog, except for SysV services which should go to the console
2010-05-19 04:28:25 +02:00
Lennart Poettering
56d748b47e
service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore, so rename it
2010-05-19 03:44:37 +02:00
Lennart Poettering
b7ccee3c84
service: properly drop boot. prefix and .sh suffix from dependency names in the LSB headers
2010-05-19 03:44:07 +02:00
Lennart Poettering
9c5c00f9fe
logger: use the right enum type
2010-05-19 03:42:24 +02:00
Lennart Poettering
1b5601907e
automount: never consider our own mount point a prefix mount of us
2010-05-19 03:42:05 +02:00
Lennart Poettering
c8513d54d2
log: never close file descriptors < 3
2010-05-18 05:10:52 +02:00
Lennart Poettering
a4312405f2
manager: before entering loop dispatch queued up SIGCHLDs
2010-05-18 04:16:33 +02:00
Lennart Poettering
b86d44e5ab
unit: don't gc units that are still in STUB state
2010-05-18 04:05:27 +02:00
Lennart Poettering
21de3988ab
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell
2010-05-18 03:40:19 +02:00
Lennart Poettering
5b2a090372
main: if we fail to acquire a terminal for the crash shell, warn but continue
2010-05-18 03:27:02 +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
53f7d807bf
cgroup: don't require debug cgroup controller anymore, use name hierarchy instead
2010-05-17 23:54:44 +02:00
Lennart Poettering
340d89e06e
build-sys: add small redirecting Makefiles to simplify compilation from within emacs
2010-05-17 01:44:03 +02:00
Lennart Poettering
07c132ffdd
swap: add swap.target Wants links only when running as system instance
2010-05-16 22:48:14 +02:00
Lennart Poettering
307e85efbb
mount: add remote-fs.target/local-fs.target Wants links only when running as system instance
2010-05-16 22:46:03 +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
dfac97b21e
build-sys: generate intermediate files in subdirs
2010-05-16 19:09:22 +02:00
Lennart Poettering
797e2f0e4d
build-sys: move remaining source files to src/
2010-05-16 18:51:06 +02:00
Lennart Poettering
e99e38bbdc
build-sys: move source files to subdirectory
2010-05-16 18:45:24 +02:00