chiark / gitweb /
elogind.git
6 years agolibudev: import hwdb and export lookup interface
Kay Sievers [Sat, 27 Oct 2012 18:59:01 +0000 (20:59 +0200)]
libudev: import hwdb and export lookup interface

6 years agohwclock: do not seal the kernel's time-warp call from inside the initrd
Kay Sievers [Sat, 27 Oct 2012 14:23:32 +0000 (16:23 +0200)]
hwclock: do not seal the kernel's time-warp call from inside the initrd

6 years agobash-compleiton: add missing --disk-usage option for journalctl
Dave Reisner [Fri, 26 Oct 2012 15:25:17 +0000 (11:25 -0400)]
bash-compleiton: add missing --disk-usage option for journalctl

6 years agoutil: return the remaining string in startswith()
Lennart Poettering [Fri, 26 Oct 2012 23:20:01 +0000 (01:20 +0200)]
util: return the remaining string in startswith()

6 years agocoredumpctl: add 'gdb' verb to start gdb right-away on a collected coredump
Lennart Poettering [Fri, 26 Oct 2012 23:19:47 +0000 (01:19 +0200)]
coredumpctl: add 'gdb' verb to start gdb right-away on a collected coredump

6 years agocoredumpctl: show timestamps in list
Lennart Poettering [Fri, 26 Oct 2012 18:34:39 +0000 (20:34 +0200)]
coredumpctl: show timestamps in list

6 years agojournal: special case the trivial cache chain cache entry
Lennart Poettering [Fri, 26 Oct 2012 18:25:36 +0000 (20:25 +0200)]
journal: special case the trivial cache chain cache entry

6 years agocoredumpctl: optimize journal entry parsing a bit by enumerating only once
Lennart Poettering [Fri, 26 Oct 2012 18:25:10 +0000 (20:25 +0200)]
coredumpctl: optimize journal entry parsing a bit by enumerating only once

6 years agocoredumpctl: initialize global vars
Lennart Poettering [Fri, 26 Oct 2012 18:23:28 +0000 (20:23 +0200)]
coredumpctl: initialize global vars

6 years agojournal: provide an API that allows client to figure out whether they need to recheck...
Lennart Poettering [Fri, 26 Oct 2012 18:05:19 +0000 (20:05 +0200)]
journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals

Network file systems generally do not offer inotify() that would work
across the network. We hence cannot rely on inotify() exclusiely in
those case. Provide an API to determine these cases, and suggest doing
manual regular rechecks.

Note that this is not complete yet, as we need to rescan journal dirs on
network file systems explicitly to find new/removed files

6 years agojournal: fix parsing of monotonic kernel timestamps
Lennart Poettering [Fri, 26 Oct 2012 12:55:03 +0000 (14:55 +0200)]
journal: fix parsing of monotonic kernel timestamps

6 years agokeymap: Add HP EliteBook 8440p
Martin Pitt [Fri, 26 Oct 2012 04:31:14 +0000 (06:31 +0200)]
keymap: Add HP EliteBook 8440p

Thanks to Glen Ditchfield <gjditchfield@acm.org>!

https://launchpad.net/bugs/1071579

6 years agoupdate TODO
Lennart Poettering [Fri, 26 Oct 2012 01:51:10 +0000 (03:51 +0200)]
update TODO

6 years agoudev: builtin - do not fail builtin initialization if one of them returns an error
Kay Sievers [Fri, 26 Oct 2012 01:43:56 +0000 (03:43 +0200)]
udev: builtin - do not fail builtin initialization if one of them returns an error

6 years agojournal: introduce entry array chain cache
Lennart Poettering [Fri, 26 Oct 2012 01:24:03 +0000 (03:24 +0200)]
journal: introduce entry array chain cache

When traversing entry array chains for a bisection or for retrieving an
item by index we previously always started at the beginning of the
chain. Since we tend to look at the same chains repeatedly, let's cache
where we have been the last time, and maybe we can skip ahead with this
the next time.

This turns most bisections and index lookups from O(log(n)*log(n)) into
O(log(n)). More importantly however, we seek around on disk much less,
which is good to reduce buffer cache and seek times on rotational disks.

6 years agotest: extend test-send to send some weirder data
Lennart Poettering [Thu, 25 Oct 2012 23:08:08 +0000 (01:08 +0200)]
test: extend test-send to send some weirder data

6 years agojournal: properly determine cutoff max date
Lennart Poettering [Thu, 25 Oct 2012 23:07:41 +0000 (01:07 +0200)]
journal: properly determine cutoff max date

6 years agoman: minor updates
Lennart Poettering [Thu, 25 Oct 2012 23:07:07 +0000 (01:07 +0200)]
man: minor updates

6 years agoupdate TODO
Lennart Poettering [Thu, 25 Oct 2012 23:06:50 +0000 (01:06 +0200)]
update TODO

6 years agoman: fix example
Lennart Poettering [Thu, 25 Oct 2012 23:06:43 +0000 (01:06 +0200)]
man: fix example

6 years agosysctl: parse all keys in a config file
Michal Sekletar [Thu, 25 Oct 2012 14:16:19 +0000 (16:16 +0200)]
sysctl: parse all keys in a config file

https://bugzilla.redhat.com/show_bug.cgi?id=869779

6 years agoudev: kmod - fix typo
Kay Sievers [Thu, 25 Oct 2012 22:28:23 +0000 (00:28 +0200)]
udev: kmod - fix typo

6 years agoman: typo fixes
Thomas Hindoe Paaboel Andersen [Thu, 25 Oct 2012 22:16:47 +0000 (00:16 +0200)]
man: typo fixes

https://bugs.freedesktop.org/show_bug.cgi?id=55890

Fixed typos, serial comma, and removed "either" as there were more
than two options. Also did an extra rename of "system-shutdown"
to "systemd-shutdown" that was forgotten in commit
8bd3b8620c80d0f2383f2fb04315411fc8077ca1

6 years agoudev: kmod, hwdb - do not fail if databases are not available
Kay Sievers [Thu, 25 Oct 2012 20:58:02 +0000 (22:58 +0200)]
udev: kmod, hwdb - do not fail if databases are not available

6 years agoudev: hwdb - exit if no database is available
Kay Sievers [Thu, 25 Oct 2012 20:22:29 +0000 (22:22 +0200)]
udev: hwdb - exit if no database is available

6 years agorules: fix usb_id/hwdb mixup in tty-description.rules
Kay Sievers [Thu, 25 Oct 2012 20:17:05 +0000 (22:17 +0200)]
rules: fix usb_id/hwdb mixup in tty-description.rules

<grawity> btw, in 15ce372b75a "call 'hwdb' with --subsystem=" you
  actually added "usb_id --subsystem=usb" (75-tty-description.rules)
<kay> ouch :)

6 years agoudev: hwdb validate() return when the database is not opened
Kay Sievers [Thu, 25 Oct 2012 20:08:33 +0000 (22:08 +0200)]
udev: hwdb validate() return when the database is not opened

6 years agoudev: hwdb - remove run_once
Kay Sievers [Thu, 25 Oct 2012 19:40:01 +0000 (21:40 +0200)]
udev: hwdb - remove run_once

6 years agoudev: hwdb - properly initialize search structure
Kay Sievers [Thu, 25 Oct 2012 19:39:01 +0000 (21:39 +0200)]
udev: hwdb - properly initialize search structure

6 years agorules: call hwdb for all devices with a 'modalias'
Kay Sievers [Thu, 25 Oct 2012 19:34:46 +0000 (21:34 +0200)]
rules: call hwdb for all devices with a 'modalias'

6 years agorules: call 'hwdb' with --subsystem= where appropriate
Kay Sievers [Thu, 25 Oct 2012 19:33:22 +0000 (21:33 +0200)]
rules: call 'hwdb' with --subsystem= where appropriate

6 years agoudev: hwdb: add acpi/pnp vendor description file
Kay Sievers [Thu, 25 Oct 2012 19:32:22 +0000 (21:32 +0200)]
udev: hwdb: add acpi/pnp vendor description file

6 years agoudev: set optind = 0, not the usual 1, to reset getopt_long()s internal state
Kay Sievers [Thu, 25 Oct 2012 19:31:38 +0000 (21:31 +0200)]
udev: set optind = 0, not the usual 1, to reset getopt_long()s internal state

6 years agojob: avoid recursion into transaction code from job cancelation
Michal Schmidt [Thu, 25 Oct 2012 00:31:49 +0000 (02:31 +0200)]
job: avoid recursion into transaction code from job cancelation

I hit an "assert(j->installed)" failure in transaction_apply(). Looking
into the backtrace I saw what happened:
1. The system was booting. var.mount/start was an installed job.
2. I pressed Ctrl+Alt+Del.
3. reboot.target was going to be isolated.
4. transaction_apply() proceeded to install a var.mount/stop job.
5. job_install() canceled the conflicting start job.
6. Depending jobs ended recursively with JOB_DEPENDENCY, among them was
   local-fs.target/start.
7. Its OnFailure action triggered - emergency.target was now going to be
   isolated.
8. We recursed back into transaction_apply() where the half-installed
   var.mount/stop job confused us.

Recursing from job installation back into the transaction code cannot be
a good idea. Avoid the problem by canceling the conflicting job
non-recursively in job_install(). I don't think we'll miss anything by
not recursing here. After all, we are called from transaction_apply().
We will not be installing just this one job, but all jobs from a
transaction. All requirement dependencies will be included in it and
will be installed separately. Every transaction job will get a chance
to cancel its own conflicting installed job.

6 years agojob: add comments to JobResult values
Michal Schmidt [Wed, 24 Oct 2012 23:22:22 +0000 (01:22 +0200)]
job: add comments to JobResult values

6 years agoupdate TODO
Lennart Poettering [Wed, 24 Oct 2012 23:20:18 +0000 (01:20 +0200)]
update TODO

6 years agojournal: properly serialize fields with multiple values into JSON
Lennart Poettering [Wed, 24 Oct 2012 23:19:24 +0000 (01:19 +0200)]
journal: properly serialize fields with multiple values into JSON

This now matches the JSON serialization spec from:

http://www.freedesktop.org/wiki/Software/systemd/json

6 years agoremove Fedora hostname, locale, vconsole legacy file support
Kay Sievers [Wed, 24 Oct 2012 01:51:06 +0000 (03:51 +0200)]
remove Fedora hostname, locale, vconsole legacy file support

6 years agoman: udev - add 'udevadm hwdb --update'
Kay Sievers [Wed, 24 Oct 2012 00:10:03 +0000 (02:10 +0200)]
man: udev - add 'udevadm hwdb --update'

6 years agojournalctl: remove left-over log message
Lennart Poettering [Tue, 23 Oct 2012 23:05:55 +0000 (01:05 +0200)]
journalctl: remove left-over log message

6 years agoupdate TODO
Lennart Poettering [Tue, 23 Oct 2012 23:05:40 +0000 (01:05 +0200)]
update TODO

6 years agounits: don't order tmp.monut after local-fs-pre.target
Tom Gundersen [Tue, 23 Oct 2012 20:33:00 +0000 (22:33 +0200)]
units: don't order tmp.monut after local-fs-pre.target

Since tmp.mount is a tmpfs this is not necesary, and should speed up boot marginally.

6 years agoman: fix typo in tmpfiles.d
Tom Gundersen [Tue, 23 Oct 2012 20:15:05 +0000 (22:15 +0200)]
man: fix typo in tmpfiles.d

Reported-by: Jason St. John <jstjohn@purdue.edu>
6 years agotmpfiles: allow Age to be set to 0
Tom Gundersen [Mon, 3 Sep 2012 13:07:32 +0000 (15:07 +0200)]
tmpfiles: allow Age to be set to 0

Mostly useful for testing purposes. Setting Age to 1s works just as
well, but it is surprising that using 0s (or just 0) does not work.

Also clarify this in the documentation.

6 years agoupdate TODO
Lennart Poettering [Tue, 23 Oct 2012 15:13:01 +0000 (17:13 +0200)]
update TODO

6 years agocgls: correctly ellipsize command lines for PIDs >= 1000000
Mantas Mikulėnas [Fri, 19 Oct 2012 17:15:25 +0000 (20:15 +0300)]
cgls: correctly ellipsize command lines for PIDs >= 1000000

6 years agorules: Remove HP iLO from USB HID PM rules
Tony Camuso [Mon, 22 Oct 2012 13:40:30 +0000 (09:40 -0400)]
rules: Remove HP iLO from USB HID PM rules

HP iLO fw versions below 1.50 incorrectly report that HP iLO virtual
Kbd/Mouse supports remote wakeup. With the rules change in commit
3bfc7a97b1824fcdfb738617d9a5450a20a22a0f, the HP iLO was listed for
power control.

In iLO fw versions less than 1.50, the iLO Kbd/Mouse become unresponsive
once they are suspended. HP iLO fw versions 1.50+ correctly report that
they don't support remote wakeup, which makes the rules moot in any case.

6 years agoudev: add hardware database support
Kay Sievers [Mon, 22 Oct 2012 16:23:08 +0000 (18:23 +0200)]
udev: add hardware database support

6 years agobuild-sys: add check for microhttpd version
Zbigniew Jędrzejewski-Szmek [Tue, 23 Oct 2012 13:35:34 +0000 (15:35 +0200)]
build-sys: add check for microhttpd version

6 years agoman: reword journalctl -n description
Zbigniew Jędrzejewski-Szmek [Tue, 23 Oct 2012 09:10:51 +0000 (11:10 +0200)]
man: reword journalctl -n description

6 years agoman: the corresponding LSB facility to rpcbind.target is $portmap
Michael Biebl [Tue, 23 Oct 2012 00:32:03 +0000 (02:32 +0200)]
man: the corresponding LSB facility to rpcbind.target is $portmap

6 years agoupdate contributors list v195
Lennart Poettering [Tue, 23 Oct 2012 00:03:10 +0000 (02:03 +0200)]
update contributors list

6 years agoupdate TODO
Lennart Poettering [Mon, 22 Oct 2012 23:53:23 +0000 (01:53 +0200)]
update TODO

6 years agomount: make sure m->where is set before unit_add_exec_dependencies()
Will Woods [Tue, 16 Oct 2012 21:04:34 +0000 (17:04 -0400)]
mount: make sure m->where is set before unit_add_exec_dependencies()

If you enter unit_add_exec_dependencies with m->where = NULL, you'll
very likely end up aborting somewhere under socket_needs_mount.

(When systemd goes to check to see if the journald socket requires your
mount, it'll do path_startswith(path, m->where)... *kaboom*)

This patch should ensure that:

    a) both branches in mount_add_one() set m->where, and
    b) mount_add_extras() calls unit_add_exec_dependencies() *after*
       setting m->where.

6 years agounits: use numerig signal for killing systemd, to avoid incompatibilities with procps...
Lennart Poettering [Mon, 22 Oct 2012 22:11:59 +0000 (00:11 +0200)]
units: use numerig signal for killing systemd, to avoid incompatibilities with procps/util-linux kill

6 years agounits: also add journalctl suggestion to emergency.service
Lennart Poettering [Mon, 22 Oct 2012 22:03:26 +0000 (00:03 +0200)]
units: also add journalctl suggestion to emergency.service

More often than not we enter emergency.service due to fsck failure, so
it makes sense to direct people to the journal to debug those.

6 years agounits: suggest journalctl -b in rescue.service so that only messages from the current...
Lennart Poettering [Mon, 22 Oct 2012 22:03:04 +0000 (00:03 +0200)]
units: suggest journalctl -b in rescue.service so that only messages from the current boot are shown

6 years agosystemctl: refer to systemctl -n, to not overwhelm the admin
Lennart Poettering [Mon, 22 Oct 2012 22:02:24 +0000 (00:02 +0200)]
systemctl: refer to systemctl -n, to not overwhelm the admin

6 years agobuild-sys: prepare 195
Lennart Poettering [Mon, 22 Oct 2012 22:01:47 +0000 (00:01 +0200)]
build-sys: prepare 195

6 years agoupdate TODO
Lennart Poettering [Mon, 22 Oct 2012 21:24:09 +0000 (23:24 +0200)]
update TODO

6 years agoreadahead: fix fd validity check
Michal Schmidt [Mon, 22 Oct 2012 20:07:31 +0000 (22:07 +0200)]
readahead: fix fd validity check

https://bugzilla.redhat.com/show_bug.cgi?id=868603

6 years agoshared: strbuf - add descriprion
Kay Sievers [Mon, 22 Oct 2012 16:21:12 +0000 (18:21 +0200)]
shared: strbuf - add descriprion

6 years agoshared: move sparse-endian.h from journal
Kay Sievers [Mon, 22 Oct 2012 16:08:48 +0000 (18:08 +0200)]
shared: move sparse-endian.h from journal

6 years agobuild-sys: fix distcheck
Kay Sievers [Mon, 22 Oct 2012 15:20:18 +0000 (17:20 +0200)]
build-sys: fix distcheck

6 years agoshared: strbuf - add description
Kay Sievers [Mon, 22 Oct 2012 14:54:14 +0000 (16:54 +0200)]
shared: strbuf - add description

6 years agoudev: use strbuf to store rules strings
Kay Sievers [Mon, 22 Oct 2012 14:28:04 +0000 (16:28 +0200)]
udev: use strbuf to store rules strings

6 years agoshared: strbuf - add string de-duplication facility
Kay Sievers [Mon, 22 Oct 2012 14:27:00 +0000 (16:27 +0200)]
shared: strbuf - add string de-duplication facility

6 years agoupdate .gitignore
Kay Sievers [Mon, 22 Oct 2012 12:33:35 +0000 (14:33 +0200)]
update .gitignore

6 years agoutil: add (x)bsearch_r(), the missing counterpart of qsort_r()
Kay Sievers [Mon, 22 Oct 2012 12:31:46 +0000 (14:31 +0200)]
util: add (x)bsearch_r(), the missing counterpart of qsort_r()

6 years agobash-completion: update journalctl for recently added flags
Dave Reisner [Sun, 21 Oct 2012 15:12:52 +0000 (11:12 -0400)]
bash-completion: update journalctl for recently added flags

Fixes a few minor bugs as well with flags which take arguments but for
which the values can never be known.

6 years agoconfigure.ac: fix typo in fallback value for KILL
Dave Reisner [Sun, 21 Oct 2012 12:33:33 +0000 (08:33 -0400)]
configure.ac: fix typo in fallback value for KILL

6 years agohostnamectl: add more really basic system info to the status output
Lennart Poettering [Sun, 21 Oct 2012 01:35:33 +0000 (03:35 +0200)]
hostnamectl: add more really basic system info to the status output

6 years agoman: add man page for localectl
Lennart Poettering [Sun, 21 Oct 2012 01:35:00 +0000 (03:35 +0200)]
man: add man page for localectl

6 years agojournal: use le64_t instead of uint64_t where this is appropriate
Lennart Poettering [Sat, 20 Oct 2012 15:10:32 +0000 (17:10 +0200)]
journal: use le64_t instead of uint64_t where this is appropriate

6 years agobash-completion: avoid appending space after field competion
Dave Reisner [Sat, 20 Oct 2012 22:36:06 +0000 (18:36 -0400)]
bash-completion: avoid appending space after field competion

Resolves the TODO, and also uses compgen's -S flag to append the
trailing equals, rather than relying on an array-wide parameter
expansion.

Suggested-by: Ran Benita <ran234@gmail.com>
6 years agobash-completion: ensure iterators are locally scoped
Dave Reisner [Sat, 20 Oct 2012 21:54:08 +0000 (17:54 -0400)]
bash-completion: ensure iterators are locally scoped

Avoids leaking the 'i' variable to the user's shell session.

6 years agobash-completion: add completions for hostnamectl
Dave Reisner [Sat, 20 Oct 2012 21:48:11 +0000 (17:48 -0400)]
bash-completion: add completions for hostnamectl

6 years agojournal: link up documentation with the file structure header
Lennart Poettering [Sat, 20 Oct 2012 15:00:57 +0000 (17:00 +0200)]
journal: link up documentation with the file structure header

6 years agoupdate TODO
Lennart Poettering [Sat, 20 Oct 2012 15:00:29 +0000 (17:00 +0200)]
update TODO

6 years agobash-completion: add completions for localectl
Dave Reisner [Sat, 20 Oct 2012 12:13:21 +0000 (08:13 -0400)]
bash-completion: add completions for localectl

6 years agobash-completion: add completions for timedatectl
Dave Reisner [Sat, 20 Oct 2012 12:02:44 +0000 (08:02 -0400)]
bash-completion: add completions for timedatectl

6 years agoshared/install: fix typo in comment
Christian Hesse [Wed, 17 Oct 2012 14:06:51 +0000 (16:06 +0200)]
shared/install: fix typo in comment

6 years agosystemctl: fix return code in chroot
Christian Hesse [Wed, 17 Oct 2012 14:03:49 +0000 (16:03 +0200)]
systemctl: fix return code in chroot

If 'systemctl enable' (and friends) is run inside chroot it always
exits with a bad return code. unit_file_enable() returns the number of
symlink rules that were supposed to be created. So resetting r to 0 and
exiting gracefully should be the correct way.

6 years agomake sure __NR_name_to_handle_at is correctly defined
Michael Olbrich [Thu, 18 Oct 2012 11:55:13 +0000 (13:55 +0200)]
make sure __NR_name_to_handle_at is correctly defined

341 is only valid for x86, so don't use it for other architectures.
Add the correct numbers for ARM and PowerPC while at it.

6 years agorandom-seed: fix error message typo
Umut Tezduyar [Fri, 19 Oct 2012 15:23:41 +0000 (17:23 +0200)]
random-seed: fix error message typo

The file node is /dev/urandom, not /dev/random.

6 years agojournal: add tool to extract coredumps
Zbigniew Jędrzejewski-Szmek [Fri, 19 Oct 2012 10:29:46 +0000 (12:29 +0200)]
journal: add tool to extract coredumps

'systemd-coredumpctl' will list available coredumps:
   PID   UID   GID sig exe
 32452  500  500  11 /home/zbyszek/systemd/build/journalctl
 32666  500  500  11 /usr/lib64/valgrind/memcheck-amd64-linux
...

'systemd-coredumpctl dump PID' will write the coredump
to specified file or stdout.

6 years agokeymap: Tolerate invalid entries in keymaps
Martin Pitt [Fri, 19 Oct 2012 06:03:09 +0000 (08:03 +0200)]
keymap: Tolerate invalid entries in keymaps

Some keymaps apply to a large range of computer models, not all of which have
all of the scan codes in the maps. If a single scan code is invalid, do not
abort but continue with the next entry in the map. Instead just show the error
message for that particular scan code, to help with debugging.

6 years agokeymap: Fix parsing of hex scan codes in tables
Martin Pitt [Fri, 19 Oct 2012 06:01:47 +0000 (08:01 +0200)]
keymap: Fix parsing of hex scan codes in tables

Commit b1f87c76b1 changed sscanf from %i to %u, as scan codes are unsigned
numbers which can be > 0x7FFFFFFF. However, sscanf doesn't accept hexadecimal
numbers for %u. It works fine with %i, so revert this back.

6 years agoREADME.keymap.txt: Drop fdi2rules.py documentation
Martin Pitt [Fri, 19 Oct 2012 05:41:09 +0000 (07:41 +0200)]
README.keymap.txt: Drop fdi2rules.py documentation

This was removed ages ago.

6 years agolocale: add client tool localectl similar to hostnamectl/timedatectl
Lennart Poettering [Fri, 19 Oct 2012 02:55:49 +0000 (04:55 +0200)]
locale: add client tool localectl similar to hostnamectl/timedatectl

6 years agosystemctl: modernization
Lennart Poettering [Fri, 19 Oct 2012 02:53:12 +0000 (04:53 +0200)]
systemctl: modernization

6 years agoutil: change endswith() to return a pointer to the suffix
Lennart Poettering [Fri, 19 Oct 2012 02:52:51 +0000 (04:52 +0200)]
util: change endswith() to return a pointer to the suffix

6 years agoset: introduce strv_sort()
Lennart Poettering [Fri, 19 Oct 2012 02:52:25 +0000 (04:52 +0200)]
set: introduce strv_sort()

6 years agoset: introduce set_get_strv()
Lennart Poettering [Fri, 19 Oct 2012 02:52:14 +0000 (04:52 +0200)]
set: introduce set_get_strv()

6 years agotimedatectl,hostnamectl: rework --help text
Lennart Poettering [Fri, 19 Oct 2012 02:51:53 +0000 (04:51 +0200)]
timedatectl,hostnamectl: rework --help text

6 years agoUpdate TODO
Lennart Poettering [Thu, 18 Oct 2012 22:58:31 +0000 (00:58 +0200)]
Update TODO

6 years agojournald.conf: remove MinSize= settings
Lennart Poettering [Thu, 18 Oct 2012 22:56:42 +0000 (00:56 +0200)]
journald.conf: remove MinSize= settings

There's no point in making this configurable, so let's drop it in order
to simplify configuration a bit.

6 years agosystemctl: remove --follow option
Lennart Poettering [Thu, 18 Oct 2012 22:12:46 +0000 (00:12 +0200)]
systemctl: remove --follow option

Given that "journalctl -u" exists now there's no need to duplicate this
functionality in systemctl, so let's drop this, especially given that it
always felt a bit awkward to overload "-f" to both --force and --follow,
and to have continues output with a status header for this.

        systemctl status -f avahi-daemon

now becomes:

        journalctl -fu avahi-daemon

Which is shorter and a lot less redundant.

6 years agoutil: unify line caching and column caching
Lennart Poettering [Thu, 18 Oct 2012 22:06:47 +0000 (00:06 +0200)]
util: unify line caching and column caching

6 years agoutil: unify usage of on_tty() in util.c
Lennart Poettering [Thu, 18 Oct 2012 21:59:41 +0000 (23:59 +0200)]
util: unify usage of on_tty() in util.c