commit autofs for openSUSE:Factory
Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2015-02-06 10:20:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autofs" Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2015-01-21 21:55:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.autofs.new/autofs.changes 2015-02-06 10:20:32.000000000 +0100 @@ -1,0 +2,17 @@ +Tue Feb 3 19:51:56 UTC 2015 - lchiquitto@suse.com + +- Fix autofs.service so that multiple options passed through + sysconfig AUTOFS_OPTIONS work correctly (bsc#909472) + +------------------------------------------------------------------- +Tue Feb 3 18:40:56 UTC 2015 - lchiquitto@suse.com + +- Fix configuration handling now that we have /etc/autofs.conf + and /etc/sysconfig/autofs. Runtime options are now configured in + the former, while settings that affect the daemon start up are + still handled in the latter. +- Clean-up sysconfig.autofs, leave only init script options: + $OPTIONS and $USE_MISC_DEVICE. +- Run %fillup also when systemd is enabled. (bsc#906606) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.8m3UqM/_old 2015-02-06 10:20:34.000000000 +0100 +++ /var/tmp/diff_new_pack.8m3UqM/_new 2015-02-06 10:20:34.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package autofs # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -159,14 +159,15 @@ if /sbin/chkconfig -c autofs 3; then %{insserv_force_if_yast autofs} fi -%{fillup_only -n autofs} %endif +%{fillup_only} + %preun %{stop_on_removal autofs} %if %{with_systemd} %service_del_preun %{name}.service -%fillup_only %endif +%{fillup_only} %postun %if %{with_systemd} @@ -175,6 +176,7 @@ %{restart_on_update autofs} %{insserv_cleanup} %endif + %files %defattr (-, root, root) %{_localstatedir}/adm/fillup-templates/sysconfig.autofs ++++++ autofs.service ++++++ --- /var/tmp/diff_new_pack.8m3UqM/_old 2015-02-06 10:20:34.000000000 +0100 +++ /var/tmp/diff_new_pack.8m3UqM/_new 2015-02-06 10:20:34.000000000 +0100 @@ -8,7 +8,7 @@ Type=forking PIDFile=/var/run/automount.pid EnvironmentFile=-/etc/sysconfig/autofs -ExecStart=/usr/sbin/automount ${AUTOFS_OPTIONS} -p /var/run/automount.pid +ExecStart=/usr/sbin/automount $AUTOFS_OPTIONS -p /var/run/automount.pid ExecReload=/usr/bin/kill -HUP $MAINPID TimeoutSec=180 ++++++ sysconfig.autofs ++++++ --- /var/tmp/diff_new_pack.8m3UqM/_old 2015-02-06 10:20:34.000000000 +0100 +++ /var/tmp/diff_new_pack.8m3UqM/_new 2015-02-06 10:20:34.000000000 +0100 @@ -1,28 +1,11 @@ ## Path: System/File systems/Autofs -## Description: General global options. +## Description: Options that will be used when the daemon is started. ## Type: string ## Default: "" ## ServiceReload: autofs # AUTOFS_OPTIONS="" -## Description: Default mount options. -## Type: string -## Default: "" -# -# Default mount options which are appended or replaced to -# each map entry (see also APPEND_OPTIONS). -LOCAL_OPTIONS="" - -## Description: Append or replace options. -## Type: string -## Default: "yes" -# -# Determine whether LOCAL_OPTIONS are appended to map entry options -# or if the map entry options replace the global options -# (program default "yes", append options). -APPEND_OPTIONS="yes" - ## Description: Use AutoFS miscellaneous device (/dev/autofs). ## Type: string ## Default: "yes" @@ -30,138 +13,3 @@ # Determine whether the AutoFS misc device (/dev/autofs) will be used # for routing ioctl commands. Requires kernel support (2.6.28 and newer). USE_MISC_DEVICE="yes" - -## Description: Default map name for the master map. -## Type: string -## Default: "auto.master" -# -DEFAULT_MASTER_MAP_NAME="auto.master" - -## Description: Set the default mount timeout. -## Type: integer(0:) -## Default: 600 -# -DEFAULT_TIMEOUT=600 - -## Description: Set the default negative timeout for failed mount attempts. -## Type: integer(0:) -## Default: 60 -# -#DEFAULT_NEGATIVE_TIMEOUT=60 - -## Description: Time to wait for a response from mount(8). -## Type: integer(-1:) -## Default: -1 -# -# Setting this timeout can cause problems when mount would otherwise -# wait for a server that is temporarily unavailable, such as when -# it's restarting. The default of waiting for mount(8) usually -# results in a wait of around 3 minutes. -#DEFAULT_MOUNT_WAIT=-1 - -## Description: Time to wait for a response from umount(8). -## Type: integer(0:) -## Default: 12 -# -#DEFAULT_UMOUNT_WAIT=12 - -## Description: The default protocol used by mount.nfs(8). -## Type: string -## Default: 3 -# -# Since we can't identify the default automatically we need to -# set it in our configuration. This will only make a difference -# for replicated map entries as availability probing isn't -# used for single host map entries. -#MOUNT_NFS_DEFAULT_PROTOCOL=3 - -## Description: maps are browsable by default. -## Type: string -## Default: "yes" -# -DEFAULT_BROWSE_MODE="yes" - -## Description: Set default log level. -## Type: string -## Default: "none" -# -# "none", "verbose" or "debug" -# -DEFAULT_LOGGING="none" - -## Description: Define the default LDAP schema to use for lookups. -## Type: string -## Default: "auto.master" -# -# System default -# -DEFAULT_MAP_OBJECT_CLASS="nisMap" -DEFAULT_ENTRY_OBJECT_CLASS="nisObject" -DEFAULT_MAP_ATTRIBUTE="nisMapName" -DEFAULT_ENTRY_ATTRIBUTE="cn" -DEFAULT_VALUE_ATTRIBUTE="nisMapEntry" -# -# Other common LDAP nameing -# -#DEFAULT_MAP_OBJECT_CLASS="automountMap" -#DEFAULT_ENTRY_OBJECT_CLASS="automount" -#DEFAULT_MAP_ATTRIBUTE="ou" -#DEFAULT_ENTRY_ATTRIBUTE="cn" -#DEFAULT_VALUE_ATTRIBUTE="automountInformation" -# -#DEFAULT_MAP_OBJECT_CLASS="automountMap" -#DEFAULT_ENTRY_OBJECT_CLASS="automount" -#DEFAULT_MAP_ATTRIBUTE="automountMapName" -#DEFAULT_ENTRY_ATTRIBUTE="automountKey" -#DEFAULT_VALUE_ATTRIBUTE="automountInformation" - -## Description: Set the default location for the SASL authentication configuration file. -## Type: string -## Default: "/etc/autofs_ldap_auth.conf" -# -DEFAULT_AUTH_CONF_FILE="etc/autofs_ldap_auth.conf" - -## Description: List of LDAP server URIs. -## Type: string -## Default: "" -# -# Space seperated list of server URIs of the form <proto>://<server>[/] -# where <proto> can be ldap or ldaps. The option can be given multiple -# times. Map entries that include a server name override this option. -# -# This configuration option can also be used to request AutoFS lookup -# SRV RRs for a domain of the form <proto>:///[<domain dn>]. Note that a -# trailing "/" is not allowed when using this form. If the domain dn -# is not specified the DNS domain name (if any) is used to construct -# the domain dn for the SRV RR lookup. The server list returned from -# an SRV RR lookup is refreshed according to the minimum ttl found in -# the SRV RR records or after one hour, whichever is less. -#LDAP_URI="" - -## Description: Timeout value for the synchronous LDAP API calls. -## Type: integer -## Default: LDAP library default -# -#LDAP_TIMEOUT=-1 - -## Description: Set the network LDAP response timeout (default 8). -## Type: integer -## Default: 8 -# -#LDAP_NETWORK_TIMEOUT=8 - -## Description: Define the LDAP base dn for map dn lookup. -## Type: string -## Default: "" -# -# Multiple entries can be given and they are checked in the order -# they appear here. -#SEARCH_BASE="" - -## Description: Set the map cache hash table size. -## Type: integer -## Default: 1024 -# -# Should be a power of 2 with a ratio roughly between 1:10 and 1:20 -# for each map. -MAP_HASH_TABLE_SIZE=1024 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de