Monthly Archives: September 2016

bashrc vs. bash_profile

.bash_profile vs .bashrc
What’s the difference between .bashrc, .bash_profile, and .environment?

FreeBSD:

$ strings /usr/local/bin/bash | grep profile
noprofile
/etc/profile
~/.profile
~/.bash_profile

$ strings /usr/local/bin/bash | grep bashrc
~/.bashrc
if [ "$PS1" ]; then
  if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
    if [ -f /usr/local/etc/bash.bashrc ]; then
      . /usr/local/etc/bash.bashrc
    fi
  fi
fi

see also here

blog.bachi.net: Interactive vs. Login Shell

systemd

References

Raspberry Pi 3, Services


Tutorials

Systemd und SysVinit in der Praxis, Aus LinuxUser 10/2015
What is the difference between SysVinit and systemd?


YouTube

BeginLinux Guru

“systemd” Tutorials (Playlist)

Learn Linux TV

Systemd Deep-Dive: A Complete, Easy to Understand Guide for Everyone, 21.06.2023

tutoriaLinux

How to Create a systemd Linux Service, 24.05.2020
systemd on Linux 1: Intro and Unit Files, 26.06.2021
systemd on Linux 2: systemctl commands, 02.07.2021
systemd on Linux 3: Targets, 25.07.2021
systemd Dependencies & Ordering | systemd on Linux 4, 08.08.2021
Introduction to systemd timers, 31.01.2022


System V Daemons vs. systemd Daemons

How to Create a Minimal Systemd Daemon in C++

systemd forking vs simple

systemd forking vs simple?
Linux SystemD Services – Simple vs Forked – Downsides?
daemon — Writing and packaging system daemons (freedesktop.org)

System V: fork()

daemon.cpp, Useful as a starting point for a C++ based Linux daemon application


System V Daemons

What is the reason for performing a double fork when creating a daemon?
github.com/jirihnidek/daemon/blob/master/src/daemon.c

stdout/stderr/stdin

Re-opening stdout and stdin file descriptors after closing them
Using dup2() to redirect output


Problems

a start job is running for dev-disk-by

Slow boot – What is “A start job is running for dev-disk-by…” ?

[ TIME ] Timed out waiting for device dev-disk-by\x2duuid-8d7a135f\x2df36b\x2d4777\x2d82a7\x2dd22157834e05.device.
[DEPEND] Dependency failed for /dev/disk/by-uuid/8d7a135f-f36b-4777-82a7-d22157834e05.
[DEPEND] Dependency failed for Swap.
$ systemd-analyze critical-chain
Bootup is not yet finished. Please try again later.

<WAIT>

$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 38.814s
└─multi-user.target @1min 38.813s
  └─getty.target @1min 38.813s
    └─getty@tty1.service @1min 38.812s
      └─rc-local.service @1min 38.727s +3ms
        └─network-online.target @1min 38.702s
          └─NetworkManager-wait-online.service @1min 31.066s +7.634s
            └─NetworkManager.service @1min 30.894s +146ms
              └─dbus.service @1min 30.845s
                └─basic.target @1min 30.764s
                  └─sockets.target @1min 30.763s
                    └─snapd.socket @1min 30.746s +16ms
                      └─sysinit.target @1min 30.742s
                        └─brltty.service @2.604s
                          └─systemd-journald.socket @868ms
                            └─-.slice @532ms

$ journalctl -a | grep flushing
<no output>

$ journalctl -a | grep journal
Sep 28 16:11:02 LIFEBOOK-S710 systemd-journald[885]: Runtime journal (/run/log/journal/) is 4.6M, max 37.4M, 32.8M free.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-socket.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-stdout.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: var-log-journal.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-syslog.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-dev\x2dlog.mount: Failed to load configuration: No such file or directory
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Installed new job systemd-journald.service/start as 37
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Installed new job systemd-journald.socket/start as 38
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: Installed new job systemd-journald-audit.socket/start as 40
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Installed new job systemd-journal-flush.service/start as 53
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Installed new job systemd-journald-dev-log.socket/start as 39
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-dev\x2dlog.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-syslog.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: var-log-journal.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-socket.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: run-systemd-journal-stdout.mount: Collecting.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed dead -> listening
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Job systemd-journald-dev-log.socket/start finished, result=done
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: ConditionCapability=CAP_AUDIT_READ succeeded.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: ConditionSecurity=audit succeeded.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: Changed dead -> listening
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: Job systemd-journald-audit.socket/start finished, result=done
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed dead -> listening
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Job systemd-journald.socket/start finished, result=done
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: About to execute: /lib/systemd/systemd-journald
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Forked /lib/systemd/systemd-journald as 885
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed dead -> start
Sep 28 16:11:02 LIFEBOOK-S710 systemd-journald[885]: Journal started
Sep 28 16:11:02 LIFEBOOK-S710 systemd[885]: systemd-journald.service: Executing: /lib/systemd/systemd-journald
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (READY=1, STATUS=Processing requests...)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed start -> running
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Job systemd-journald.service/start finished, result=done
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed listening -> running
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: Changed listening -> running
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed listening -> running
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Reading config file "/usr/lib/tmpfiles.d/journal-nocow.conf".
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/remote" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/run/log/journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/run/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/run/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/run/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[915]: Entry "/var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal" does not match any include prefix, skipping.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: About to execute: /bin/journalctl --flush
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Forked /bin/journalctl as 946
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Changed dead -> start
Sep 28 16:11:02 LIFEBOOK-S710 systemd[946]: systemd-journal-flush.service: Executing: /bin/journalctl --flush
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 journalctl[946]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=KillUnit cookie=1 reply_cookie=0 error=n/a
Sep 28 16:11:02 LIFEBOOK-S710 journalctl[946]: Got message type=method_return sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: Received SIGCHLD from PID 946 (journalctl).
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: Child 946 (journalctl) died (code=exited, status=0/SUCCESS)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Child 946 belongs to systemd-journal-flush.service
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Main process exited, code=exited, status=0/SUCCESS
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Changed start -> exited
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Job systemd-journal-flush.service/start finished, result=done
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: cgroup is empty
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Failed to send unit change signal for systemd-journal-flush.service: Transport endpoint is not connected
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd-tmpfiles[1098]: Reading config file "/usr/lib/tmpfiles.d/journal-nocow.conf".
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry h /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry h /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry z /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry z /var/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry h /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry h /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry h /var/log/journal/remote
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry h /var/log/journal/remote
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry z /run/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chmod "/run/log/journal" to mode 2755
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chown "/run/log/journal" to 0.101
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry z /run/log/journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry A /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Setting access ACL u::rwx,g::r-x,g:adm:r-x,m::r-x,o::--- on /run/log/journal/585f9015fc6142d2af83a87e5606e949.
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Setting access ACL u::rw-,g::r--,g:adm:r-x,m::r-x,o::--- on /run/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal.
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Setting access ACL u::rw-,g::r--,g:adm:r-x,m::r-x,o::--- on /run/log/journal/585f9015fc6142d2af83a87e5606e949/system@93e55565e6eb4c21ab4a5e75e1907040-0000000000000001-00053d91ee608d57.journal.
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry A /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry Z /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chmod "/run/log/journal/585f9015fc6142d2af83a87e5606e949" to mode 2750
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chown "/run/log/journal/585f9015fc6142d2af83a87e5606e949" to 0.101
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chmod "/run/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal" to mode 750
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chown "/run/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal" to 0.101
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chmod "/run/log/journal/585f9015fc6142d2af83a87e5606e949/system@93e55565e6eb4c21ab4a5e75e1907040-0000000000000001-00053d91ee608d57.journal" to mode 750
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: chown "/run/log/journal/585f9015fc6142d2af83a87e5606e949/system@93e55565e6eb4c21ab4a5e75e1907040-0000000000000001-00053d91ee608d57.journal" to 0.101
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry Z /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Setting default ACL u::rwx,g::r-x,g:adm:r-x,m::r-x,o::--- on /run/log/journal/585f9015fc6142d2af83a87e5606e949.
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running create action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd-tmpfiles[1098]: Running remove action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:03 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:04 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:04 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:04 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:11:04 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:11:33 LIFEBOOK-S710 systemd-journald[885]: Forwarding to syslog missed 23363 messages.
Sep 28 16:12:03 LIFEBOOK-S710 systemd-journald[885]: Forwarding to syslog missed 32 messages.
Sep 28 16:12:32 LIFEBOOK-S710 systemd-journald[885]: Suppressed 20219 messages from /system.slice/systemd-udevd.service
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:33 LIFEBOOK-S710 systemd-journald[885]: Forwarding to syslog missed 219 messages.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:37 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:38 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:40 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:43 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:43 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:43 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:43 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:12:45 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:12:45 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:13:25 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:13:25 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:14:02 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:14:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:14:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:15:24 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:15:24 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:15:24 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:15:24 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:15:35 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:17:07 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:17:07 LIFEBOOK-S710 systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/systemd_2djournald_2ddev_2dlog_2esocket interface=org.freedesktop.DBus.Properties member=Get cookie=282 reply_cookie=0 error=n/a
Sep 28 16:17:07 LIFEBOOK-S710 systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/systemd_2djournald_2ddev_2dlog_2esocket interface=org.freedesktop.DBus.Properties member=Get cookie=283 reply_cookie=0 error=n/a
Sep 28 16:17:07 LIFEBOOK-S710 systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/systemd_2djournald_2ddev_2dlog_2esocket interface=org.freedesktop.DBus.Properties member=Get cookie=284 reply_cookie=0 error=n/a
Sep 28 16:17:07 LIFEBOOK-S710 systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/systemd_2djournald_2ddev_2dlog_2esocket interface=org.freedesktop.DBus.Properties member=Get cookie=285 reply_cookie=0 error=n/a
Sep 28 16:17:43 LIFEBOOK-S710 systemd-journald[885]: Suppressed 1864 messages from /init.scope
Sep 28 16:18:35 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:20:15 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Releasing all resources.
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed dead -> running
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed dead -> running
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed dead -> running
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: run-systemd-journal.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: run-systemd-journal-syslog.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: run-systemd-journal-dev\x2dlog.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: run-systemd-journal-socket.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: run-systemd-journal-stdout.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: var-log-journal.mount: Failed to load configuration: No such file or directory
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journal-flush.service: Changed dead -> exited
Sep 28 16:20:19 LIFEBOOK-S710 systemd[1]: systemd-journald-audit.socket: Changed dead -> running
Sep 28 16:20:21 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed dead -> running
Sep 28 16:20:21 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed dead -> running
Sep 28 16:20:21 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald-dev-log.socket: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald.socket: Changed dead -> running
Sep 28 16:20:22 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Changed dead -> running
Sep 28 16:21:26 LIFEBOOK-S710 systemd-journald[885]: Suppressed 21060 messages from /init.scope
Sep 28 16:21:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:21:33 LIFEBOOK-S710 systemd-journald[885]: Suppressed 4178 messages from /system.slice/systemd-logind.service
Sep 28 16:21:33 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Releasing all resources.
Sep 28 16:21:33 LIFEBOOK-S710 systemd[1]: run-systemd-journal.mount: Failed to load configuration: No such file or directory
Sep 28 16:21:33 LIFEBOOK-S710 systemd[1]: run-systemd-journal-syslog.mount: Failed to load configuration: No such file or directory
Sep 28 16:21:33 LIFEBOOK-S710 systemd[1]: run-systemd-journal-dev\x2dlog.mount: Failed to load configuration: No such file or directory
Sep 28 16:21:56 LIFEBOOK-S710 systemd-journald[885]: Suppressed 17780 messages from /init.scope
Sep 28 16:22:12 LIFEBOOK-S710 systemd-journald[885]: Suppressed 2981 messages from /system.slice/systemd-logind.service
Sep 28 16:22:14 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:22:14 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:23:18 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:24:39 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:26:18 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)
Sep 28 16:26:18 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:26:18 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Reading config file "/usr/lib/tmpfiles.d/journal-nocow.conf".
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /var/log/journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /var/log/journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry h /var/log/journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry z /var/log/journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry h /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry h /var/log/journal/remote
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry z /run/log/journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry A /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry Z /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /run/log/journal/585f9015fc6142d2af83a87e5606e949
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry a /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:26:18 LIFEBOOK-S710 systemd-tmpfiles[28793]: Running clean action for entry z /var/log/journal/585f9015fc6142d2af83a87e5606e949/system.journal
Sep 28 16:26:46 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (FDSTORE=1)
Sep 28 16:26:46 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Added fd to fd store.
Sep 28 16:27:32 LIFEBOOK-S710 systemd[1]: systemd-journald.service: Got notification message from PID 885 (WATCHDOG=1)

OpenSSL by Example

OpenSSL Command Line Utilities
OpenSSL Quick Reference Guide
OpenSSL Quick Reference Guide
The Most Common OpenSSL Commands
How to use OpenSSL and the Internet PKI on Linux systems
OpenSSL PKI Tutorial


Formats

Privacy Enhanced Mail (PEM) => Historical container format, used now for BASE64 translation of the x509 ASN.1 key

DER vs. CRT vs. CER vs. PEM Certificates and How To Convert Them
What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?

X509 File Extensions

The first thing we have to understand is what each type of file extension is. There is a lot of confusion about what DER, PEM, CRT, and CER are and many have incorrectly said that they are all interchangeable. While in certain cases some can be interchanged the best practice is to identify how your certificate is encoded and then label it correctly. Correctly labeled certificates will be much easier to manipulat

Encodings (also used as extensions)

  • .DER = The DER extension is used for binary DER encoded certificates. These files may also bear the CER or the CRT extension. Proper English usage would be “I have a DER encoded certificate” not “I have a DER certificate”.
  • .PEM = The PEM extension is used for different types of X.509v3 files which contain ASCII (Base64) armored data prefixed with a “—– BEGIN …” line.

Common Extensions

  • .CRT = The CRT extension is used for certificates. The certificates may be encoded as binary DER or as ASCII PEM. The CER and CRT extensions are nearly synonymous. Most common among *nix systems
  • CER = alternate form of .crt (Microsoft Convention) You can use MS to convert .crt to .cer (.both DER encoded .cer, or base64[PEM] encoded .cer) The .cer file extension is also recognized by IE as a command to run a MS cryptoAPI command (specifically rundll32.exe cryptext.dll,CryptExtOpenCER) which displays a dialogue for importing and/or viewing certificate contents.
  • .KEY = The KEY extension is used both for public and private PKCS#8 keys. The keys may be encoded as binary DER or as ASCII PEM.


s_client

How to view certificate chain using openssl
How to extract the Root CA and Subordinate CA from a certificate chain in Linux?


CA Certificates

Creating a CA
IBM: SSL mit nicht vertrauenswürdigen Zertifikaten konfigurieren
IBM: Stammzertifizierungsstelle unter iOS installieren

$ openssl req \
-new \
-x509 \
-days 1095 \
-extensions v3_ca \
-keyout ca.key \
-out ca.crt \
-subj "/C=CH/ST=Zurich/L=Winterthur/O=FabLab Winti CA/CN=www.fablabwinti.ch/emailAddress=info@fablabwinti.ch"
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:

ca.key:     ASCII text      => encrypted private key of the certificate (with PEM password)
ca.crt/pem: PEM certificate => public certificate (which includes the public key but NOT the private key)
ca.srl:     ASCII text      => CA serial number

$ openssl genrsa \
-out rfid.key 2048

$ openssl genrsa \
-out doorlock.key 2048

$ openssl req \
-out rfid.csr \
-key rfid.key \
-new \
-subj "/C=CH/ST=Zurich/L=Winterthur/O=FabLab Winti/CN=RFID"

$ openssl req \
-out doorlock.csr \
-key doorlock.key \
-new \
-subj "/C=CH/ST=Zurich/L=Winterthur/O=FabLab Winti/CN=Door Lock"

$ openssl x509 \
-req \
-in rfid.csr \
-CA ca.crt \
-CAkey ca.key \
-CAcreateserial \
-out rfid.crt \
-days 1095

$ openssl x509 \
-req \
-in doorlock.csr \
-CA ca.crt \
-CAkey ca.key \
-CAcreateserial \
-out doorlock.crt \
-days 1095

rfid.key:     PEM RSA private key     => private key of the certificate
rfid.csr:     PEM certificate request => PKCS10 format: subject + public key of the certificate
rfid.crt/pem: PEM certificate         => public certificate (which includes the public key but NOT the private key)

Convert to Binary
$ openssl x509 -in rfid.crt -out rfid.bin.crt -outform DER
$ openssl rsa -in rfid.key -out rfid.bin.key -outform DER

Binary to C Array
$ xxd.exe -i rfid.bin.key > rfid.bin.key.h
$ xxd.exe -i rfid.bin.crt > rfid.bin.crt.h

-newkey arg
  rsa:nbits          generates an RSA key nbits in size
  dsa:filename       generates a DSA key using the parameters in the file filename
  ec:filename        generates EC key (usable both with ECDSA or ECDH algorithms)
  gost2001:filename  generates GOST R 34.10-2001 key (requires ccgost engine configured in the configuration file)
  
Aussteller:
E = info@fablabwinti.ch
CN = www.fablabwinti.ch
O = FabLab Winti
L = Winterthur
S = Zurich
C = CH

Antragsteller:
E = info@fablabwinti.ch
CN = www.fablabwinti.ch
OU = RFID
O = FabLab Winti
L = Winterthur
S = Zurich
C = CH

$ openssl x509 -in doorlock.crt -noout -text
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            bd:ee:65:f3:e8:39:38:af
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=CH, ST=Zurich, L=Winterthur, O=FabLab Winti CA, CN=www.fablabwinti.ch/emailAddress=info@fablabwinti.ch
        Validity
            Not Before: Sep 15 13:38:25 2016 GMT
            Not After : Sep 15 13:38:25 2019 GMT
        Subject: C=CH, ST=Zurich, L=Winterthur, O=FabLab Winti, CN=Door Lock
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:b3:1c:33:74:3b:53:40:7e:be:0e:96:e8:77:e3:
                    [...]
                Exponent: 65537 (0x10001)
    Signature Algorithm: sha256WithRSAEncryption
         10:55:c7:0d:18:be:52:fb:bc:18:1f:c4:94:82:11:e0:f8:d5:
         [...]

$ openssl x509 -in server.crt -noout -fingerprint -sha1
SHA1 Fingerprint=26:86:55:5A:F9:00:FF:67:AC:57:55:2D:A6:7A:2E:A1:39:42:A4:2C

$ openssl x509 -in server.crt -noout -fingerprint -sha256
SHA256 Fingerprint=CA:C3:F8:37:53:43:31:C6:B9:01:FC:62:85:2E:0D:70:F4:24:62:B7:A6:C4:17:3C:11:D2:4D:B9:62:5B:F2:C3


Diffie-Hellman

  • Deploy (Ephemeral) Elliptic-Curve Diffie-Hellman (ECDHE)
  • Elliptic-Curve Diffie-Hellman (ECDH) key exchange
  • ECDSA algorithm

Guide to Deploying Diffie-Hellman for TLS
Making the Key Exchange stronger

Which elliptic curve should I use?

$ openssl ecparam -list_curves
[...]
prime256v1
[...]
secp384r1
[...]


FAQ

OpenSSL without prompt

qmail / Dovecot

qmail:
  $ cd /var/qmail/control/

  # Request
  $ openssl req -new -nodes -out req.pem -keyout servercert.pem
 
  # Sign
  $ openssl req -new -x509 -nodes -out servercert.pem -days 366 -keyout servercert.pem
  $ openssl ciphers > tlsclientciphers
  $ openssl ciphers > tlsserverciphers
 
  # Display certification request
  $ openssl req -text -noout -in req.pem

  # Display certificate information
  $ openssl x509 -text -noout -in servercert.pem

  # Change permission
  $ chown vpopmail:vchkpw /var/qmail/control/servercert.pem

Dovecot:
  mkdir /usr/local/etc/dovecot/ssl
  mkdir /usr/local/etc/dovecot/ssl/private
  mkdir /usr/local/etc/dovecot/ssl/certs
  cd  /usr/local/share/examples/dovecot/
  env SSLDIR=/usr/local/etc/dovecot/ssl /usr/local/share/examples/dovecot/mkcert.sh

Convert PEM to DER
  $ cd /var/qmail/control
  $ openssl x509 -in servercert.pem -outform der -out servercert.crt

  $ cd /usr/local/etc/dovecot/ssl/certs
  $ openssl x509 -in dovecot.pem -outform der -out dovecot.crt

  # Copy / Install DER certificate to iPhone
  $ cp servercert.crt [...]
  $ cp dovecot.crt [...]

  /usr/local/etc/dovecot/ssl/certs/dovecot.crt
  /var/qmail/control/servercert.crt
OPENSSL=${OPENSSL-openssl}
SSLDIR=${SSLDIR-/etc/ssl}
OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}

CERTDIR=$SSLDIR/certs
KEYDIR=$SSLDIR/private

CERTFILE=$CERTDIR/dovecot.pem
KEYFILE=$KEYDIR/dovecot.pem

$OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2
chmod 0600 $KEYFILE
echo
$OPENSSL x509 -subject -fingerprint -noout -in $CERTFILE || exit 2
[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no

[ req_dn ]
# country (2 letter code)
C=CH

# State or Province Name (full name)
ST=Zurich

# Locality Name (eg. city)
L=Winterthur

# Organization (eg. company)
O=tE-clan Server

# Organizational Unit Name (eg. section)
OU=IMAP server

# Common Name (*.example.com is also possible)
CN=imap.te-clan.ch

# E-mail contact
emailAddress=bachi@te-clan.ch

[ cert_type ]
nsCertType = server

Ubuntu DHCP/DNS Coupling

DNS

include "/etc/bind/ddns.key";
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
key DHCP_UPDATER {
         algorithm hmac-md5;
         secret "uFj0b3YjnGGVOxpjvmpVqQ==";
};
zone "intra.fablabwinti.ch"  {
        type master ;
        file "/var/lib/bind/db.intra.fablabwinti.ch" ;
        allow-update { key "DHCP_UPDATER"; };
};

zone "1.168.192.in-addr.arpa" {
        type master ;
        file "/var/lib/bind/db.192.168.1" ;
        allow-update { key "DHCP_UPDATER"; };
};
$ORIGIN .
$TTL 60	; 1 minute
intra.fablabwinti.ch	IN SOA	ns1.intra.fablabwinti.ch. info.intra.fablabwinti.ch. (
				2014082358 ; serial
				43200      ; refresh (12 hours)
				10         ; retry (10 seconds)
				1814400    ; expire (3 weeks)
				7200       ; minimum (2 hours)
				)
			NS	ns1.intra.fablabwinti.ch.
			NS	ns2.intra.fablabwinti.ch.
			A	192.168.1.2

$ORIGIN intra.fablabwinti.ch.
auth			A	192.168.1.2
ftp			A	192.168.1.2
mail			A	192.168.1.2
ns1			A	192.168.1.2
ns2			A	192.168.1.2
www			A	192.168.1.2
$ORIGIN .
$TTL 60	; 1 minute
1.168.192.in-addr.arpa	IN SOA	ns1.intra.fablabwinti.ch. info.intra.fablabwinti.ch. (
				2014076095 ; serial
				43200      ; refresh (12 hours)
				10         ; retry (10 seconds)
				1814400    ; expire (3 weeks)
				7200       ; minimum (2 hours)
				)
			NS	ns1.intra.fablabwinti.ch.
			NS	ns2.intra.fablabwinti.ch.
$ORIGIN 1.168.192.in-addr.arpa.
2			PTR	ns1.intra.fablabwinti.ch.

DHCP

key DHCP_UPDATER {
         algorithm HMAC-MD5.SIG-ALG.REG.INT;
         secret "uFj0b3YjnGGVOxpjvmpVqQ==";
};
authoritative;

default-lease-time      600;
max-lease-time          7200;

# DDNS statements
include "/etc/dhcp/ddns.key";
ddns-updates            on;                 # default but good practice
ddns-update-style       interim;            # only supported active option
allow                   client-updates;     # default but good practice
update-static-leases    on;

zone 1.168.192.in-addr.arpa {
  primary localhost;
  key DHCP_UPDATER;
}

zone intra.fablabwinti.ch {
  primary localhost;
  key DHCP_UPDATER;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.100 192.168.1.250;
    
    option domain-name "intra.fablabwinti.ch";
    option domain-name-servers ns1.intra.fablabwinti.ch, ns2.intra.fablabwinti.ch;

    option routers 192.168.1.1;
    option broadcast-address 192.168.1.255;
    
    default-lease-time 600;
    max-lease-time 7200;
}