View | Details | Raw Unified | Return to ticket 2134 | Differences between
and this patch

Collapse All | Expand All

(-)a/slurm.spec (-175 / +301 lines)
Lines 5-33 Link Here
5
#
5
#
6
# build options      .rpmmacros options      change to default action
6
# build options      .rpmmacros options      change to default action
7
# ===============    ====================    ========================
7
# ===============    ====================    ========================
8
# --enable-multiple-slurmd %_with_multiple_slurmd 1 build with the multiple slurmd option.  Typically used to simulate a larger system than one has access to.
8
# --enable-multiple-slurmd %%_with_multiple_slurmd 1 build with the multiple slurmd option.  Typically used to simulate a larger system than one has access to.
9
# --enable-salloc-background %_with_salloc_background 1 on a cray system alloc salloc to execute as a background process.
9
# --enable-salloc-background %%_with_salloc_background 1 on a cray system alloc salloc to execute as a background process.
10
# --prefix           %_prefix        path    install path for commands, libraries, etc.
10
# --prefix           %%_prefix        path    install path for commands, libraries, etc.
11
# --with aix         %_with_aix         1    build aix RPM
11
# --with aix         %%_with_aix         1    build aix RPM
12
# --with authd       %_with_authd       1    build auth-authd RPM
12
# --with authd       %%_with_authd       1    build auth-authd RPM
13
# --with auth_none   %_with_auth_none   1    build auth-none RPM
13
# --with auth_none   %%_with_auth_none   1    build auth-none RPM
14
# --with blcr        %_with_blcr        1    require blcr support
14
# --with blcr        %%_with_blcr        1    require blcr support
15
# --with bluegene    %_with_bluegene    1    build bluegene RPM
15
# --with bluegene    %%_with_bluegene    1    build bluegene RPM
16
# --with cray        %_with_cray        1    build for a Cray system without ALPS
16
# --with cray        %%_with_cray        1    build for a Cray system without ALPS
17
# --with cray_alps   %_with_cray_alps   1    build for a Cray system with ALPS
17
# --with cray_alps   %%_with_cray_alps   1    build for a Cray system with ALPS
18
# --with cray_network %_with_cray_network 1  build for a non-Cray system with a Cray network
18
# --with cray_network %%_with_cray_network 1  build for a non-Cray system with a Cray network
19
# --without debug    %_without_debug    1    don't compile with debugging symbols
19
# --without debug    %%_without_debug    1    don't compile with debugging symbols
20
# --with lua         %_with_lua         1    build Slurm lua bindings (proctrack only for now)
20
# --with lua         %%_with_lua         1    build Slurm lua bindings (proctrack only for now)
21
# --without munge    %_without_munge    1    don't build auth-munge RPM
21
# --without munge    %%_without_munge    1    don't build auth-munge RPM
22
# --with mysql       %_with_mysql       1    require mysql/mariadb support
22
# --with mysql       %%_with_mysql       1    require mysql support
23
# --with openssl     %_with_openssl     1    require openssl RPM to be installed
23
# --with openssl     %%_with_openssl     1    require openssl RPM to be installed
24
# --without pam      %_without_pam      1    don't require pam-devel RPM to be installed
24
# --without pam      %%_without_pam      1    don't require pam-devel RPM to be installed
25
# --with percs       %_with_percs       1    build percs RPM
25
# --with percs       %%_with_percs       1    build percs RPM
26
# --without readline %_without_readline 1    don't require readline-devel RPM to be installed
26
# --without readline %%_without_readline 1    don't require readline-devel RPM to be installed
27
# --with sgijob      %_with_sgijob      1    build proctrack-sgi-job RPM
27
# --with sgijob      %%_with_sgijob      1    build proctrack-sgi-job RPM
28
# --with sun_const   %_with_sun_const   1    build for Sun Constellation system
28
# --with sun_const   %%_with_sun_const   1    build for Sun Constellation system
29
#
29
#
30
#  Allow defining --with and --without build options or %_with and %without in .rpmmacros
30
#  Allow defining --with and --without build options or %%_with and %%without in .rpmmacros
31
#    slurm_with    builds option by default unless --without is specified
31
#    slurm_with    builds option by default unless --without is specified
32
#    slurm_without builds option iff --with specified
32
#    slurm_without builds option iff --with specified
33
#
33
#
Lines 38-43 Link Here
38
#
38
#
39
%define slurm_with() %{expand:%%{?slurm_with_%{1}:1}%%{!?slurm_with_%{1}:0}}
39
%define slurm_with() %{expand:%%{?slurm_with_%{1}:1}%%{!?slurm_with_%{1}:0}}
40
40
41
42
41
#  Options that are off by default (enable with --with <opt>)
43
#  Options that are off by default (enable with --with <opt>)
42
%slurm_without_opt auth_none
44
%slurm_without_opt auth_none
43
%slurm_without_opt authd
45
%slurm_without_opt authd
Lines 85-126 Link Here
85
%slurm_with_opt sgijob
87
%slurm_with_opt sgijob
86
%endif
88
%endif
87
89
88
Name:    see META file
90
89
Version: see META file
91
Name:    slurm
90
Release: see META file
92
Version: 15.08.3
93
Release: 1
91
94
92
Summary: Slurm Workload Manager
95
Summary: Slurm Workload Manager
93
96
94
License: GPL
97
License: GPL%{?suse_version:-2.0+}
95
Group: System Environment/Base
98
Group: System Environment/Base
96
Source: %{name}-%{version}-%{release}.tgz
99
Source: %{name}-%{version}.tar.xz
97
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
100
BuildRoot: %{_tmppath}/%{name}-%{version}
98
URL: http://slurm.schedmd.com/
101
URL: http://slurm.schedmd.com/
99
102
100
Requires: slurm-plugins
103
Requires: slurm-plugins
101
104
102
%ifos linux
105
%ifos linux
106
%if 0%{?suse_version} >= 1310 || 0%{?rhel} >= 7
107
BuildRequires: systemd
108
%{?systemd_requires}
109
%endif
103
BuildRequires: python
110
BuildRequires: python
111
BuildRequires: ncurses-devel
112
BuildRequires: glib2-devel
113
BuildRequires: gtk2-devel
114
    %if 0%{?suse_version} >= 1310
115
BuildRequires: lua-devel
116
BuildRequires: rrdtool-devel
117
BuildRequires: freeipmi-devel
118
BuildRequires: systemd-rpm-macros
119
BuildRequires: pkg-config
120
BuildRequires: hdf5-devel
121
BuildRequires: libnuma-devel
122
BuildRequires: libmysqlclient-devel
123
BuildRequires: fdupes
124
Requires(pre): pwdutils
125
        %if 0%{?suse_version} >= 1315
126
BuildRequires: hwloc-devel
127
BuildRequires: dmtcp-devel
128
BuildRequires: libjson-c-devel
129
        %else
130
BuildRequires: libdmtcpaware-devel
131
BuildRequires: libjson-devel
132
        %endif
133
    %else
134
BuildRequires: numactl-devel
135
    %endif
136
%endif
137
138
139
%define systemd_avail %{defined systemd_requires}
140
141
142
%if %systemd_avail
143
%if (! %{defined service_add_pre}) && %{defined systemd_pre}
144
    %define service_add_pre %{expand:%%{systemd_pre %*}}
145
%else
146
    %define service_add_pre() %{nil}
147
%endif
148
%if (! %{defined service_add_post})
149
    %define service_add_post() %{expand:%%{systemd_post %*}}
150
%endif
151
%if (! %{defined service_del_preun})
152
    %define service_del_preun() %{expand:%%{systemd_preun %*}}
104
%endif
153
%endif
154
%if (! %{defined service_del_postun})
155
    %define service_del_postun() %{expand:%%{systemd_postun %*}}
156
%endif
157
%endif
158
159
160
105
161
106
%ifos solaris
162
%ifos solaris
107
Requires:	SUNWgnome-base-libs
163
Requires:         SUNWgnome-base-libs
108
BuildRequires:	SUNWgnome-base-libs
164
BuildRequires:    SUNWgnome-base-libs
109
165
110
Requires:	SUNWopenssl
166
Requires:         SUNWopenssl
111
BuildRequires:	SUNWopenssl
167
BuildRequires:    SUNWopenssl
112
168
113
BuildRequires:	SUNWaconf
169
BuildRequires:    SUNWaconf
114
BuildRequires:	SUNWgnu-automake-110
170
BuildRequires:    SUNWgnu-automake-110
115
BuildRequires:	SUNWlibtool
171
BuildRequires:    SUNWlibtool
116
BuildRequires:	SUNWgcc
172
BuildRequires:    SUNWgcc
117
BuildRequires:	SUNWgnome-common-devel
173
BuildRequires:    SUNWgnome-common-devel
118
%endif
174
%endif
119
175
120
# not sure if this is always an actual rpm or not so leaving the requirement out
176
# not sure if this is always an actual rpm or not so leaving the requirement out
121
#%if %{slurm_with blcr}
177
#%%if %%{slurm_with blcr}
122
#BuildRequires: blcr
178
#BuildRequires: blcr
123
#%endif
179
#%%endif
124
180
125
%if %{slurm_with readline}
181
%if %{slurm_with readline}
126
BuildRequires: readline-devel
182
BuildRequires: readline-devel
Lines 177-184 BuildRequires: pkgconfig Link Here
177
# FIXME: AIX can't seem to find this even though this is in existance there.
233
# FIXME: AIX can't seem to find this even though this is in existance there.
178
# We should probably figure out a better way of doing this, but for now we
234
# We should probably figure out a better way of doing this, but for now we
179
# just won't look for it on AIX.
235
# just won't look for it on AIX.
236
%if 0%{?suse_version} >= 1320
237
BuildRequires: perl
238
%else
180
BuildRequires: perl(ExtUtils::MakeMaker)
239
BuildRequires: perl(ExtUtils::MakeMaker)
181
%endif
240
%endif
241
%endif
182
242
183
%description
243
%description
184
Slurm is an open source, fault-tolerant, and highly
244
Slurm is an open source, fault-tolerant, and highly
Lines 225-231 scheduling and accounting modules Link Here
225
285
226
# First we remove $prefix/local and then just prefix to make
286
# First we remove $prefix/local and then just prefix to make
227
# sure we get the correct installdir
287
# sure we get the correct installdir
288
289
%if 0%{?suse_version}
290
%define _perlarch %(perl -e 'use Config; $T=$Config{installvendorarch}; $P=$Config{installprefix}; $P1="$P/local"; $T =~ s/$P1//; $T =~ s/$P//; print $T;')
291
%else
228
%define _perlarch %(perl -e 'use Config; $T=$Config{installsitearch}; $P=$Config{installprefix}; $P1="$P/local"; $T =~ s/$P1//; $T =~ s/$P//; print $T;')
292
%define _perlarch %(perl -e 'use Config; $T=$Config{installsitearch}; $P=$Config{installprefix}; $P1="$P/local"; $T =~ s/$P1//; $T =~ s/$P//; print $T;')
293
%endif
229
294
230
# AIX doesn't always give the correct install prefix here for mans
295
# AIX doesn't always give the correct install prefix here for mans
231
%ifos aix5.3
296
%ifos aix5.3
Lines 245-250 scheduling and accounting modules Link Here
245
Summary: Perl API to Slurm
310
Summary: Perl API to Slurm
246
Group: Development/System
311
Group: Development/System
247
Requires: slurm
312
Requires: slurm
313
%if 0%{?suse_version}
314
Requires: perl-base
315
Requires: perl-Switch
316
%endif
248
%description perlapi
317
%description perlapi
249
Perl API package for Slurm.  This package includes the perl API to provide a
318
Perl API package for Slurm.  This package includes the perl API to provide a
250
helpful interface to Slurm through Perl
319
helpful interface to Slurm through Perl
Lines 283-289 authenticate user originating an RPC Link Here
283
Summary: Slurm authentication and crypto implementation using Munge
352
Summary: Slurm authentication and crypto implementation using Munge
284
Group: System Environment/Base
353
Group: System Environment/Base
285
Requires: slurm munge
354
Requires: slurm munge
286
BuildRequires: munge-devel munge-libs
355
BuildRequires: munge-devel
287
Obsoletes: slurm-auth-munge
356
Obsoletes: slurm-auth-munge
288
%description munge
357
%description munge
289
Slurm authentication and crypto implementation using Munge. Used to
358
Slurm authentication and crypto implementation using Munge. Used to
Lines 397-409 Perl tool to print Slurm job state information. The output is designed to give Link Here
397
information on the resource usage and availablilty, as well as information
466
information on the resource usage and availablilty, as well as information
398
about jobs that are currently active on the machine. This output is built
467
about jobs that are currently active on the machine. This output is built
399
using the Slurm utilities, sinfo, squeue and scontrol, the man pages for these
468
using the Slurm utilities, sinfo, squeue and scontrol, the man pages for these
400
utilites will provide more information and greater depth of understanding
469
utilities will provide more information and greater depth of understanding
401
470
402
%if %{slurm_with pam}
471
%if %{slurm_with pam}
403
%package pam_slurm
472
%package pam_slurm
404
Summary: PAM module for restricting access to compute nodes via Slurm
473
Summary: PAM module for restricting access to compute nodes via Slurm
405
Group: System Environment/Base
474
Group: System Environment/Base
406
Requires: slurm
475
Requires: slurm slurm-devel
407
BuildRequires: pam-devel
476
BuildRequires: pam-devel
408
Obsoletes: pam_slurm
477
Obsoletes: pam_slurm
409
%description pam_slurm
478
%description pam_slurm
Lines 425-453 Gives the ability for Slurm to use Berkeley Lab Checkpoint/Restart Link Here
425
#############################################################################
494
#############################################################################
426
495
427
%prep
496
%prep
428
%setup -n %{name}-%{version}-%{release}
497
%setup -q
429
498
430
%build
499
%build
431
%configure \
500
%configure \
432
	%{!?slurm_with_debug:--disable-debug} \
501
    %{!?slurm_with_debug:--disable-debug} \
433
	%{?slurm_with_partial_attach:--enable-partial-attach} \
502
    %{?slurm_with_partial_attach:--enable-partial-attach} \
434
	%{?slurm_with_sun_const:--enable-sun-const} \
503
    %{?slurm_with_sun_const:--enable-sun-const} \
435
	%{?with_db2_dir:--with-db2-dir=%{?with_db2_dir}} \
504
    %{?with_db2_dir:--with-db2-dir=%{?with_db2_dir}} \
436
	%{?with_pam_dir:--with-pam_dir=%{?with_pam_dir}} \
505
    %{?with_pam_dir:--with-pam_dir=%{?with_pam_dir}} \
437
	%{?with_proctrack:--with-proctrack=%{?with_proctrack}}\
506
    %{?with_proctrack:--with-proctrack=%{?with_proctrack}}\
438
	%{?with_cpusetdir:--with-cpusetdir=%{?with_cpusetdir}} \
507
    %{?with_cpusetdir:--with-cpusetdir=%{?with_cpusetdir}} \
439
	%{?with_apbasildir:--with-apbasildir=%{?with_apbasildir}} \
508
    %{?with_apbasildir:--with-apbasildir=%{?with_apbasildir}} \
440
	%{?with_mysql_config:--with-mysql_config=%{?with_mysql_config}} \
509
    %{?with_mysql_config:--with-mysql_config=%{?with_mysql_config}} \
441
	%{?with_pg_config:--with-pg_config=%{?with_pg_config}} \
510
    %{?with_pg_config:--with-pg_config=%{?with_pg_config}} \
442
	%{?with_ssl:--with-ssl=%{?with_ssl}} \
511
    %{?with_ssl:--with-ssl=%{?with_ssl}} \
443
	%{?with_munge:--with-munge=%{?with_munge}}\
512
    %{?with_munge:--with-munge=%{?with_munge}}\
444
	%{?with_blcr:--with-blcr=%{?with_blcr}}\
513
    %{?with_blcr:--with-blcr=%{?with_blcr}}\
445
	%{?slurm_with_cray:--enable-native-cray}\
514
    %{?slurm_with_cray:--enable-native-cray}\
446
	%{?slurm_with_cray_network:--enable-cray-network}\
515
    %{?slurm_with_cray_network:--enable-cray-network}\
447
	%{?slurm_with_salloc_background:--enable-salloc-background} \
516
    %{?slurm_with_salloc_background:--enable-salloc-background} \
448
	%{!?slurm_with_readline:--without-readline} \
517
    %{!?slurm_with_readline:--without-readline} \
449
	%{?slurm_with_multiple_slurmd:--enable-multiple-slurmd} \
518
    %{?slurm_with_multiple_slurmd:--enable-multiple-slurmd} \
450
	%{?with_cflags}
519
    %{?with_cflags} \
520
    CPPFLAGS="-DLUA_COMPAT_MODULE"
451
521
452
%__make %{?_smp_mflags}
522
%__make %{?_smp_mflags}
453
523
Lines 456-483 rm -rf "$RPM_BUILD_ROOT" Link Here
456
DESTDIR="$RPM_BUILD_ROOT" %__make install
526
DESTDIR="$RPM_BUILD_ROOT" %__make install
457
DESTDIR="$RPM_BUILD_ROOT" %__make install-contrib
527
DESTDIR="$RPM_BUILD_ROOT" %__make install-contrib
458
528
529
%if 0%{?suse_version}
530
    mkdir -p `dirname ${RPM_BUILD_ROOT}/%_perldir`
531
    mv ${RPM_BUILD_ROOT}/%{_prefix}/`perl -e 'use Config; $T=$Config{installsitearch}; $P=$Config{installprefix}; $P1="$P/local"; $T =~ s/$P1//; $T =~ s/$P//; print $T;'` ${RPM_BUILD_ROOT}/%_perldir
532
%endif
533
459
%ifos aix5.3
534
%ifos aix5.3
460
   mv ${RPM_BUILD_ROOT}%{_bindir}/srun ${RPM_BUILD_ROOT}%{_sbindir}
535
   mv ${RPM_BUILD_ROOT}%{_bindir}/srun ${RPM_BUILD_ROOT}%{_sbindir}
461
%else
536
%else
537
%if %systemd_avail
538
    install -D -m644 etc/slurmctld.service $RPM_BUILD_ROOT/%{_unitdir}/slurmctld.service
539
    install -D -m644 etc/slurmd.service    $RPM_BUILD_ROOT/%{_unitdir}/slurmd.service
540
    install -D -m644 etc/slurmdbd.service  $RPM_BUILD_ROOT/%{_unitdir}/slurmdbd.service
541
542
    install -D -m644 etc/slurm-ctld.conf   $RPM_BUILD_ROOT/%_tmpfilesdir/slurm-ctld.conf
543
    install -D -m644 etc/slurm-d.conf      $RPM_BUILD_ROOT/%_tmpfilesdir/slurm-d.conf
544
545
    %if 0%{?suse_version}
546
        ln -s service $RPM_BUILD_ROOT/usr/sbin/rcslurmd
547
        ln -s service $RPM_BUILD_ROOT/usr/sbin/rcslurmctld
548
        ln -s service $RPM_BUILD_ROOT/usr/sbin/rcslurmdbd
549
    %endif
550
%else
462
   if [ -d /etc/init.d ]; then
551
   if [ -d /etc/init.d ]; then
463
      install -D -m755 etc/init.d.slurm    $RPM_BUILD_ROOT/etc/init.d/slurm
552
      install -D -m755 etc/init.d.slurm    $RPM_BUILD_ROOT/etc/init.d/slurm
464
      install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT/etc/init.d/slurmdbd
553
      install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT/etc/init.d/slurmdbd
465
      mkdir -p "$RPM_BUILD_ROOT/usr/sbin"
554
      mkdir -p "$RPM_BUILD_ROOT/usr/sbin"
466
      ln -s ../../etc/init.d/slurm    $RPM_BUILD_ROOT/usr/sbin/rcslurm
555
      ln -s ../../etc/init.d/slurm    $RPM_BUILD_ROOT/usr/sbin/rcslurm
467
      ln -s ../../etc/init.d/slurmdbd $RPM_BUILD_ROOT/usr/sbin/rcslurmdbd
556
      ln -s ../../etc/init.d/slurmdbd $RPM_BUILD_ROOT/usr/sbin/rcslurmdbd
557
468
   fi
558
   fi
469
   if [ -d /usr/lib/systemd/system ]; then
559
%endif
470
      install -D -m644 etc/slurmctld.service $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmctld.service
471
      install -D -m644 etc/slurmd.service    $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmd.service
472
      install -D -m644 etc/slurmdbd.service  $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmdbd.service
473
   fi
474
%endif
560
%endif
475
561
476
# Do not package Slurm's version of libpmi on Cray systems.
562
# Do not package Slurm's version of libpmi on Cray systems with ALPS.
477
# Cray's version of libpmi should be used.
563
# Cray's version of libpmi should be used.
478
%if %{slurm_with cray} || %{slurm_with cray_alps}
564
%if %{slurm_with cray} || %{slurm_with cray_alps}
479
   rm -f $RPM_BUILD_ROOT/%{_libdir}/libpmi*
565
   %if %{slurm_with cray_alps}
480
   %if %{slurm_with cray}
566
      rm -f $RPM_BUILD_ROOT/%{_libdir}/libpmi*
567
   %else
481
      install -D -m644 contribs/cray/plugstack.conf.template ${RPM_BUILD_ROOT}%{_sysconfdir}/plugstack.conf.template
568
      install -D -m644 contribs/cray/plugstack.conf.template ${RPM_BUILD_ROOT}%{_sysconfdir}/plugstack.conf.template
482
      install -D -m644 contribs/cray/slurm.conf.template ${RPM_BUILD_ROOT}%{_sysconfdir}/slurm.conf.template
569
      install -D -m644 contribs/cray/slurm.conf.template ${RPM_BUILD_ROOT}%{_sysconfdir}/slurm.conf.template
483
   %endif
570
   %endif
Lines 505-516 install -D -m755 contribs/sgather/sgather ${RPM_BUILD_ROOT}%{_bindir}/sgather Link Here
505
install -D -m755 contribs/sjstat ${RPM_BUILD_ROOT}%{_bindir}/sjstat
592
install -D -m755 contribs/sjstat ${RPM_BUILD_ROOT}%{_bindir}/sjstat
506
593
507
# Correct some file permissions
594
# Correct some file permissions
508
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi.la	&&
595
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi.la    &&
509
	chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libpmi.la
596
    chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libpmi.la
510
test -f $RPM_BUILD_ROOT/%{_libdir}/libslurm.la	&&
597
test -f $RPM_BUILD_ROOT/%{_libdir}/libslurm.la    &&
511
	chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libslurm.la
598
    chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libslurm.la
512
test -f $RPM_BUILD_ROOT/%{_libdir}/libslurmdb.la &&
599
test -f $RPM_BUILD_ROOT/%{_libdir}/libslurmdb.la &&
513
	chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libslurmdb.la
600
    chmod 644 $RPM_BUILD_ROOT/%{_libdir}/libslurmdb.la
514
601
515
# Delete unpackaged files:
602
# Delete unpackaged files:
516
test -s $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs         ||
603
test -s $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs         ||
Lines 602-617 ${RPM_BUILD_ROOT}%{_bindir}/sjstat --roff > $RPM_BUILD_ROOT/%{_mandir}/man1/sjst Link Here
602
# Build conditional file list for main package
689
# Build conditional file list for main package
603
LIST=./slurm.files
690
LIST=./slurm.files
604
touch $LIST
691
touch $LIST
605
test -f $RPM_BUILD_ROOT/etc/init.d/slurm			&&
692
test -f $RPM_BUILD_ROOT/etc/init.d/slurm        && echo /etc/init.d/slurm       >> $LIST
606
  echo /etc/init.d/slurm				>> $LIST
693
test -f $RPM_BUILD_ROOT/%{_sbindir}/rcslurm     && echo %{_sbindir}/rcslurm     >> $LIST
607
test -f $RPM_BUILD_ROOT/usr/sbin/rcslurm			&&
694
test -f $RPM_BUILD_ROOT/%{_sbindir}/rcslurmd    && echo %{_sbindir}/rcslurmd    >> $LIST
608
  echo /usr/sbin/rcslurm				>> $LIST
695
test -f $RPM_BUILD_ROOT/%{_sbindir}/rcslurmctld && echo %{_sbindir}/rcslurmctld >> $LIST
609
test -f $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmctld.service	&&
696
test -f $RPM_BUILD_ROOT/%{_unitdir}/slurmctld.service && echo %{_unitdir}/slurmctld.service >> $LIST
610
  echo /usr/lib/systemd/system/slurmctld.service		>> $LIST
697
test -f $RPM_BUILD_ROOT/%{_unitdir}/slurmd.service    && echo %{_unitdir}/slurmd.service    >> $LIST
611
test -f $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmd.service	&&
698
test -f $RPM_BUILD_ROOT/%{_tmpfilesdir}/slurm-ctld.conf && echo %{_tmpfilesdir}/slurm-ctld.conf >> $LIST
612
  echo /usr/lib/systemd/system/slurmd.service		>> $LIST
699
test -f $RPM_BUILD_ROOT/%{_tmpfilesdir}/slurm-d.conf    && echo %{_tmpfilesdir}/slurm-d.conf    >> $LIST
613
test -f $RPM_BUILD_ROOT/%{_bindir}/netloc_to_topology		&&
700
test -f $RPM_BUILD_ROOT/%{_bindir}/netloc_to_topology   && echo %{_bindir}/netloc_to_topology   >> $LIST
614
  echo %{_bindir}/netloc_to_topology			>> $LIST
701
615
702
616
test -f $RPM_BUILD_ROOT/opt/modulefiles/slurm/%{version}-%{release} &&
703
test -f $RPM_BUILD_ROOT/opt/modulefiles/slurm/%{version}-%{release} &&
617
  echo /opt/modulefiles/slurm/%{version}-%{release} >> $LIST
704
  echo /opt/modulefiles/slurm/%{version}-%{release} >> $LIST
Lines 660-704 test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/proctrack_aix.so && Link Here
660
747
661
LIST=./devel.files
748
LIST=./devel.files
662
touch $LIST
749
touch $LIST
663
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi.la			&&
750
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi.la            &&
664
  echo %{_libdir}/libpmi.la				>> $LIST
751
  echo %{_libdir}/libpmi.la                >> $LIST
665
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi2.la			&&
752
test -f $RPM_BUILD_ROOT/%{_libdir}/libpmi2.la            &&
666
  echo %{_libdir}/libpmi2.la				>> $LIST
753
  echo %{_libdir}/libpmi2.la                >> $LIST
667
754
668
LIST=./percs.files
755
LIST=./percs.files
669
touch $LIST
756
touch $LIST
670
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/checkpoint_poe.so	&&
757
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/checkpoint_poe.so    &&
671
   echo %{_libdir}/slurm/checkpoint_poe.so		 >> $LIST
758
   echo %{_libdir}/slurm/checkpoint_poe.so         >> $LIST
672
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/switch_nrt.so  	&&
759
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/switch_nrt.so      &&
673
  echo %{_libdir}/slurm/switch_nrt.so			>> $LIST
760
  echo %{_libdir}/slurm/switch_nrt.so            >> $LIST
674
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/libpermapi.so  	&&
761
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/libpermapi.so      &&
675
  echo %{_libdir}/slurm/libpermapi.so			>> $LIST
762
  echo %{_libdir}/slurm/libpermapi.so            >> $LIST
676
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/launch_poe.so          &&
763
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/launch_poe.so          &&
677
   echo %{_libdir}/slurm/launch_poe.so                  >> $LIST
764
   echo %{_libdir}/slurm/launch_poe.so                  >> $LIST
678
765
679
766
680
LIST=./slurmdbd.files
767
LIST=./slurmdbd.files
681
touch $LIST
768
touch $LIST
682
test -f $RPM_BUILD_ROOT/etc/init.d/slurmdbd			&&
769
test -f $RPM_BUILD_ROOT/etc/init.d/slurmdbd && echo /etc/init.d/slurmdbd >> $LIST
683
  echo /etc/init.d/slurmdbd				>> $LIST
770
test -f $RPM_BUILD_ROOT/usr/sbin/rcslurmdbd && echo /usr/sbin/rcslurmdbd >> $LIST
684
test -f $RPM_BUILD_ROOT/usr/sbin/rcslurmdbd			&&
771
test -f $RPM_BUILD_ROOT/%{_unitdir}/slurmdbd.service && echo %{_unitdir}/slurmdbd.service >> $LIST
685
  echo /usr/sbin/rcslurmdbd				>> $LIST
686
test -f $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmdbd.service	&&
687
  echo /usr/lib/systemd/system/slurmdbd.service		>> $LIST
688
772
689
LIST=./sql.files
773
LIST=./sql.files
690
touch $LIST
774
touch $LIST
691
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/accounting_storage_mysql.so &&
775
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/accounting_storage_mysql.so &&
692
   echo %{_libdir}/slurm/accounting_storage_mysql.so >> $LIST
776
    echo %{_libdir}/slurm/accounting_storage_mysql.so >> $LIST
693
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/jobcomp_mysql.so            &&
777
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/jobcomp_mysql.so            &&
694
   echo %{_libdir}/slurm/jobcomp_mysql.so            >> $LIST
778
    echo %{_libdir}/slurm/jobcomp_mysql.so            >> $LIST
695
779
696
LIST=./perlapi.files
780
LIST=./perlapi.files
697
touch $LIST
781
touch $LIST
698
test -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs        &&
782
test -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs     &&
699
   echo $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs        >> $LIST
783
   echo $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/Slurm.bs     >> $LIST
700
test -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/Slurmdb.bs    &&
784
test -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/Slurmdb.bs &&
701
   echo $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/Slurmdb.bs    >> $LIST
785
   echo $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/Slurmdb.bs >> $LIST
702
786
703
LIST=./plugins.files
787
LIST=./plugins.files
704
touch $LIST
788
touch $LIST
Lines 732-737 test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/power_cray.so && Link Here
732
   echo %{_libdir}/slurm/power_cray.so               >> $LIST
816
   echo %{_libdir}/slurm/power_cray.so               >> $LIST
733
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/select_bluegene.so          &&
817
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/select_bluegene.so          &&
734
   echo %{_libdir}/slurm/select_bluegene.so          >> $LIST
818
   echo %{_libdir}/slurm/select_bluegene.so          >> $LIST
819
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/slurmctld_dynalloc.so       &&
820
   echo %{_libdir}/slurm/slurmctld_dynalloc.so       >> $LIST
735
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_affinity.so            &&
821
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_affinity.so            &&
736
   echo %{_libdir}/slurm/task_affinity.so            >> $LIST
822
   echo %{_libdir}/slurm/task_affinity.so            >> $LIST
737
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_cgroup.so              &&
823
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_cgroup.so              &&
Lines 752-774 test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/proctrack_cray.so && Link Here
752
LIST=./pam.files
838
LIST=./pam.files
753
touch $LIST
839
touch $LIST
754
%if %{?with_pam_dir}0
840
%if %{?with_pam_dir}0
755
    test -f $RPM_BUILD_ROOT/%{with_pam_dir}/pam_slurm.so	&&
841
    test -f $RPM_BUILD_ROOT/%{with_pam_dir}/pam_slurm.so    &&
756
	echo %{with_pam_dir}/pam_slurm.so	>>$LIST
842
    echo %{with_pam_dir}/pam_slurm.so    >>$LIST
757
    test -f $RPM_BUILD_ROOT/%{with_pam_dir}/pam_slurm_adopt.so	&&
843
    test -f $RPM_BUILD_ROOT/%{with_pam_dir}/pam_slurm_adopt.so    &&
758
	echo %{with_pam_dir}/pam_slurm_adopt.so	>>$LIST
844
    echo %{with_pam_dir}/pam_slurm_adopt.so    >>$LIST
759
%else
845
%else
760
    test -f $RPM_BUILD_ROOT/lib/security/pam_slurm.so	&&
846
    test -f $RPM_BUILD_ROOT/lib/security/pam_slurm.so        &&
761
	echo /lib/security/pam_slurm.so		>>$LIST
847
    echo /lib/security/pam_slurm.so        >>$LIST
762
    test -f $RPM_BUILD_ROOT/lib32/security/pam_slurm.so	&&
848
    test -f $RPM_BUILD_ROOT/lib32/security/pam_slurm.so        &&
763
	echo /lib32/security/pam_slurm.so	>>$LIST
849
    echo /lib32/security/pam_slurm.so    >>$LIST
764
    test -f $RPM_BUILD_ROOT/lib64/security/pam_slurm.so	&&
850
    test -f $RPM_BUILD_ROOT/lib64/security/pam_slurm.so        &&
765
	echo /lib64/security/pam_slurm.so	>>$LIST
851
    echo /lib64/security/pam_slurm.so    >>$LIST
766
    test -f $RPM_BUILD_ROOT/lib/security/pam_slurm_adopt.so		&&
852
    test -f $RPM_BUILD_ROOT/lib/security/pam_slurm_adopt.so &&
767
	echo /lib/security/pam_slurm_adopt.so		>>$LIST
853
    echo /lib/security/pam_slurm_adopt.so    >>$LIST
768
    test -f $RPM_BUILD_ROOT/lib32/security/pam_slurm_adopt.so		&&
854
    test -f $RPM_BUILD_ROOT/lib32/security/pam_slurm_adopt.so    &&
769
	echo /lib32/security/pam_slurm_adopt.so		>>$LIST
855
    echo /lib32/security/pam_slurm_adopt.so    >>$LIST
770
    test -f $RPM_BUILD_ROOT/lib64/security/pam_slurm_adopt.so		&&
856
    test -f $RPM_BUILD_ROOT/lib64/security/pam_slurm_adopt.so    &&
771
	echo /lib64/security/pam_slurm_adopt.so		>>$LIST
857
    echo /lib64/security/pam_slurm_adopt.so    >>$LIST
858
%endif
859
860
%if 0%{?suse_version}
861
fdupes -s $RPM_BUILD_ROOT
772
%endif
862
%endif
773
#############################################################################
863
#############################################################################
774
864
Lines 778-784 rm -rf $RPM_BUILD_ROOT Link Here
778
868
779
%files -f slurm.files
869
%files -f slurm.files
780
%defattr(-,root,root,0755)
870
%defattr(-,root,root,0755)
781
%{_datadir}/doc
871
%{_datadir}/doc/slurm*
782
%{_bindir}/s*
872
%{_bindir}/s*
783
%exclude %{_bindir}/sjobexitmod
873
%exclude %{_bindir}/sjobexitmod
784
%exclude %{_bindir}/sjstat
874
%exclude %{_bindir}/sjstat
Lines 788-795 rm -rf $RPM_BUILD_ROOT Link Here
788
%ifos aix5.3
878
%ifos aix5.3
789
%{_sbindir}/srun
879
%{_sbindir}/srun
790
%endif
880
%endif
791
%{_libdir}/*.so*
881
%{_libdir}/*.so.*
792
%{_libdir}/slurm/src/*
882
#%%{_libdir}/slurm/src/*
793
%{_mandir}/man1/*
883
%{_mandir}/man1/*
794
%{_mandir}/man5/acct_gather.*
884
%{_mandir}/man5/acct_gather.*
795
%{_mandir}/man5/burst_buffer.*
885
%{_mandir}/man5/burst_buffer.*
Lines 805-814 rm -rf $RPM_BUILD_ROOT Link Here
805
%{_mandir}/man8/slurmd.*
895
%{_mandir}/man8/slurmd.*
806
%{_mandir}/man8/slurmstepd*
896
%{_mandir}/man8/slurmstepd*
807
%{_mandir}/man8/spank*
897
%{_mandir}/man8/spank*
898
#%%dir %%{_libdir}/slurm/src
899
%config %{_sysconfdir}/../ld.so.conf.d/slurm.conf
808
%dir %{_sysconfdir}
900
%dir %{_sysconfdir}
809
%dir %{_libdir}/slurm/src
901
%dir %{_sysconfdir}/cgroup
810
%dir /etc/ld.so.conf.d
902
#/etc/ld.so.conf.d/slurm.conf
811
/etc/ld.so.conf.d/slurm.conf
903
#/etc/slurm
812
%if %{slurm_with cray} || %{slurm_with cray_alps}
904
%if %{slurm_with cray} || %{slurm_with cray_alps}
813
%dir /opt/modulefiles/slurm
905
%dir /opt/modulefiles/slurm
814
%endif
906
%endif
Lines 842-851 rm -rf $RPM_BUILD_ROOT Link Here
842
%{_prefix}/include/slurm/*
934
%{_prefix}/include/slurm/*
843
%{_libdir}/libslurm.la
935
%{_libdir}/libslurm.la
844
%{_libdir}/libslurmdb.la
936
%{_libdir}/libslurmdb.la
937
%{_libdir}/*.so
938
%{_libdir}/slurm/src
845
%{_mandir}/man3/slurm_*
939
%{_mandir}/man3/slurm_*
846
%dir %{_libdir}/pkgconfig
940
%dir %{_libdir}/pkgconfig
847
%{_libdir}/pkgconfig/slurm.pc
941
%{_libdir}/pkgconfig/slurm.pc
848
#%{_mandir}/man3/slurmdb_*
942
#%%{_mandir}/man3/slurmdb_*
849
#############################################################################
943
#############################################################################
850
944
851
%if %{slurm_with auth_none}
945
%if %{slurm_with auth_none}
Lines 864-871 rm -rf $RPM_BUILD_ROOT Link Here
864
#############################################################################
958
#############################################################################
865
959
866
%if %{slurm_with authd}
960
%if %{slurm_with authd}
867
%defattr(-,root,root)
868
%files auth-authd
961
%files auth-authd
962
%defattr(-,root,root)
869
%{_libdir}/slurm/auth_authd.so
963
%{_libdir}/slurm/auth_authd.so
870
%endif
964
%endif
871
#############################################################################
965
#############################################################################
Lines 884-898 rm -rf $RPM_BUILD_ROOT Link Here
884
978
885
%files -f perlapi.files perlapi
979
%files -f perlapi.files perlapi
886
%defattr(-,root,root)
980
%defattr(-,root,root)
887
%{_perldir}/Slurm.pm
981
%{_perldir}/Slurm*
888
%{_perldir}/Slurm/Bitstr.pm
982
%{_perldir}/auto
889
%{_perldir}/Slurm/Constant.pm
890
%{_perldir}/Slurm/Hostlist.pm
891
%{_perldir}/Slurm/Stepctx.pm
892
%{_perldir}/auto/Slurm/Slurm.so
893
%{_perldir}/Slurmdb.pm
894
%{_perldir}/auto/Slurmdb/Slurmdb.so
895
%{_perldir}/auto/Slurmdb/autosplit.ix
896
%{_perlman3dir}/Slurm*
983
%{_perlman3dir}/Slurm*
897
984
898
#############################################################################
985
#############################################################################
Lines 950-955 rm -rf $RPM_BUILD_ROOT Link Here
950
%{_libdir}/slurm/mpi_mpich1_shmem.so
1037
%{_libdir}/slurm/mpi_mpich1_shmem.so
951
%{_libdir}/slurm/mpi_mpichgm.so
1038
%{_libdir}/slurm/mpi_mpichgm.so
952
%{_libdir}/slurm/mpi_mpichmx.so
1039
%{_libdir}/slurm/mpi_mpichmx.so
1040
%{_libdir}/slurm/mpi_mvapich.so
953
%{_libdir}/slurm/mpi_openmpi.so
1041
%{_libdir}/slurm/mpi_openmpi.so
954
%{_libdir}/slurm/mpi_pmi2.so
1042
%{_libdir}/slurm/mpi_pmi2.so
955
%endif
1043
%endif
Lines 976-981 rm -rf $RPM_BUILD_ROOT Link Here
976
%{_libdir}/slurm/select_cons_res.so
1064
%{_libdir}/slurm/select_cons_res.so
977
%{_libdir}/slurm/select_linear.so
1065
%{_libdir}/slurm/select_linear.so
978
%{_libdir}/slurm/select_serial.so
1066
%{_libdir}/slurm/select_serial.so
1067
%{_libdir}/slurm/slurmctld_nonstop.so
979
%{_libdir}/slurm/switch_generic.so
1068
%{_libdir}/slurm/switch_generic.so
980
%{_libdir}/slurm/switch_none.so
1069
%{_libdir}/slurm/switch_none.so
981
%{_libdir}/slurm/task_none.so
1070
%{_libdir}/slurm/task_none.so
Lines 1066-1089 rm -rf $RPM_BUILD_ROOT Link Here
1066
#############################################################################
1155
#############################################################################
1067
1156
1068
%pre
1157
%pre
1069
#if [ -x /etc/init.d/slurm ]; then
1158
getent group slurm >/dev/null || groupadd -r slurm
1070
#    if /etc/init.d/slurm status | grep -q running; then
1159
getent passwd slurm >/dev/null || useradd -r -g slurm -d /var/spool/slurm -s /sbin/nologin slurm
1071
#        /etc/init.d/slurm stop
1160
%if %systemd_avail
1072
#    fi
1161
%service_add_pre slurmd.service slurmctld.service
1073
#fi
1162
%else
1074
#if [ -x /etc/init.d/slurmdbd ]; then
1163
if [ -x /etc/init.d/slurm ]; then
1075
#    if /etc/init.d/slurmdbd status | grep -q running; then
1164
   if /etc/init.d/slurm status | grep -q running; then
1076
#        /etc/init.d/slurmdbd stop
1165
       /etc/init.d/slurm stop
1077
#    fi
1166
   fi
1078
#fi
1167
fi
1079
1168
if [ -x /etc/init.d/slurmdbd ]; then
1169
   if /etc/init.d/slurmdbd status | grep -q running; then
1170
       /etc/init.d/slurmdbd stop
1171
   fi
1172
fi
1173
%endif
1080
%post
1174
%post
1081
if [ -x /sbin/ldconfig ]; then
1175
if [ -x /sbin/ldconfig ]; then
1082
    /sbin/ldconfig %{_libdir}
1176
    /sbin/ldconfig %{_libdir}
1177
fi
1178
%if %systemd_avail
1179
    %service_add_post slurmd.service slurmctld.service
1180
    systemd-tmpfiles --create slurm-d.conf slurm-ctld.conf
1181
%else
1083
    if [ $1 = 1 ]; then
1182
    if [ $1 = 1 ]; then
1084
	[ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm
1183
        [ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm
1085
    fi
1184
    fi
1086
fi
1185
%endif
1087
1186
1088
%if %{slurm_with bluegene}
1187
%if %{slurm_with bluegene}
1089
%post bluegene
1188
%post bluegene
Lines 1092-1123 if [ -x /sbin/ldconfig ]; then Link Here
1092
fi
1191
fi
1093
%endif
1192
%endif
1094
1193
1194
1195
%if %systemd_avail
1196
%pre slurmdbd
1197
%service_add_pre  slurmdbd.service
1198
1199
%post slurmdbd
1200
%service_add_post slurmdbd.service
1201
%endif
1202
1203
1204
1095
%preun
1205
%preun
1096
if [ "$1" -eq 0 ]; then
1206
%if %systemd_avail
1097
    if [ -x /etc/init.d/slurm ]; then
1207
    %service_del_preun slurmd.service slurmctld.service
1098
	[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
1208
%else
1099
	if /etc/init.d/slurm status | grep -q running; then
1209
    if [ "$1" = 0 ]; then
1100
	    /etc/init.d/slurm stop
1210
        if [ -x /etc/init.d/slurm ]; then
1101
	fi
1211
            [ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
1212
            if /etc/init.d/slurm status | grep -q running; then
1213
                /etc/init.d/slurm stop
1214
            fi
1215
        fi
1102
    fi
1216
    fi
1103
fi
1217
%endif
1104
1218
1105
%preun slurmdbd
1219
%preun slurmdbd
1106
if [ "$1" -eq 0 ]; then
1220
%if %systemd_avail
1107
    if [ -x /etc/init.d/slurmdbd ]; then
1221
    %service_del_preun slurmdbd.service
1108
	[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurmdbd
1222
%else
1109
	if /etc/init.d/slurmdbd status | grep -q running; then
1223
    if [ "$1" = 0 ]; then
1110
	    /etc/init.d/slurmdbd stop
1224
        if [ -x /etc/init.d/slurmdbd ]; then
1111
	fi
1225
            [ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurmdbd
1226
            if /etc/init.d/slurmdbd status | grep -q running; then
1227
                /etc/init.d/slurmdbd stop
1228
            fi
1229
        fi
1112
    fi
1230
    fi
1113
fi
1231
%endif
1114
1232
1115
%postun
1233
%postun
1116
if [ "$1" -gt 1 ]; then
1234
%if %systemd_avail
1117
    /etc/init.d/slurm condrestart
1235
    %service_del_postun slurmd.service slurmctld.service
1118
elif [ "$1" -eq 0 ]; then
1236
%else
1237
    if [ "$1" -qt 1 ]; then
1238
        /etc/init.d/slurm condrestart
1239
    fi
1240
%endif
1241
if [ "$1" = 0 ]; then
1119
    if [ -x /sbin/ldconfig ]; then
1242
    if [ -x /sbin/ldconfig ]; then
1120
	/sbin/ldconfig %{_libdir}
1243
        /sbin/ldconfig %{_libdir}
1121
    fi
1244
    fi
1122
fi
1245
fi
1123
%if %{?insserv_cleanup:1}0
1246
%if %{?insserv_cleanup:1}0
Lines 1125-1134 fi Link Here
1125
%endif
1248
%endif
1126
1249
1127
%postun slurmdbd
1250
%postun slurmdbd
1128
if [ "$1" -gt 1 ]; then
1251
%if %systemd_avail
1129
    /etc/init.d/slurmdbd condrestart
1252
    %service_del_postun slurmdbd.service
1130
fi
1253
%else
1131
1254
    if [ "$1" -qt 1 ]; then
1255
        /etc/init.d/slurmdbd condrestart
1256
    fi
1257
%endif
1132
#############################################################################
1258
#############################################################################
1133
1259
1134
1260

Return to ticket 2134