Compare commits

...

4 Commits

Author SHA1 Message Date
Norbert Lange aaaf42cb44 units: add mount for tracefs
Kernel 4.1 separated the tracing system from the debugfs,
actual documentation already points to a different path
that needs this new mount to exist.

the old sysfs path will still be an automount in the debugfs,
created by the kernel (for now).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
2020-02-26 23:40:44 +01:00
Mark Deneen 6dea2361dc typo: stringy -> string 2020-02-26 23:39:00 +01:00
Yu Watanabe 6ed8c09a40 po: update Japanese translation of "home area" 2020-02-26 23:37:11 +01:00
Yu Watanabe 7c7c44855e userdb: fix memleak
Fixes #14947.
2020-02-27 00:32:33 +03:00
5 changed files with 39 additions and 14 deletions

View File

@ -155,7 +155,7 @@
<row> <row>
<entry><literal>o</literal></entry> <entry><literal>o</literal></entry>
<entry><constant>SD_BUS_TYPE_OBJECT_PATH</constant></entry> <entry><constant>SD_BUS_TYPE_OBJECT_PATH</constant></entry>
<entry>D-Bus object path stringy</entry> <entry>D-Bus object path string</entry>
<entry><type>const char **</type></entry> <entry><type>const char **</type></entry>
</row> </row>

View File

@ -62,52 +62,52 @@ msgstr "systemdの状態を再読込するには認証が必要です。"
#: src/home/org.freedesktop.home1.policy:13 #: src/home/org.freedesktop.home1.policy:13
msgid "Create a home area" msgid "Create a home area"
msgstr "ホームディレクトリの作成" msgstr "ホーム領域の作成"
#: src/home/org.freedesktop.home1.policy:14 #: src/home/org.freedesktop.home1.policy:14
msgid "Authentication is required to creat a user's home area." msgid "Authentication is required to creat a user's home area."
msgstr "ユーザのホームディレクトリを作成するには認証が必要です。" msgstr "ユーザのホーム領域を作成するには認証が必要です。"
#: src/home/org.freedesktop.home1.policy:23 #: src/home/org.freedesktop.home1.policy:23
msgid "Remove a home area" msgid "Remove a home area"
msgstr "ホームディレクトリの削除" msgstr "ホーム領域の削除"
#: src/home/org.freedesktop.home1.policy:24 #: src/home/org.freedesktop.home1.policy:24
msgid "Authentication is required to remov a user's home area." msgid "Authentication is required to remov a user's home area."
msgstr "ユーザのホームディレクトリの削除には認証が必要です。" msgstr "ユーザのホーム領域の削除には認証が必要です。"
#: src/home/org.freedesktop.home1.policy:33 #: src/home/org.freedesktop.home1.policy:33
msgid "Check credentials of a home area" msgid "Check credentials of a home area"
msgstr "ホームディレクトリの認証情報の確認" msgstr "ホーム領域の認証情報の確認"
#: src/home/org.freedesktop.home1.policy:34 #: src/home/org.freedesktop.home1.policy:34
msgid "" msgid ""
"Authentication is required to check credentials against a user's home area." "Authentication is required to check credentials against a user's home area."
msgstr "ユーザのホームディレクトリに対する認証情報の確認には認証が必要です。" msgstr "ユーザのホーム領域に対する認証情報の確認には認証が必要です。"
#: src/home/org.freedesktop.home1.policy:43 #: src/home/org.freedesktop.home1.policy:43
msgid "Update a home area" msgid "Update a home area"
msgstr "ホームディレクトリの更新" msgstr "ホーム領域の更新"
#: src/home/org.freedesktop.home1.policy:44 #: src/home/org.freedesktop.home1.policy:44
msgid "Authentication is required to updat a user's home area." msgid "Authentication is required to updat a user's home area."
msgstr "ユーザのホームディレクトリの更新には認証が必要です。" msgstr "ユーザのホーム領域の更新には認証が必要です。"
#: src/home/org.freedesktop.home1.policy:53 #: src/home/org.freedesktop.home1.policy:53
msgid "Resize a home area" msgid "Resize a home area"
msgstr "ホームディレクトリのサイズ変更" msgstr "ホーム領域のサイズ変更"
#: src/home/org.freedesktop.home1.policy:54 #: src/home/org.freedesktop.home1.policy:54
msgid "Authentication is required to resiz a user's home area." msgid "Authentication is required to resiz a user's home area."
msgstr "ユーザのホームディレクトリのサイズ変更には認証が必要です。" msgstr "ユーザのホーム領域のサイズ変更には認証が必要です。"
#: src/home/org.freedesktop.home1.policy:63 #: src/home/org.freedesktop.home1.policy:63
msgid "Change password of a home area" msgid "Change password of a home area"
msgstr "ホームディレクトリのパスワード変更" msgstr "ホーム領域のパスワード変更"
#: src/home/org.freedesktop.home1.policy:64 #: src/home/org.freedesktop.home1.policy:64
msgid "Authentication is required to chang the password of a user's home area." msgid "Authentication is required to chang the password of a user's home area."
msgstr "ユーザのホームディレクトリのパスワードを変更するには認証が必要です。" msgstr "ユーザのホーム領域のパスワードを変更するには認証が必要です。"
#: src/hostname/org.freedesktop.hostname1.policy:20 #: src/hostname/org.freedesktop.hostname1.policy:20
msgid "Set host name" msgid "Set host name"

View File

@ -699,7 +699,7 @@ static int parse_argv(int argc, char *argv[]) {
if (isempty(optarg)) if (isempty(optarg))
arg_services = strv_free(arg_services); arg_services = strv_free(arg_services);
else { else {
char **l; _cleanup_strv_free_ char **l = NULL;
l = strv_split(optarg, ":"); l = strv_split(optarg, ":");
if (!l) if (!l)

View File

@ -78,6 +78,8 @@ units = [
'sysinit.target.wants/'], 'sysinit.target.wants/'],
['sys-kernel-debug.mount', '', ['sys-kernel-debug.mount', '',
'sysinit.target.wants/'], 'sysinit.target.wants/'],
['sys-kernel-tracing.mount', '',
'sysinit.target.wants/'],
['sysinit.target', ''], ['sysinit.target', ''],
['syslog.socket', ''], ['syslog.socket', ''],
['system-systemd\\x2dcryptsetup.slice', 'HAVE_LIBCRYPTSETUP'], ['system-systemd\\x2dcryptsetup.slice', 'HAVE_LIBCRYPTSETUP'],

View File

@ -0,0 +1,23 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Kernel Trace File System
Documentation=https://www.kernel.org/doc/Documentation/trace/ftrace.txt
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
DefaultDependencies=no
ConditionPathExists=/sys/kernel/tracing
ConditionCapability=CAP_SYS_RAWIO
Before=sysinit.target
[Mount]
What=tracefs
Where=/sys/kernel/tracing
Type=tracefs
Options=nosuid,nodev,noexec