systemd:start

Systemd

cifs mit Systemd-Automount

fstab

# share        mountpoint   type   options                                                                                                                                                   dump   fsck
//host/share   /net/share   cifs   noauto,nofail,x-systemd.automount,x-systemd.requires=network-online.target,x-systemd.device-timeout=10,workgroup=workgroup,credentials=/foo/credentials   0      0

fstab von systemd neu einlesen, aktiv setzen

# systemctl daemon-reload

und

# systemctl restart remote-fs.target

Zeitserver mit timesyncd

Fehlermeldung:

Feb 11 15:26:51 ×××× systemd-timesyncd[541]: Timed out waiting for reply from 198.60.22.240:123 0.debian.pool.ntp.org).
Feb 11 15:27:01 ×××× systemd-timesyncd[541]: Timed out waiting for reply from 158.69.226.90:123 (0.debian.pool.ntp.org).
Feb 11 15:27:11 ×××× systemd-timesyncd[541]: Timed out waiting for reply from 136.243.177.133:123 (1.debian.pool.ntp.org).

Status:

# timedatectl
      Local time: So 2018-02-11 15:39:37 CET
  Universal time: So 2018-02-11 14:39:37 UTC
        RTC time: So 2018-02-11 14:39:33
       Time zone: Europe/Berlin (CET, +0100)
 Network time on: yes
NTP synchronized: no
 RTC in local TZ: no

Eintragen des Zeitservers in /etc/systemd/timesyncd.conf:

[Time]
# compile time defaults:
# NTP=
# FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org

NTP=×××.×××.×.××

Herumprobieren:

# timedatectl set-ntp true
# timedatectl
      Local time: So 2018-02-11 16:19:40 CET
  Universal time: So 2018-02-11 15:19:40 UTC
        RTC time: So 2018-02-11 15:19:40
       Time zone: Europe/Berlin (CET, +0100)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no
# systemctl status systemd-timesyncd                                                      
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: active (running) since Sun 2018-02-11 16:12:03 CET; 6h ago
     Docs: man:systemd-timesyncd.service(8)
 Main PID: 3562 (systemd-timesyn)
   Status: "Synchronized to time server ×××.×××.×.××:××× (×××.×××.×.××)."
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/systemd-timesyncd.service
           └─3562 /lib/systemd/systemd-timesyncd

Feb 11 16:36:36 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 17:05:46 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 17:09:09 ×××× systemd-timesyncd[3562]: Timed out waiting for reply from ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 17:41:23 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 18:50:12 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 19:04:34 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 20:19:22 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 21:13:51 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 21:54:54 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
Feb 11 22:30:46 ×××× systemd-timesyncd[3562]: Synchronized to time server ×××.×××.×.××:123 (×××.×××.×.××).
systemd/start.txt · Zuletzt geändert: 2019/08/04 23:14 von michael

Seiten-Werkzeuge