Changeset 2560


Ignore:
Timestamp:
Aug 8, 2014, 10:00:53 PM (10 years ago)
Author:
andersk
Message:
Fix remote-fs.target ordering; block OpenAFS on network-online.target
Location:
trunk/server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/tokensys/scripts-afsagent-startup.service

    r2066 r2560  
    22Description=Scripts AFS Configuration Service
    33After=syslog.target openafs-client.service
    4 Before=crond.service
     4Before=remote-fs.target
    55Requires=openafs-client.service
    66
     
    1010
    1111[Install]
    12 WantedBy=multi-user.target remote-fs.target crond.service
     12WantedBy=multi-user.target remote-fs.target
  • trunk/server/common/oursrc/tokensys/scripts-afsagent.service

    r2066 r2560  
    22Description=Scripts afsagent Service
    33After=syslog.target openafs-client.service
    4 Before=crond.service
     4Before=remote-fs.target
    55Requires=openafs-client.service
    66
     
    1111
    1212[Install]
    13 WantedBy=multi-user.target remote-fs.target crond.service
     13WantedBy=multi-user.target remote-fs.target
  • trunk/server/common/patches/openafs-systemd-crond.patch

    r2168 r2560  
    11diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
    2 index bc95057..9627280 100644
     2index 936762e..c0558b2 100644
    33--- a/src/packaging/RedHat/openafs-client.service
    44+++ b/src/packaging/RedHat/openafs-client.service
    5 @@ -1,5 +1,6 @@
     5@@ -1,6 +1,7 @@
    66 [Unit]
    77 Description=OpenAFS Client Service
    8 +Before=crond.service
    9  After=syslog.target network.target
     8-After=syslog.target network.target
     9+After=syslog.target network-online.target
     10+Before=remote-fs.target
    1011 
    1112 [Service]
    12 @@ -15,4 +16,4 @@ ExecStop=/sbin/rmmod openafs
    13  KillMode=none
    14  
    15  [Install]
    16 -WantedBy=multi-user.target remote-fs.target
    17 +WantedBy=multi-user.target remote-fs.target crond.service
     13 Type=forking
  • trunk/server/fedora/specs/zhm.init

    r1693 r2560  
    1414### BEGIN INIT INFO
    1515# Provides: zhm
    16 # Required-Start: $local_fs $remote_fs $network $named
    17 # Required-Stop: $local_fs $remote_fs $network
     16# Required-Start: $local_fs $network $named
     17# Required-Stop: $local_fs $network
    1818# Default-Start: 2 3 4 5
    1919# Default-Stop: 0 1 6
Note: See TracChangeset for help on using the changeset viewer.