]> Frank Brehm's Git Trees - config/lena/etc.git/commitdiff
committing changes in /etc after apt run
authorFrank Brehm <frank@brehm-online.com>
Tue, 3 Jan 2017 10:56:27 +0000 (11:56 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 3 Jan 2017 10:56:27 +0000 (11:56 +0100)
Package changes:
-apt-listchanges 3.7 all
+apt-listchanges 3.8 all
-at 3.1.20-1 amd64
+at 3.1.20-3 amd64
-binutils 2.27.51.20161201-1 amd64
+binutils 2.27.51.20161220-1 amd64
-chrony 2.4.1-2 amd64
+chrony 2.4.1-3 amd64
-geoip-database 20161109-1 all
+geoip-database 20161219-1 all
-libgmp10 2:6.1.1+dfsg-1 amd64
+libgmp10 2:6.1.2+dfsg-1 amd64
-libpam-modules 1.1.8-3.3 amd64
-libpam-modules-bin 1.1.8-3.3 amd64
-libpam-runtime 1.1.8-3.3 all
+libpam-modules 1.1.8-3.4 amd64
+libpam-modules-bin 1.1.8-3.4 amd64
+libpam-runtime 1.1.8-3.4 all
-libpam0g 1.1.8-3.3 amd64
+libpam0g 1.1.8-3.4 amd64
-libpython-stdlib 2.7.11-2 amd64
+libpython-stdlib 2.7.13-1 amd64
-libsbuild-perl 0.72.0-2 all
-libscalar-list-utils-perl 1:1.46-1 amd64
+libsbuild-perl 0.73.0-1 all
+libscalar-list-utils-perl 1:1.47-1 amd64
-libsqlite3-0 3.15.2-1 amd64
+libsqlite3-0 3.15.2-2 amd64
-python 2.7.11-2 amd64
+python 2.7.13-1 amd64
-python-crypto 2.6.1-6+b1 amd64
-python-cryptography 1.5.3-1 amd64
+python-crypto 2.6.1-7 amd64
+python-cryptography 1.7.1-2 amd64
-python-minimal 2.7.11-2 amd64
+python-minimal 2.7.13-1 amd64
-python-requests 2.11.1-1 all
+python-requests 2.12.4-1 all
-python-urllib3 1.16-1 all
+python-urllib3 1.19.1-1 all
-python-zmq 15.2.0-1 amd64
+python-zmq 16.0.2-2 amd64
-python3-cryptography 1.5.3-1 amd64
+python3-cryptography 1.7.1-2 amd64
-python3-requests 2.11.1-1 all
+python3-requests 2.12.4-1 all
-python3-urllib3 1.16-1 all
+python3-urllib3 1.19.1-1 all
-salt-common 2016.3.4+ds-2 all
-salt-minion 2016.3.4+ds-2 all
-sbuild 0.72.0-2 all
+salt-common 2016.11.1+ds-1 all
+salt-minion 2016.11.1+ds-1 all
+sbuild 0.73.0-1 all
-sudo 1.8.17p1-2 amd64
+sudo 1.8.19-1 amd64

.etckeeper
apm/event.d/01chrony [deleted file]
init.d/chrony
passwd-
salt/minion
sbuild/sbuild.conf
systemd/system/chronyd.service [new symlink]
systemd/system/multi-user.target.wants/chrony.service [new symlink]

index 1fbf7b8affc1884cd02426ef2b8dc55c61bb823d..b53a55242bcf0fe0910cc4b27a8edd82a9b6d7db 100755 (executable)
@@ -53,7 +53,6 @@ maybe chmod 0755 'apache2/conf-available'
 maybe chmod 0644 'apache2/conf-available/javascript-common.conf'
 maybe chmod 0755 'apm'
 maybe chmod 0755 'apm/event.d'
-maybe chmod 0755 'apm/event.d/01chrony'
 maybe chmod 0755 'apm/event.d/20hdparm'
 maybe chmod 0755 'apparmor.d'
 maybe chmod 0755 'apparmor.d/local'
diff --git a/apm/event.d/01chrony b/apm/event.d/01chrony
deleted file mode 100755 (executable)
index df52908..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# Placed in /etc/apm/event.d by the chrony package at the instruction of
-# the apmd maintainer.  If you don't have apm and don't intend to install
-# apmd you may remove it.  It needs to run after 00hwclock but before any
-# other scripts.
-
-
-[ -x /usr/sbin/chronyd ] || exit 0
-
-if [ "$1" = suspend ]; then
-       invoke-rc.d chrony stop
-elif [ "$1" = standby ]; then
-       invoke-rc.d chrony stop
-elif [ "$1" = resume ]; then
-       invoke-rc.d chrony start
-fi
index 516cdc2693119c6126202796e732162c676844c8..f1caedcfc833b59842446014384780bef40852fe 100755 (executable)
@@ -22,6 +22,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
 DAEMON=/usr/sbin/chronyd
 NAME="chronyd"
 DESC="time daemon"
+HELPER="/usr/lib/chrony/init-helper"
 
 [ -x "$DAEMON" ] || exit 0
 
@@ -33,28 +34,12 @@ if [ -f /etc/default/chrony ]; then
     . /etc/default/chrony
 fi
 
-putonline ()
-{   # Do we have a default route?  If so put chronyd online.
-    if ip r 2>/dev/null | grep -q '^default'; then
-        if chronyc -m online 'burst 4/4' > /dev/null 2>&1; then
-            touch /var/run/chrony-ppp-up
-            echo "$NAME is running and online."
-        else
-            rm -f /var/run/chrony-ppp-up
-            echo "$NAME is running and offline."
-        fi
-    else
-        rm -f /var/run/chrony-ppp-up
-        echo "$NAME is running and offline."
-    fi
-}
-
 case "$1" in
     start)
        start-stop-daemon --start --verbose --exec $DAEMON -- $DAEMON_OPTS
        case "$?" in
                0) # daemon successfully started
-                       putonline
+                       $HELPER go_online
                        ;;
                1) # daemon already running
                        ;;
@@ -75,7 +60,7 @@ case "$1" in
        start-stop-daemon --start --verbose --exec $DAEMON -- $DAEMON_OPTS
        case "$?" in
                0) # daemon successfully started
-                       putonline
+                       $HELPER go_online
                        ;;
                1) # still running
                        ;;
diff --git a/passwd- b/passwd-
index cc4a47928d3934cec57daebab556bb4c40ba5d0c..7663131bfef9e0476ae1636a7b0772f9f870396a 100644 (file)
--- a/passwd-
+++ b/passwd-
@@ -27,4 +27,4 @@ sshd:x:107:65534::/var/run/sshd:/usr/sbin/nologin
 frank:x:1000:100:Frank Brehm,,,:/home/frank:/bin/bash
 sbuild:x:108:112:Debian source builder,,,:/var/lib/sbuild:/bin/bash
 repo:x:1111:100:Repository user Lena:/home/repo:/bin/bash
-_chrony:x:109:113::/var/lib/chrony:/bin/false
+_chrony:x:109:113:Chrony daemon,,,:/var/lib/chrony:/bin/false
index 9bc9408defc99a3eeebba3e82788402d10ffa2c0..35b48a7c1551fc477a3cecb218c91d4cf875bb33 100644 (file)
@@ -38,6 +38,8 @@
 # value to "str".  Failover masters can be requested by setting
 # to "failover".  MAKE SURE TO SET master_alive_interval if you are
 # using failover.
+# Setting master_type to 'disable' let's you have a running minion (with engines and
+# beacons) without a master connection
 # master_type: str
 
 # Poll interval in seconds for checking if the master is still there.  Only
 #
 #
 # The loop_interval sets how long in seconds the minion will wait between
-# evaluating the scheduler and running cleanup tasks. This defaults to a
-# sane 60 seconds, but if the minion scheduler needs to be evaluated more
-# often lower this value
-#loop_interval: 60
+# evaluating the scheduler and running cleanup tasks.  This defaults to 1
+# second on the minion scheduler.
+#loop_interval: 1
+
+# Some installations choose to start all job returns in a cache or a returner
+# and forgo sending the results back to a master. In this workflow, jobs
+# are most often executed with --async from the Salt CLI and then results
+# are evaluated by examining job caches on the minions or any configured returners.
+# WARNING: Setting this to False will **disable** returns back to the master.
+#pub_ret: True
+
 
 # The grains can be merged, instead of overridden, using this option.
 # This allows custom grains to defined different subvalues of a dictionary
 
 # Grains cache expiration, in seconds. If the cache file is older than this
 # number of seconds then the grains cache will be dumped and fully re-populated
-# with fresh data. Defaults to 5 minutes. Will have no effect if 'grains_cache' 
+# with fresh data. Defaults to 5 minutes. Will have no effect if 'grains_cache'
 # is not enabled.
 # grains_cache_expiration: 300
 
 #####   Minion module management     #####
 ##########################################
 # Disable specific modules. This allows the admin to limit the level of
-# access the master has to the minion.
-#disable_modules: [cmd,test]
+# access the master has to the minion.  The default here is the empty list,
+# below is an example of how this needs to be formatted in the config file
+#disable_modules:
+#  - cmdmod
+#  - test
 #disable_returners: []
 
 # This is the reverse of disable_modules.  The default, like disable_modules, is the empty list,
 # as the environment setting, but for pillar instead of states.
 #pillarenv: None
 #
+# Set this option to 'True' to force a 'KeyError' to be raised whenever an
+# attempt to retrieve a named value from pillar fails. When this option is set
+# to 'False', the failed attempt returns an empty string. Default is 'False'.
+#pillar_raise_on_missing: False
+#
 # If using the local file directory, then the state top file name needs to be
 # defined, by default this is top.sls.
 #state_top: top.sls
 # is False.
 #fileserver_limit_traversal: False
 
-# The hash_type is the hash to use when discovering the hash of a file in
-# the local fileserver. The default is sha256, sha224, sha384 and sha512 are also supported.
+# The hash_type is the hash to use when discovering the hash of a file on
+# the local fileserver. The default is md5, but sha1, sha224, sha256, sha384
+# and sha512 are also supported.
 #
 # WARNING: While md5 and sha1 are also supported, do not use it due to the high chance
 # of possible collisions and thus security breach.
 #
+# WARNING: While md5 is also supported, do not use it due to the high chance
+# of possible collisions and thus security breach.
+#
 # Warning: Prior to changing this value, the minion should be stopped and all
 # Salt caches should be cleared.
 #hash_type: sha256
 
 # Fingerprint of the master public key to validate the identity of your Salt master
 # before the initial key exchange. The master fingerprint can be found by running
-# "salt-key -F master" on the Salt master.
+# "salt-key -f master.pub" on the Salt master.
 #master_finger: ''
 
+# Use TLS/SSL encrypted connection between master and minion.
+# Can be set to a dictionary containing keyword arguments corresponding to Python's
+# 'ssl.wrap_socket' method.
+# Default is None.
+#ssl:
+#    keyfile: <path_to_keyfile>
+#    certfile: <path_to_certfile>
+#    ssl_version: PROTOCOL_TLSv1_2
+
 
 ######         Thread settings        #####
 ###########################################
 #log_fmt_console: '%(colorlevel)s %(colormsg)s'
 #log_fmt_console: '[%(levelname)-8s] %(message)s'
 #
-#log_fmt_logfile: '%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'
+#log_fmt_logfile: '%(asctime)s,%(msecs)03d [%(name)-17s][%(levelname)-8s] %(message)s'
 
 # This can be used to control logging levels more specificically.  This
 # example sets the main salt library at the 'warning' level, but sets
index 859a56912555a1208a393de06c1b5c4d26b6eb9f..dc57e76a66fe6b19a161fb4a63bc84e0f90dc3d6 100644 (file)
 #   --make-binNMU
 #$bin_nmu = undef;
 
+# BIN_NMU_CHANGELOG
+# Type: STRING
+# The content of a binary-only changelog entry. Leading and trailing
+# newlines will be stripped.
+# See also related command line options in sbuild(1):
+#   --binNMU-changelog
+#$bin_nmu_changelog = undef;
+
+# BIN_NMU_TIMESTAMP
+# Type: STRING
+# Binary NMU timestamp. The timestamp is either given as n integer in Unix
+# time or as a string in the format compatible with Debian changelog
+# entries (i.e. as it is generated by date -R). If set to the default
+# (undef) the date at build time is used.
+# See also related command line options in sbuild(1):
+#   --binNMU-timestamp
+#$bin_nmu_timestamp = undef;
+
 # BIN_NMU_VERSION
 # Type: STRING
 # Binary NMU version number.
 # By default the package is built in a path of the following format
 # /build/packagename-XXXXXX/packagename-version/ where XXXXXX is a random
 # ascii string. This option allows one to specify a custom path where the
-# package is built inside the chroot. Notice that the sbuild user in the
-# chroot must have permissions to create the path. Common writable
-# locations are subdirectories of /tmp or /build. The buildpath must be an
-# empty directory because the last component of the path will be removed
-# after the build is finished. If you are running multiple sbuild instances
-# with the same build path in parallel for the same package, make sure that
-# your build path is not in a directory commonly mounted by all sbuild
-# instances (like /tmp or /home). In that case, use for example /build
-# instead. Otherwise, your builds will probably fail or contain wrong
-# content.
+# package is built inside the chroot. The sbuild user in the chroot must
+# have permissions to create the path. Common writable locations are
+# subdirectories of /tmp or /build. Using /tmp might be dangerous, because
+# (depending on the chroot backend) the /tmp inside the chroot might be a
+# world writable location that can be accessed by processes outside the
+# chroot. The directory /build can only be accessed by the sbuild user and
+# group and should be a safe location. The buildpath must be an empty
+# directory because the last component of the path will be removed after
+# the build is finished. Notice that depending on the chroot backend (see
+# CHROOT_MODE), some locations inside the chroot might be bind mounts that
+# are shared with other sbuild instances. You must avoid using these shared
+# locations as the build path or otherwise concurrent runs of sbuild will
+# likely fail. With the default schroot chroot backend, the directory
+# /build is shared between multiple schroot sessions. You can change this
+# behaviour in /etc/schroot/sbuild/fstab. The behaviour of other chroot
+# backends will vary.
 # See also related command line options in sbuild(1):
 #   --build-path
 #$build_path = undef;
 # APT_UPDATE
 # Type: BOOL
 # APT update.  1 to enable running "apt-get update" at the start of each
-# build, or 0 to disable.
+# build, or 0 to disable. This option has no effect on updating the
+# internal sbuild apt repository, the repository for extra packages (see
+# EXTRA_PACKAGES) and the repositories given via EXTRA_REPOSITORIES. These
+# are always updated. Thus, this option only influences updates of the
+# default repositories of the chroot.
 # See also related command line options in sbuild(1):
 #   --apt-update
 #   --no-apt-update
 # Type: ARRAY:STRING
 # Only environment variables matching one of the regular expressions in
 # this arrayref will be passed to dpkg-buildpackage and other programs run
-# by sbuild.
+# by sbuild. The default value for this configuration setting is the list
+# of variable names as returned by
+# Dpkg::Build::Info::get_build_env_whitelist() which is also the list of
+# variable names that is whitelisted to be recorded in .buildinfo files.
+# Caution: the default value listed below was retrieved from the dpkg Perl
+# library version available when this man page was generated. It might be
+# different if your dpkg Perl library version differs.
+#    # Setting the old environment filter
+#    $environment_filter = ['^PATH$',
+#                      '^DEB(IAN|SIGN)?_[A-Z_]+$',
+#                      '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$',
+#                      '^USER(NAME)?$',
+#                      '^LOGNAME$',
+#                      '^HOME$',
+#                      '^TERM$',
+#                      '^SHELL$'];
+#    # Appending FOOBAR to the default
+#    use Dpkg::Build::Info;
+#    $environment_filter = [Dpkg::Build::Info::get_build_env_whitelist(), 'FOOBAR'];
+#    # Removing FOOBAR from the default
+#    use Dpkg::Build::Info;
+#    $environment_filter = [map /^FOOBAR$/ ? () : $_, Dpkg::Build::Info::get_build_env_whitelist()];
 #$environment_filter = [
-#                       '^PATH$',
-#                       '^DEB(IAN|SIGN)?_[A-Z_]+$',
-#                       '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$',
-#                       '^USER(NAME)?$',
-#                       '^LOGNAME$',
-#                       '^HOME$',
-#                       '^TERM$',
-#                       '^SHELL$'
+#                       '^AR$',
+#                       '^ARFLAGS$',
+#                       '^AS$',
+#                       '^AWK$',
+#                       '^CC$',
+#                       '^CFLAGS$',
+#                       '^CPP$',
+#                       '^CPPFLAGS$',
+#                       '^CXX$',
+#                       '^CXXFLAGS$',
+#                       '^DEB_BUILD_OPTIONS$',
+#                       '^DEB_BUILD_PROFILES$',
+#                       '^DEB_VENDOR$',
+#                       '^DPKG_ADMINDIR$',
+#                       '^DPKG_DATADIR$',
+#                       '^DPKG_GENSYMBOLS_CHECK_LEVEL$',
+#                       '^DPKG_ORIGINS_DIR$',
+#                       '^DPKG_ROOT$',
+#                       '^FC$',
+#                       '^FFLAGS$',
+#                       '^GCJFLAGS$',
+#                       '^LANG$',
+#                       '^LC_ADDRESS$',
+#                       '^LC_ALL$',
+#                       '^LC_COLLATE$',
+#                       '^LC_CTYPE$',
+#                       '^LC_IDENTIFICATION$',
+#                       '^LC_MEASUREMENT$',
+#                       '^LC_MESSAGES$',
+#                       '^LC_MONETARY$',
+#                       '^LC_NAME$',
+#                       '^LC_NUMERIC$',
+#                       '^LC_PAPER$',
+#                       '^LC_TELEPHONE$',
+#                       '^LC_TIME$',
+#                       '^LD$',
+#                       '^LDFLAGS$',
+#                       '^LD_LIBRARY_PATH$',
+#                       '^LEX$',
+#                       '^M2C$',
+#                       '^MAKE$',
+#                       '^MAKEFLAGS$',
+#                       '^OBJC$',
+#                       '^OBJCFLAGS$',
+#                       '^OBJCXX$',
+#                       '^OBJCXXFLAGS$',
+#                       '^PC$',
+#                       '^RANLIB$',
+#                       '^SOURCE_DATE_EPOCH$',
+#                       '^YACC$'
 #                     ];
 
 # JOB_FILE
 #   --autopkgtest-virt-server-opts
 #$autopkgtest_virt_server_options = [];
 
-# DCMD
-# Type: STRING
-# Path to dcmd binary
-#$dcmd = 'dcmd';
-
 # DPKG_BUILDPACKAGE_USER_OPTIONS
 # Type: ARRAY:STRING
 # Additional command-line options for dpkg-buildpackage.
diff --git a/systemd/system/chronyd.service b/systemd/system/chronyd.service
new file mode 120000 (symlink)
index 0000000..cf434ea
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/chrony.service
\ No newline at end of file
diff --git a/systemd/system/multi-user.target.wants/chrony.service b/systemd/system/multi-user.target.wants/chrony.service
new file mode 120000 (symlink)
index 0000000..cf434ea
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/chrony.service
\ No newline at end of file