Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
46791433
Commit
46791433
authored
15 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
add pam_slurm to a new rpm
parent
272b81db
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slurm.spec
+20
-4
20 additions, 4 deletions
slurm.spec
with
20 additions
and
4 deletions
slurm.spec
+
20
−
4
View file @
46791433
...
@@ -112,10 +112,6 @@ BuildRequires: ncurses-devel
...
@@ -112,10 +112,6 @@ BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig
%endif
%endif
%if %{slurm_with pam}
BuildRequires: pam-devel
%endif
%if %{slurm_with readline}
%if %{slurm_with readline}
BuildRequires: readline-devel
BuildRequires: readline-devel
%endif
%endif
...
@@ -287,6 +283,19 @@ Requires: slurm
...
@@ -287,6 +283,19 @@ Requires: slurm
%description sjstat
%description sjstat
Perl tool to print SLURM job state information.
Perl tool to print SLURM job state information.
%if %{slurm_with pam}
%package pam_slurm
Summary: PAM module for restricting access to compute nodes via SLURM.
Group: System Environment/Base
Requires: slurm
BuildRequires: slurm-devel pam-devel
%description pam_slurm
This module restricts access to compute nodes in a cluster where the Simple
Linux Utility for Resource Managment (SLURM) is in use. Access is granted
to root, any user with an SLURM-launched job currently running on the node,
or any user who has allocated resources on the node according to the SLURM
%endif
#############################################################################
#############################################################################
%prep
%prep
...
@@ -559,6 +568,13 @@ rm -rf $RPM_BUILD_ROOT
...
@@ -559,6 +568,13 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/sjstat
%{_bindir}/sjstat
#############################################################################
#############################################################################
%if %{slurm_with pam}
%files slurm_pam
%defattr(-,root,root)
%{_libdir}/security/pam_slurm.so
%endif
#############################################################################
%pre
%pre
#if [ -x /etc/init.d/slurm ]; then
#if [ -x /etc/init.d/slurm ]; then
# if /etc/init.d/slurm status | grep -q running; then
# if /etc/init.d/slurm status | grep -q running; then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment