Lennart Poettering
f5e04665eb
journal: hook up coredumping with journal
2012-01-14 01:54:33 +01:00
Lennart Poettering
755a02c680
journal: add new system-cat tool as kind of a more powerfull BSD logger
2012-01-14 01:54:33 +01:00
Lennart Poettering
3043935f02
util: split out tty_is_vc_resolve() from default_term_for_tty()
2012-01-14 01:54:33 +01:00
Lennart Poettering
c1072ea0da
util: rework ANSI escape code macros
2012-01-14 01:54:33 +01:00
Michal Schmidt
9ddc4a26e5
mount: fix quota
...
quotacheck.service and quotaon.service were not pulled in for fstab mounts.
Fix it by not clearing the default_dependencies flag.
The root filesystem may have quotas too, so don't check for "/" there.
No need to have duplicate code for adding dependencies on umount.target.
https://bugzilla.redhat.com/show_bug.cgi?id=773431
2012-01-14 00:12:10 +01:00
Lennart Poettering
6ef25fb65e
pam: fix build
2012-01-13 20:52:45 +01:00
Lennart Poettering
fc7985ed67
pam: work correctly if a seat is specified but not vtnr
2012-01-13 20:51:58 +01:00
Lennart Poettering
d3f2bdbfee
journal: add output mode that just prints simple messages without any decorations
2012-01-13 02:58:45 +01:00
Lennart Poettering
f987397649
api: add C++ guards to all headers
2012-01-13 00:49:21 +01:00
Lennart Poettering
ebda471d89
sd-login: teach sd_pid_get_unit() proper handling of instantiated services
2012-01-13 00:49:02 +01:00
Lennart Poettering
7c8bbccd07
journal: if the syslog forwarder socket is full, then don't block
2012-01-12 05:09:24 +01:00
Lennart Poettering
4cfa2c999d
core: switch all log targets to go directly to the journal, instead via syslog
2012-01-12 05:09:06 +01:00
Lennart Poettering
5ba081b0fb
log: make internal log api log directly to the journal
2012-01-12 04:34:31 +01:00
Lennart Poettering
8a0f04e6a2
journal: add SELinux context to all logged messages
2012-01-11 22:45:05 +01:00
Lennart Poettering
b785c858c3
journal: fix more 32/64 bit issues
2012-01-11 22:44:43 +01:00
Lennart Poettering
fdcad0c255
tmpfiles: fix parsing of /proc/net/unix on 32Bit machines
...
Tracked down by Michael Meeks
2012-01-11 22:08:33 +01:00
Michal Schmidt
52beb2c379
logs-show: fix missing newline in short output
...
Ellipsized messages were printed without a newline.
2012-01-11 21:53:00 +01:00
Lennart Poettering
7f120cc6a2
journald: don't assume size_t and uint64_t are the same
2012-01-11 21:24:02 +01:00
Lennart Poettering
5e41cfec83
journald: set group ownership of journal files to 'adm' by default
2012-01-11 21:11:58 +01:00
Lennart Poettering
e6520a0fce
journal: make requirement for ACLs optional
2012-01-11 20:40:29 +01:00
Lennart Poettering
d1e44dd827
journalctl: fix --help text
2012-01-11 16:03:42 +01:00
Lennart Poettering
1921a5cb3d
journal: don't realign window twice
2012-01-11 03:55:24 +01:00
Lennart Poettering
19a2bd80c1
sd-journal: implement a number of non-implemented calls from the API for now
2012-01-11 03:23:04 +01:00
Lennart Poettering
731a676c20
systemd: reconnect to syslog as soon as the journal is fully up
2012-01-11 03:16:24 +01:00
Lennart Poettering
3ebcdf8cd9
journalctl: always show monotonic timestamp even if it's from an old boot
2012-01-11 03:02:10 +01:00
Lennart Poettering
4dcc1cb415
unit: implement new PropagateReloadTo=/PropagateReloadFrom= operations
2012-01-11 02:52:34 +01:00
Lennart Poettering
bd1a698180
shutdown: add link to root storage daemon text
2012-01-11 02:52:34 +01:00
Lennart Poettering
8f53a7b8ea
service: brutally slaughter processes that are running in the cgroup when we enter START_PRE and START
2012-01-11 02:52:34 +01:00
Lennart Poettering
7e4ab3c5a6
shutdown: exclude processes with argv[0][0] from killing
2012-01-10 05:03:59 +01:00
Lennart Poettering
bf96736674
journalctl: display source timestamp, not journald timestamp, if known
2012-01-07 05:00:28 +01:00
Lennart Poettering
67a122058b
journalctl: add new short-monotonic output mode
2012-01-07 04:41:30 +01:00
Lennart Poettering
6c1e6b98bd
journald: add kmsg source
2012-01-07 04:10:21 +01:00
Lennart Poettering
aaf53376aa
journald: remove inner loop debug message
2012-01-07 04:10:21 +01:00
Kay Sievers
ebd91b34d7
fix compiler warning
2012-01-07 02:12:43 +01:00
Lennart Poettering
e4bac488f9
sd-id128: let's make our API a bit smaller, since sd_id128_make_v4_uuid() is dispensable
2012-01-07 01:37:39 +01:00
Lennart Poettering
39f7f5c108
journalctl: rename --new-id to --new-id128 in order not to introduce yet another new name
2012-01-07 01:37:15 +01:00
Lennart Poettering
dd338f01f5
build-sys: move .pc files next to the matching sources
2012-01-07 01:36:36 +01:00
Lennart Poettering
4ff77f66af
load-fragment: fix parsing of Socket= setting
2012-01-07 01:26:08 +01:00
Lennart Poettering
509b6efbbe
main: fix spelling
2012-01-07 01:26:08 +01:00
Lennart Poettering
effb1102d3
journald: introduce systemd_journald.forward_to_kmsg=1 (and friends) to enable kmsg forwarding globally via kernel cmdline
2012-01-07 01:26:08 +01:00
Lennart Poettering
98736c68fe
journald: shorten the time we wait for a forwarding syslog
2012-01-06 23:11:28 +01:00
Lennart Poettering
57020a3abf
unit: properly update references to units which are merged
...
When we merge units that some kind of object points to, those pointers
might become invalidated, and needs to be updated. Introduce a UnitRef
struct which links up all the unit references, to ensure corrected
references.
At the same time, drop configured_sockets in the Service object, and
replace it by proper UNIT_TRIGGERS resp. UNIT_TRIGGERED_BY dependencies,
which allow us to simplify a lot of code.
2012-01-06 23:08:54 +01:00
Lennart Poettering
73aa0c00df
service: add dependencies on configured sockets
2012-01-06 19:23:03 +01:00
Lennart Poettering
4c0bebc335
kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by journald
2012-01-06 03:11:17 +01:00
Lennart Poettering
64f5002a3a
special: fix name of journal socket unit
2012-01-06 02:48:38 +01:00
Lennart Poettering
706343f492
journal: introduce log target 'journal' for executed processes
2012-01-06 02:48:38 +01:00
Lennart Poettering
db5973704b
stdout: remove stdout-syslog-bridge since it is now obsoleted by journald
2012-01-06 02:48:38 +01:00
Michal Schmidt
5c0100a537
util: switch the console to text mode on reset
...
In case we're taking over the console after a killed X server.
https://bugzilla.redhat.com/show_bug.cgi?id=771563
2012-01-06 01:34:02 +01:00
Michal Schmidt
df465b3f44
util: fix switching to console unicode mode
...
The KDSKBMODE ioctl wants a value directly, not its address.
2012-01-06 01:28:30 +01:00
Lennart Poettering
eff406331a
login: implement sd_session_get_service()
2012-01-05 23:14:22 +01:00
Lennart Poettering
4cd9a9d9ec
journal: rename syslog tag to identifier since that's what we call it on the server side.
2012-01-05 21:46:48 +01:00
Lennart Poettering
258cdffc2f
journal: rename priority_prefix to level_prefix, since that's how we call it in PID 1
2012-01-05 21:39:59 +01:00
Lennart Poettering
86b9b8e70d
sd-journal: close reading side of sd_journal_stream_fd() file descriptors
2012-01-05 21:39:31 +01:00
Lennart Poettering
54fe0cdbe3
execute: talk directly to the journald, instead to the stdout-syslog-bridge
2012-01-05 21:39:08 +01:00
Lennart Poettering
33eb8abfa5
journal: store used transport in journal
2012-01-05 20:24:34 +01:00
Lennart Poettering
259d2e7620
journal: move sockets into their own subdir
2012-01-05 20:24:16 +01:00
Lennart Poettering
55d7bfc19b
journalctl: rework short output mode to rebuild full syslog message
2012-01-05 20:11:47 +01:00
Lennart Poettering
8ab49c12dc
headers: fix git URLs for source files
2012-01-05 18:25:36 +01:00
Lennart Poettering
2f9dec073b
build-sys: add stub makefiles to subdirs
2012-01-05 16:29:21 +01:00
Lennart Poettering
8665a38793
journal: fix include in sd-journal.h
2012-01-05 16:28:43 +01:00
Lennart Poettering
55ee336cdc
journalctl: add --new-id switch to generate a new 128Bit id
2012-01-05 16:28:17 +01:00
Lennart Poettering
ea41a8a973
journal: add missing sd-messages.h
2012-01-05 16:27:38 +01:00
Lennart Poettering
81527be142
build-sys: move public header files into a dir of their own
2012-01-05 16:01:58 +01:00
Lennart Poettering
67e5cc4f3e
util: never ellipsize welcome message
2012-01-05 15:39:07 +01:00
Lennart Poettering
224f2ee221
journald: add configuration file options to forward all logged data to kmsg, console, syslog
2012-01-05 15:39:03 +01:00
Lennart Poettering
674f828369
log: minor optimization
2012-01-05 14:55:35 +01:00
Lennart Poettering
81beb7508e
util: when printing status updates during boot, take terminal width into account
2012-01-05 14:55:35 +01:00
Zbigniew Jędrzejewski-Szmek
9cf3ab0e16
fix compilation error with 'PathSpec redefined'
2012-01-05 00:56:21 +01:00
Kay Sievers
4726299357
logind: add needed include for sd_notify()
2012-01-05 00:52:56 +01:00
Kay Sievers
2edfe21d03
conf-parser: silence compiler warning
2012-01-05 00:46:55 +01:00
Lennart Poettering
e6960940b6
journald: parse configuration file
2012-01-04 20:40:04 +01:00
Lennart Poettering
df50185b43
journal: beef up journal output of systemctl and journalctl
2012-01-04 18:33:36 +01:00
Lennart Poettering
fd8ee359a0
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity of realtime for entries we write
2012-01-04 18:32:50 +01:00
Lennart Poettering
f4fb21c151
systemctl: shortcut log output for non-service, non-socket, non-mount, non-swap units
2012-01-04 15:35:59 +01:00
Lennart Poettering
94fb446e55
journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services
2012-01-04 15:35:30 +01:00
Lennart Poettering
e91af489a2
journalctl: only output 10 most recent lines in --follow mode
2012-01-04 15:27:31 +01:00
Lennart Poettering
6f003b4304
journalctl: fix counting of -n parameter
2012-01-04 04:00:14 +01:00
Lennart Poettering
cf5eb6a110
journal: fix reverse traversing of entries
2012-01-04 03:45:50 +01:00
Lennart Poettering
b4e5f92017
journal: add missing error check
2012-01-04 03:45:24 +01:00
Lennart Poettering
9c4e3f2624
journal: don't mind too much if we can't find a monotonic timestamp
2012-01-04 03:45:14 +01:00
Lennart Poettering
b1a0ab7148
journald: don't rotate on startup
2012-01-04 02:33:11 +01:00
Lennart Poettering
a99c349d0d
journal: when increasing window, make sure to use the increased window
2012-01-04 02:21:04 +01:00
Lennart Poettering
4bbdcdb301
journal: apply seek check before resizing window, and refresh stat data if necessary
2012-01-04 02:16:38 +01:00
Lennart Poettering
b788cc23aa
journal: add memory barrier before linking in newly created entries
2012-01-04 02:15:45 +01:00
Lennart Poettering
4b067dc9d2
journal: add missing error check
2012-01-04 02:15:08 +01:00
Lennart Poettering
2100675e9f
journalctl: add -n switch
2012-01-04 02:14:42 +01:00
Lennart Poettering
8e9e6d567a
sd128: rename SD_FORMAT_ID128_STR to SD_ID128_FORMAT_STR to follow naming scheme
2012-01-04 02:13:41 +01:00
Lennart Poettering
eaff7bd849
sd128: add format string macros for outputting sd_id128_t variables
2012-01-04 02:09:05 +01:00
Lennart Poettering
bad75c274a
journald: fix _SYSTEMD_CGROUP= values
2012-01-03 23:41:55 +01:00
Lennart Poettering
bda061759c
logind: send out Lock signal when locking
2012-01-03 23:08:15 +01:00
Lennart Poettering
976c088a02
logind: don't watch vcsa if nobody cares
2012-01-03 21:50:02 +01:00
Lennart Poettering
addedec48b
logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching
2012-01-03 21:47:54 +01:00
Daniel Walsh
dc4b020064
namespace: remount namespace root dir for SLAVE to avoid propagation of mounts from the namespace to the host
...
https://bugzilla.redhat.com/show_bug.cgi?id=752540
2012-01-03 21:12:10 +01:00
Lennart Poettering
86aa7ba4f9
systemctl: hook up systemctl with the journal
2012-01-03 21:08:58 +01:00
Lennart Poettering
adf7d506b5
journal: never fail if we cannot access /var, just print a warning
2012-01-03 21:08:58 +01:00
Lennart Poettering
52f4f45bf4
journald: treat a read-only /var identical to an unmounted one
2012-01-03 21:08:58 +01:00
Lennart Poettering
85d83bf41c
journald: add _SYSTEMD_SESSION, _SYSTEMD_OWNER_UID, _SYSTEMD_SERVICE to all entries
2012-01-03 21:08:58 +01:00
Lennart Poettering
000a2c9886
sd-id128: add _public_ to all exports, and add validity checks for all parameters
2012-01-03 21:08:58 +01:00
Lennart Poettering
a5344d2c3b
journal: add _public_ to all sd-journal calls, and add parameter checks
2012-01-03 21:08:58 +01:00
Lennart Poettering
9847946e12
login: introduce sd_pid_get_service()
2012-01-03 21:08:58 +01:00
Lennart Poettering
b72491a2fd
nspawn: get rid of BUFFER_SIZE, use LINE_MAX instead
2012-01-03 21:08:57 +01:00
Lennart Poettering
4f3656e1ce
readahead: bring export definition of sd-readahead in line with sd-daemon
2012-01-03 21:08:57 +01:00
Lennart Poettering
4cfc6dbe52
socket: only add dependency on kmsg socket to socket units which have any kind of exec program specified
2012-01-03 21:08:57 +01:00
Lennart Poettering
776a564f54
build-sys: move kbd-model-map to locale/
2012-01-03 21:08:57 +01:00
Lennart Poettering
b4d0195b05
cryptsetup: split off cryptsetup into its own subdir
2012-01-03 21:08:57 +01:00
Lennart Poettering
927f62bd54
login: move systemd-user-sessions.service into login/, too
2011-12-31 19:45:41 +01:00
Lennart Poettering
e5e83e8362
build-sys: make readahead and vconsole optional
2011-12-31 19:45:41 +01:00
Kay Sievers
bb765041af
gnome-ask-password-agent: require libnotify >= 0.7.0
2011-12-31 18:15:27 +01:00
Lennart Poettering
be5f4385d6
login: move the PAM module to src/login/ since it is just a client to logind
2011-12-31 18:06:56 +01:00
Lennart Poettering
5e2c93666f
test: rename test directory
2011-12-31 18:06:56 +01:00
Lennart Poettering
9c5b60ca5f
login: move libsystemd-login.pc.in into src/login/
2011-12-31 13:37:23 +01:00
Kay Sievers
d4a66a7f96
libsystemd-id128: restructure Makefile.am
2011-12-31 08:53:06 +01:00
Kay Sievers
7e8f489ad5
journal: restructure Makefile.am
2011-12-31 08:36:52 +01:00
Kay Sievers
609518c1d2
binfmt: move sources to subdirectory
2011-12-31 07:40:31 +01:00
Kay Sievers
681cfc6c40
hostnamed, localed: move config files to subdir
2011-12-31 07:23:57 +01:00
Kay Sievers
00c36f274b
hostnamed: move sources to subdirectory
2011-12-31 07:03:33 +01:00
Kay Sievers
1822350db1
localed: move sources to subdirectory
2011-12-31 06:50:34 +01:00
Kay Sievers
4668191d02
timedated: move sources to subdirectory
2011-12-31 06:40:48 +01:00
Kay Sievers
6c8a39b883
journal: silence gcc warnings
2011-12-31 03:55:35 +01:00
Lennart Poettering
c0f99c21f4
util: fix warning
2011-12-31 03:35:45 +01:00
Lennart Poettering
e81e801af6
journal: move symver file into subdirectory
2011-12-31 03:35:38 +01:00
Lennart Poettering
4deba28559
logind: move more files into subdirectory
2011-12-31 03:24:31 +01:00
Lennart Poettering
4bba9156da
logind: move logind into its own subdirectory
2011-12-31 03:16:08 +01:00
Lennart Poettering
babfc09177
journal: automatically deduce journal metrics from file system sizes
2011-12-31 02:31:54 +01:00
Lennart Poettering
3a22a969c5
kmsg: drop unused variable
2011-12-31 01:08:06 +01:00
Lennart Poettering
271b032a05
socket: rename the PassCred= option to PassCredentials=, since we don't want to needlessly abbreviate options unless they are very well established
2011-12-31 01:07:49 +01:00
Lennart Poettering
dc1ecd78e9
Merge branch 'journal'
2011-12-31 00:59:37 +01:00
Lennart Poettering
74ef2d16ad
journal: move max_use into metrics structure
2011-12-31 00:57:14 +01:00
Lennart Poettering
b3a0ad5ab1
journal: disable default debug logging
2011-12-30 22:29:23 +01:00
Lennart Poettering
783d2675ef
journal: fix a few bad memory accesses and leaks
2011-12-30 22:16:04 +01:00
Lennart Poettering
8b18eb674c
journald: forward all syslog messages to syslogd
2011-12-30 19:05:43 +01:00
Lennart Poettering
4b2d99d9f4
journal: add unit files and shared library glue
2011-12-30 17:50:37 +01:00
Lennart Poettering
f39e126e99
journald: add missing header
2011-12-30 16:01:33 +01:00
Lennart Poettering
adb2ce5f69
remount-api-vfs: handle another OOM condition
2011-12-30 15:34:21 +01:00
Lennart Poettering
54a7b863dd
journald: don't recheck /var availability more often than 30s
2011-12-29 15:25:42 +01:00
Lennart Poettering
cf244689e9
journald: flush /run to /var as soon as it becomes available
2011-12-29 15:00:57 +01:00
Lennart Poettering
de97b26ac5
journald: increase rate limit burst rate
2011-12-29 15:00:05 +01:00
Lennart Poettering
2a59ea54f1
journal: never mmap beyond file size
2011-12-28 01:53:06 +01:00
Lennart Poettering
9cfb57c989
journald: when checking available disk space for rate limiting, cache the results temporarily
2011-12-27 23:18:09 +01:00
Lennart Poettering
85a131e8d8
journal: fix hash table lookup logic
2011-12-27 22:58:20 +01:00
Lennart Poettering
24b51289e3
journal: fix typo
2011-12-27 22:52:22 +01:00
Lennart Poettering
3306729574
udev: exclude loopback device from udev rule based sysctl application, since we can just apply that directly at boot
2011-12-27 22:52:15 +01:00
Lennart Poettering
6e409ce10d
journald: implement sophisticated rate limiting
2011-12-27 22:51:46 +01:00
Lennart Poettering
fe6521272b
journal: implement stdout transport
2011-12-23 20:50:48 +01:00
Lennart Poettering
6ad1d1c306
journald: enforce some syntax restrictions on field names sent from the client side
2011-12-22 00:35:04 +01:00
Lennart Poettering
440ee3665e
journal: properly handle first inline bisect array entry
2011-12-21 22:32:52 +01:00
Lennart Poettering
e4e61fdbed
journal: add missing compress.[ch]
2011-12-21 19:00:10 +01:00
Lennart Poettering
0d43c6944b
journalctl: add command line parsing
2011-12-21 18:59:56 +01:00
Lennart Poettering
72f597065c
journalctl: add json, export, short and verbose output modes
2011-12-21 18:17:22 +01:00
Lennart Poettering
807e17f05e
journal: add inline compression support with XZ
2011-12-21 02:40:59 +01:00