Bug#790262: systemd: warns that service changes on disk instead of just reloading
brian m. carlson
sandals at crustytoothpaste.net
Sat Jun 27 20:15:19 BST 2015
Package: systemd
Version: 220-7
Severity: normal
If I edit a file on disk, and then attempt to use service to restart it,
systemd warns but does not reload the file:
castro ok % sudo service krb5-kdc restart
Warning: krb5-kdc.service changed on disk. Run 'systemctl daemon-reload' to reload units.
^C%
When I invoked service, I expected systemd to just reload the unit
instead of warning me that it had changed. After all, I wouldn't have
edited the file unless I wanted systemd to do something different with
the service. systemd should just reload the file (or files)
automatically, since that's what the user expects to happen; the
behavior is also consistent with sysvinit.
-- Package-specific info:
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii adduser 3.113+nmu3
ii libacl1 2.2.52-2
ii libapparmor1 2.9.2-3
ii libaudit1 1:2.4.2-1
ii libblkid1 2.26.2-6
ii libc6 2.19-18
ii libcap2 1:2.24-9
ii libcap2-bin 1:2.24-9
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2
ii libkmod2 20-1
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libmount1 2.26.2-6
ii libpam0g 1.1.8-3.1
ii libseccomp2 2.2.1-2
ii libselinux1 2.3-2+b1
ii libsystemd0 220-7
ii mount 2.26.2-6
ii sysv-rc 2.88dsf-59.2
ii udev 220-7
ii util-linux 2.26.2-6
Versions of packages systemd recommends:
ii dbus 1.8.18-1
ii libpam-systemd 220-7
Versions of packages systemd suggests:
pn systemd-ui <none>
-- Configuration Files:
/etc/systemd/system.conf changed [not included]
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150627/14b56e00/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list