From 18b754d345ecb0b15e369978aaffa72e9814b86a Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 30 Mar 2012 23:18:33 +0200 Subject: [PATCH] rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.conf --- Makefile.am | 44 +++---------------- NEWS | 9 ++++ TODO | 1 + man/journalctl.xml | 3 +- ...md-journald.conf.xml => journald.conf.xml} | 10 ++--- man/loginctl.xml | 3 +- ...ystemd-logind.conf.xml => logind.conf.xml} | 10 ++--- man/pam_systemd.xml | 4 +- man/systemctl.xml | 1 - src/journal/journald.c | 2 +- .../{systemd-journald.conf => journald.conf} | 0 src/login/logind.c | 2 +- .../{systemd-logind.conf => logind.conf} | 2 +- 13 files changed, 34 insertions(+), 57 deletions(-) rename man/{systemd-journald.conf.xml => journald.conf.xml} (97%) rename man/{systemd-logind.conf.xml => logind.conf.xml} (96%) rename src/journal/{systemd-journald.conf => journald.conf} (100%) rename src/login/{systemd-logind.conf => logind.conf} (90%) diff --git a/Makefile.am b/Makefile.am index daa403098..3357264a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -685,24 +685,18 @@ MANPAGES = \ man/sysctl.d.5 \ man/systemd-ask-password.1 \ man/systemd-cat.1 \ - man/systemd-machine-id-setup.1 \ - man/systemd-journald.conf.5 \ - man/journalctl.1 + man/systemd-machine-id-setup.1 \ + man/journald.conf.5 \ + man/journalctl.1 MANPAGES_ALIAS = \ man/reboot.8 \ man/poweroff.8 \ - man/init.1 \ - man/systemd-systemctl.1 \ - man/systemd-loginctl.1 \ - man/systemd-journalctl.1 + man/init.1 man/reboot.8: man/halt.8 man/poweroff.8: man/halt.8 man/init.1: man/systemd.1 -man/systemd-systemctl.1: man/systemctl.1 -man/systemd-loginctl.1: man/loginctl.1 -man/systemd-journalctl.1: man/journalctl.1 XML_FILES = \ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} @@ -982,14 +976,6 @@ systemctl_LDADD = \ libsystemd-id128.la \ $(DBUS_LIBS) -systemctl-install-hook: - cd $(DESTDIR)$(rootbindir) && \ - rm -f systemd-systemctl && \ - $(LN_S) systemctl systemd-systemctl - -INSTALL_EXEC_HOOKS += \ - systemctl-install-hook - systemd_notify_SOURCES = \ src/notify.c \ src/readahead/sd-readahead.c @@ -1238,14 +1224,6 @@ journalctl_LDADD += \ $(XZ_LIBS) endif -journalctl-install-hook: - cd $(DESTDIR)$(rootbindir) && \ - rm -f systemd-journalctl && \ - $(LN_S) journalctl systemd-journalctl - -INSTALL_EXEC_HOOKS += \ - journalctl-install-hook - test_journal_SOURCES = \ src/journal/test-journal.c \ src/journal/sd-journal.c \ @@ -1344,7 +1322,7 @@ nodist_systemunit_DATA += \ units/systemd-journald.service dist_pkgsysconf_DATA += \ - src/journal/systemd-journald.conf + src/journal/journald.conf pkgconfiglib_DATA += \ src/journal/libsystemd-journal.pc @@ -1853,14 +1831,6 @@ loginctl_LDADD = \ rootbin_PROGRAMS += \ loginctl -loginctl-install-hook: - cd $(DESTDIR)$(rootbindir) && \ - rm -f systemd-loginctl && \ - $(LN_S) loginctl systemd-loginctl - -INSTALL_EXEC_HOOKS += \ - loginctl-install-hook - test_login_SOURCES = \ src/login/test-login.c @@ -1945,7 +1915,7 @@ dist_dbuspolicy_DATA += \ src/login/org.freedesktop.login1.conf dist_pkgsysconf_DATA += \ - src/login/systemd-logind.conf + src/login/logind.conf pkginclude_HEADERS += \ src/systemd/sd-login.h @@ -2022,7 +1992,7 @@ nodist_udevrules_DATA += \ src/login/73-seat-late.rules MANPAGES += \ - man/systemd-logind.conf.5 \ + man/logind.conf.5 \ man/sd-login.7 \ man/loginctl.1 \ man/sd_login_monitor_new.3 \ diff --git a/NEWS b/NEWS index 799137301..c82e637d0 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,14 @@ systemd System and Service Manager +CHANGES WITH: + * systemd-logingctl and systemd-journalctl have been renamed + to logingctl and journalctl to match systemctl. + + * The config files: /etc/systemd/systemd-logind.conf and + /etc/systemd/systemd-journald.conf have been renamed to + logind.conf and journald.conf. Package updates should rename + the files to the new names on upgrade. + CHANGES WITH 44: * This is mostly a bugfix release diff --git a/TODO b/TODO index de3b2d63a..d494c86ab 100644 --- a/TODO +++ b/TODO @@ -17,6 +17,7 @@ Bugfixes: * properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point. Features: +* cleanup syslog 'priority' vs. 'level' wording * dbus upstream still refers to dbus.target and shouldn't diff --git a/man/journalctl.xml b/man/journalctl.xml index efceefa43..f6e46cfbc 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -44,7 +44,6 @@ journalctl - systemd-journalctl Query the systemd journal @@ -254,7 +253,7 @@ systemd1, systemctl1, - systemd-journald.conf5 + journald.conf5 diff --git a/man/systemd-journald.conf.xml b/man/journald.conf.xml similarity index 97% rename from man/systemd-journald.conf.xml rename to man/journald.conf.xml index 37dae68b3..a9b0f66de 100644 --- a/man/systemd-journald.conf.xml +++ b/man/journald.conf.xml @@ -22,9 +22,9 @@ along with systemd; If not, see . --> - + - systemd-journald.conf + journald.conf systemd @@ -38,17 +38,17 @@ - systemd-journald.conf + journald.conf 5 - systemd-journald.conf + journald.conf Journal service configuration file - systemd-journald.conf + journald.conf diff --git a/man/loginctl.xml b/man/loginctl.xml index be72cc331..af1d631cf 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -44,7 +44,6 @@ loginctl - systemd-loginctl Control the systemd login manager @@ -451,7 +450,7 @@ systemd1, systemctl1, - systemd-logind.conf5 + logind.conf5 diff --git a/man/systemd-logind.conf.xml b/man/logind.conf.xml similarity index 96% rename from man/systemd-logind.conf.xml rename to man/logind.conf.xml index 27c11c290..950f81fa9 100644 --- a/man/systemd-logind.conf.xml +++ b/man/logind.conf.xml @@ -22,9 +22,9 @@ along with systemd; If not, see . --> - + - systemd-logind.conf + logind.conf systemd @@ -38,17 +38,17 @@ - systemd-logind.conf + logind.conf 5 - systemd-logind.conf + logind.conf Login manager configuration file - systemd-logind.conf + logind.conf diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index 883b50b64..c07b46bab 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -212,7 +212,7 @@ stricter version of KillUserProcesses=1 which may be configured system-wide in - systemd-logind.conf5. The + logind.conf5. The former kills processes of a session as soon as it ends, the latter kills processes as soon as the last session of the user ends. @@ -308,7 +308,7 @@ session required pam_systemd.so kill-session-processes=1 pam.d5, pam8, pam_loginuid8, - systemd-logind.conf5, + logind.conf5, systemd1 diff --git a/man/systemctl.xml b/man/systemctl.xml index 25b9266d4..968da84e3 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -44,7 +44,6 @@ systemctl - systemd-systemctl Control the systemd system and service manager diff --git a/src/journal/journald.c b/src/journal/journald.c index f0f5103bf..f341b8742 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -2584,7 +2584,7 @@ static int server_parse_config_file(Server *s) { assert(s); - fn = "/etc/systemd/systemd-journald.conf"; + fn = "/etc/systemd/journald.conf"; f = fopen(fn, "re"); if (!f) { if (errno == ENOENT) diff --git a/src/journal/systemd-journald.conf b/src/journal/journald.conf similarity index 100% rename from src/journal/systemd-journald.conf rename to src/journal/journald.conf diff --git a/src/login/logind.c b/src/login/logind.c index 7fd6515ff..777d91252 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1216,7 +1216,7 @@ static int manager_parse_config_file(Manager *m) { assert(m); - fn = "/etc/systemd/systemd-logind.conf"; + fn = "/etc/systemd/logind.conf"; f = fopen(fn, "re"); if (!f) { if (errno == ENOENT) diff --git a/src/login/systemd-logind.conf b/src/login/logind.conf similarity index 90% rename from src/login/systemd-logind.conf rename to src/login/logind.conf index a8d983350..24b9d77a6 100644 --- a/src/login/systemd-logind.conf +++ b/src/login/logind.conf @@ -5,7 +5,7 @@ # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # -# See systemd-logind.conf(5) for details +# See logind.conf(5) for details [Login] #NAutoVTs=6 -- 2.30.2