Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package slurm for openSUSE:Factory checked 
in at 2023-03-01 16:14:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
 and      /work/SRC/openSUSE:Factory/.slurm.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slurm"

Wed Mar  1 16:14:17 2023 rev:83 rq:1068320 version:23.02.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes      2023-02-09 
16:23:31.054808967 +0100
+++ /work/SRC/openSUSE:Factory/.slurm.new.31432/slurm.changes   2023-03-01 
16:14:44.838815517 +0100
@@ -1,0 +2,241 @@
+Mon Feb 20 20:45:59 UTC 2023 - Egbert Eich <e...@suse.com>
+
+- updated to 23.02.0
+  * Highlights
+    + slurmctld - Add new RPC rate limiting feature. This is enabled through
+      SlurmctldParameters=rl_enable, otherwise disabled by default.
+    + Make scontrol reconfigure and sending a SIGHUP to the slurmctld behave
+      the same. If you were using SIGHUP as a 'lighter' scontrol reconfigure
+      to rotate logs please update your scripts to use SIGUSR2 instead.
+    + Change cloud nodes to show by default. PrivateData=cloud is no longer
+      needed.
+    + sreport - Count planned (FKA reserved) time for jobs running in
+      IGNORE_JOBS reservations. Previously was lumped into IDLE time.
+    + job_container/tmpfs - Support running with an arbitrary list of private
+      mount points (/tmp and /dev/shm are the default, but not required).
+    + job_container/tmpfs - Set more environment variables in InitScript.
+    + Make all cgroup directories created by Slurm owned by root. This was the
+      behavior in cgroup/v2 but not in cgroup/v1 where by default the step
+      directories ownership were set to the user and group of the job.
+    + accounting_storage/mysql - change purge/archive to calculate record ages
+      based on end time, rather than start or submission times.
+    + job_submit/lua - add support for log_user() from slurm_job_modify().
+    + Run the following scripts in slurmscriptd instead of slurmctld:
+      ResumeProgram, ResumeFailProgram, SuspendProgram, ResvProlog, ResvEpilog,
+      and RebootProgram (only with SlurmctldParameters=reboot_from_controller).
+    + Only permit changing log levels with 'srun --slurmd-debug' by root
+      or SlurmUser.
+    + slurmctld will fatal() when reconfiguring the job_submit plugin fails.
+    + Add PowerDownOnIdle partition option to power down nodes after nodes
+      become idle.
+    + Add "[jobid.stepid]" prefix from slurmstepd and "slurmscriptd" prefix
+      from slurmcriptd to Syslog logging. Previously was only happening when
+      logging to a file.
+    + Add purge and archive functionality for job environment and job batch
+      script records.
+    + Extend support for Include files to all "configless" client commands.
+    + Make node weight usable for powered down and rebooting nodes.
+    + Removed 'launch' plugin.
+    + Add "Extra" field to job to store extra information other than a comment.
+    + Add usage gathering for AMD (requires ROCM 5.5+) and NVIDIA gpus.
+    + Add job's allocated nodes, features, oversubscribe, partition, and
+      reservation to SLURM_RESUME_FILE output for power saving.
+    + Automatically create directories for stdout/stderr output files. Paths
+      may use %j and related substitution characters as well.
+    + Add --tres-per-task to salloc/sbatch/srun.
+    + Allow nodefeatures plugin features to work with cloud nodes.
+      e.g. - Powered down nodes have no active changeable features.
+          - Nodes can't be changed to other active features until powered down.
+          - Active changeable features are reset/cleared on power down.
+    + Make slurmstepd cgroups constrained by total configured memory from
+      slurm.conf (NodeName=<> RealMemory=#) instead of total physical memory.
+    + node_features/helpers - add support for the OR and parentheses operators
+      in a --constraint expression.
+    + slurmctld will fatal() when [Prolog|Epilog]Slurmctld are defined but
+      are not executable.
+    + Validate node registered active features are a super set of node's
+      currently active changeable features.
+    + On clusters without any PrologFlags options, batch jobs with failed
+      prologs no longer generate an output file.
+    + Add SLURM_JOB_START_TIME and SLURM_JOB_END_TIME environment variables.
+    + Add SuspendExcStates option to slurm.conf to avoid suspending/powering
+      down specific node states.
+    + Add support for DCMI power readings in IPMI plugin.
+    + slurmrestd served /slurm/v0.0.39 and /slurmdb/v0.0.39 endpoints had major
+      changes from prior versions. Almost all schemas have been renamed and
+      modified. Sites using OpenAPI Generator clients are highly suggested to
+      upgrade to to using atleast version 6.x due to limitations with prior
+      versions.
+    + Allow for --nodelist to contain more nodes than required by --nodes.
+    + Rename "nodes" to "nodes_resume" in SLURM_RESUME_FILE job output.
+    + Rename "all_nodes" to "all_nodes_resume" in SLURM_RESUME_FILE output.
+    + Add jobcomp/kafka plugin.
+    + Add new PreemptParameters=reclaim_licenses option which will allow higher
+      priority jobs to preempt jobs to free up used licenses. (This is only
+      enabled for with PreemptModes of CANCEL and REQUEUE, as Slurm cannot
+      guarantee suspended jobs will release licenses correctly.)
+    + hpe/slingshot - add support for the instant-on feature.
+    + Add ability to update SuspendExc* parameters with scontrol.
+    + Add ability to restore SuspendExc* parameters on restart with slurmctld
+      -R option.
+    + Add ability to clear a GRES specification by setting it to "0" via
+    'scontrol update job'.
+    + Add SLURM_JOB_OVERSUBSCRIBE environment variable for Epilog, Prolog,
+      EpilogSlurmctld, PrologSlurmctld, and mail ouput.
+    + System node down reasons are appended to existing reasons, separated
+      by ':'.
+    + New command scrun has been added. scrun acts as an Open Container
+      Initiative (OCI) runtime proxy to run containers seamlessly via Slurm.
+    + Fixed GpuFreqDef option. When set in slurm.conf, it will be used if
+      --gpu-freq was not explicitly set by the job step.
+  * Configuration Changes
+    + job_container.conf - Added "Dirs" option to list desired private mount
+      points.
+    + node_features plugins - invalid users specified for AllowUserBoot will
+      now result in fatal() rather than just an error.
+    + Deprecate AllowedKmemSpace, ConstrainKmemSpace, MaxKmemPercent, and
+      MinKmemSpace.
+    + Allow jobs to queue even if the user is not in AllowGroups when
+      EnforcePartLimits=no is set. This ensures consistency for all the
+      Partition access controls, and matches the documented behavior for
+      EnforcePartLimits.
+    + Add InfluxDBTimeout parameter to acct_gather.conf.
+    + job_container/tmpfs - add support for expanding %h and %n in BasePath.
+    + slurm.conf - Removed SlurmctldPlugstack option.
+    + Add new SlurmctldParameters=validate_nodeaddr_threads=<number> option to
+      allow concurrent hostname resolution at slurmctld startup.
+    + Add new AccountingStoreFlags=job_extra option to store a job's extra 
field
+      in the database.
+    + Add new "defer_batch" option to SchedulerParameters to only defer
+      scheduling for batch jobs.
+    + Add new DebugFlags option 'JobComp' to replace 'Elasticsearch'.
+    + Add configurable job requeue limit parameter - MaxBatchRequeue - in
+    slurm.conf to permit changes from the old hard-coded value of 5.
+    + helpers.conf - Allow specification of node specific features.
+    + helpers.conf - Allow many features to one helper script.
+    + job_container/tmpfs - Add "Shared" option to support shared namespaces.
+      This allows autofs to work with the job_container/tmpfs plugin when
+      enabled.
+    + acct_gather.conf - Added EnergyIPMIPowerSensors=Node=DCMI and
+      Node=DCMI_ENHANCED.
+    + Add new "getnameinfo_cache_timeout=<number>" option to
+      CommunicationParameters to adjust or disable caching the results of
+      getnameinfo().
+    + Add new PrologFlags=ForceRequeueOnFail option to automatically requeue
+      batch jobs on Prolog failures regardless of the job --requeue setting.
+    + Add HealthCheckNodeState=NONDRAINED_IDLE option.
+    + Add 'explicit' to Flags in gres.conf. This makes it so the gres is not
+      automatically added to a job's allocation when --exclusive is used. Note
+      that this is a per-node flag.
+    + Moved the "preempt_" options from SchedulerParameters to
+      PreemptParameters, and dropped the prefix from the option names.
+      (The old options will still be parsed for backwards compatibility,
+      but are now undocumented.)
+    + Add LaunchParameters=ulimit_pam_adopt, which enables setting RLIMIT_RSS
+      in adopted processes.
+    + Update SwitchParameters=job_vni to enable/disable creating job VNIs
+      for all jobs, or when a user requests them.
+    + Update SwitchParameters=single_node_vni to enable/disable creating
+      single node vnis for all jobs, or when a user requests them.
+    + Add ability to preserve SuspendExc* parameters on reconfig with
+      ReconfigFlags=KeepPowerSaveSettings.
+    + slurmdbd.conf - Add new AllResourcesAbsolute to force all new resources
+      to be created with the Absolute flag.
+    + topology/tree - Add new TopologyParam=SwitchAsNodeRank option to reorder
+      nodes based on switch layout. This can be useful if the naming convention
+      for the nodes does not natually map to the network topology.
+    + Removed the default setting for GpuFreqDef. If unset, no attempt to 
change
+      the GPU frequency will be made if --gpu-freq is not set for the step.
+  * Command Changes
+    + sacctmgr - no longer force updates to the AdminComment, Comment, or
+      SystemComment to lower-case.
+    + sinfo - Add -F/--future option to sinfo to display future nodes.
+    + sacct - Rename 'Reserved' field to 'Planned' to match sreport and the
+      nomenclature of the 'Planned' node.
+    + scontrol - advanced reservation flag MAINT will no longer replace nodes,
+      similar to STATIC_ALLOC
+    + sbatch - add parsing for #PBS -d and #PBS -w.
+    + scontrol show assoc_mgr will show username(uid) instead of uid in
+      QoS section.
+    + Add strigger --draining and -R/--resume options.
+    + Change --oversubscribe and --exclusive to be mutually exclusive for
+      job submission. Job submission commands will now fatal if both are set.
+      Previously, these options would override each other, with the last one
+      in the job submission command taking effect.
+    + scontrol - Requested TRES and allocated TRES will now always be printed
+      when showing jobs, instead of one TRES output that was either the
+      requested or allocated.
+    + srun --ntasks-per-core now applies to job and step allocations. Now,
+      use of --ntasks-per-core=1 implies --cpu-bind=cores and
+      --ntasks-per-core>1 implies --cpu-bind=threads.
+    + salloc/sbatch/srun - Check and abort if ntasks-per-core >
+      threads-per-core.
+    + scontrol - Add ResumeAfter=<secs> option to "scontrol update nodename=".
+    + Add a new "nodes=" argument to scontrol setdebug to allow the debug
+      level on the slurmd processes to be temporarily altered.
+    + Add a new "nodes=" argument to "scontrol setdebugflags" as well.
+    + Make it so scrontab prints client-side the job_submit() err_msg (which
+      can be set i.e. by using the log_user() function for the lua plugin).
+    + scontrol - Reservations will not be allowed to have STATIC_ALLOC or
+      MAINT flags and REPLACE[_DOWN] flags simultaneously.
+    + scontrol - Reservations will only accept one reoccurring flag when
+      being created or updated.
+    + scontrol - A reservation cannot be updated to be reoccurring if it is
+      already a floating reservation.
+    + squeue - removed unused '%s' and 'SelectJobInfo' formats.
+    + squeue - align print format for exit and derived codes with that of
+      other components (<exit_status>:<signal_number>).
+    + sacct - Add --array option to expand job arrays and display array
+      tasks on separate lines.
+    + Partial support for '--json' and '--yaml' formated outputs have been
+      implemented for sacctmgr, sdiag, sinfo, squeue, and scontrol. The
+      resultant data ouput will be filtered by normal command arguments.
+      Formatting arguments will continue to be ignored.
+    + salloc/sbatch/srun - extended the --nodes syntax to allow for a list
+      of valid node counts to be allocated to the job. This also supports
+      a "step count" value (e.g., --nodes=20-100:20 is equivalent to
+      --nodes=20,40,60,80,100) which can simplify the syntax when the job
++++ 47 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/slurm/slurm.changes
++++ and /work/SRC/openSUSE:Factory/.slurm.new.31432/slurm.changes

Old:
----
  slurm-22.05.5.tar.bz2

New:
----
  slurm-23.02.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.gBWu6G/_old  2023-03-01 16:14:45.502818950 +0100
+++ /var/tmp/diff_new_pack.gBWu6G/_new  2023-03-01 16:14:45.506818971 +0100
@@ -17,10 +17,12 @@
 
 
 # Check file META in sources: update so_version to (API_CURRENT - API_AGE)
-%define so_version 38
-%define ver 22.05.5
-%define _ver _22_05
+%define so_version 39
+%define ver 23.02.0
+%define _ver _23_02
+#%%define rc_v 0rc1
 %define dl_ver %{ver}
+#%%define dl_ver 23-02-0%{?rc_v:-%rc_v}
 # so-version is 0 and seems to be stable
 %define pmi_so 0
 %define nss_so 2
@@ -54,6 +56,9 @@
 %if 0%{?sle_version} == 150300 || 0%{?sle_version} == 150400
 %define base_ver 2011
 %endif
+%if 0%{?sle_version} == 150500
+%define base_ver 2302
+%endif
 
 %if 0%{?suse_version} >= 1500
 %define have_sysuser 1
@@ -148,6 +153,7 @@
 Group:          Productivity/Clustering/Computing
 URL:            https://www.schedmd.com
 Source:         https://download.schedmd.com/slurm/%{pname}-%{dl_ver}.tar.bz2
+#Source:         
https://github.com/SchedMD/slurm/archive/refs/tags/%{pname}-%{dl_ver}.tar.gz
 Source1:        slurm-rpmlintrc
 Source10:       
https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmd.xml
 Source11:       
https://raw.githubusercontent.com/openSUSE/hpc/10c105e/files/slurm/slurmctld.xml
@@ -226,6 +232,7 @@
 %{?have_sysuser:BuildRequires:  sysuser-tools}
 %{?systemd_ordering}
 BuildRequires:  dejagnu
+BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(systemd)
 %else
@@ -638,9 +645,7 @@
 %prep
 %setup -q -n %{pname}-%{dl_ver}
 %patch0 -p1
-#%%patch1 -p1
 %patch2 -p1
-#%%patch3 -p1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
@@ -1209,8 +1214,8 @@
 
 %files doc
 %{?comp_at}
-%dir %{_datadir}/doc/%{pname}-%{dl_ver}
-%{_datadir}/doc/%{pname}-%{dl_ver}/*
+%dir %{_datadir}/doc/%{pname}-%{version}%{?rc_v:-%rc_v}
+%{_datadir}/doc/%{pname}-%{version}%{?rc_v:-%rc_v}/*
 
 %files webdoc
 %{?comp_at}
@@ -1302,6 +1307,7 @@
 %{_libdir}/slurm/acct_gather_profile_none.so
 %{_libdir}/slurm/burst_buffer_lua.so
 %{?have_json_c:%{_libdir}/slurm/burst_buffer_datawarp.so}
+%{_libdir}/slurm/data_parser_v0_0_39.so
 %{_libdir}/slurm/cgroup_v1.so
 %if 0%{?suse_version} >= 1500
 %{_libdir}/slurm/cgroup_v2.so
@@ -1335,7 +1341,6 @@
 %{_libdir}/slurm/job_submit_partition.so
 %{_libdir}/slurm/job_submit_require_timelimit.so
 %{_libdir}/slurm/job_submit_throttle.so
-%{_libdir}/slurm/launch_slurm.so
 %{_libdir}/slurm/libslurm_pmi.so
 %{_libdir}/slurm/mcs_account.so
 %{_libdir}/slurm/mcs_group.so
@@ -1369,7 +1374,6 @@
 %{_libdir}/slurm/serializer_url_encoded.so
 %{_libdir}/slurm/serializer_yaml.so
 %{_libdir}/slurm/site_factor_none.so
-%{_libdir}/slurm/slurmctld_nonstop.so
 %{_libdir}/slurm/switch_none.so
 %{_libdir}/slurm/task_affinity.so
 %{_libdir}/slurm/task_cgroup.so
@@ -1428,13 +1432,12 @@
 %{?comp_at}
 %{_sbindir}/slurmrestd
 %{_mandir}/man8/slurmrestd.*
+%{_libdir}/slurm/openapi_dbv0_0_39.so
+%{_libdir}/slurm/openapi_v0_0_39.so
 %{_libdir}/slurm/openapi_dbv0_0_38.so
 %{_libdir}/slurm/openapi_v0_0_38.so
 %{_libdir}/slurm/openapi_dbv0_0_37.so
 %{_libdir}/slurm/openapi_v0_0_37.so
-%{_libdir}/slurm/openapi_dbv0_0_36.so
-#%{_libdir}/slurm/openapi_v0_0_35.so
-%{_libdir}/slurm/openapi_v0_0_36.so
 #%{_libdir}/slurm/rest_auth_jwt.so
 %{_libdir}/slurm/rest_auth_local.so
 %endif
@@ -1445,7 +1448,9 @@
 %{_sbindir}/slurmstepd
 # bsc#1153095
 %{_bindir}/srun
+%{_bindir}/scrun
 %{_mandir}/man1/srun.1*
+%{_mandir}/man1/scrun.1*
 %{_mandir}/man8/slurmd.*
 %{_mandir}/man8/slurmstepd*
 %if 0%{?with_systemd}
@@ -1506,6 +1511,7 @@
 %{_libdir}/slurm/select_cray_aries.so
 %{_libdir}/slurm/switch_cray_aries.so
 %{_libdir}/slurm/task_cray_aries.so
+%{_libdir}/slurm/proctrack_cray_aries.so
 %{_libdir}/slurm/mpi_cray_shasta.so
 %if 0%{?have_json_c}
 %{_libdir}/slurm/node_features_knl_cray.so
@@ -1518,7 +1524,7 @@
 %dir %attr(-, %slurm_u, %slurm_u) /srv/slurm-testsuite
 %attr(-, root, root) %{_datadir}/%{name}
 %if 0%{?sle_version} == 120200 || 0%{?suse_version} >= 1550
-%dir %{_pam_secconfdir}/limits.d
+%dir %attr(-, root, root) %{_pam_secconfdir}/limits.d
 %endif
 %doc testsuite/expect/README
 %doc %{basename: %{S:21}}

++++++ Fix-test-38.11.patch ++++++
--- /var/tmp/diff_new_pack.gBWu6G/_old  2023-03-01 16:14:45.546819178 +0100
+++ /var/tmp/diff_new_pack.gBWu6G/_new  2023-03-01 16:14:45.550819198 +0100
@@ -1,9 +1,8 @@
 From: Egbert Eich <e...@suse.com>
-Date: Wed Jun 15 08:41:45 2022 +0200
+Date: Mon Feb 20 21:35:37 2023 +0100
 Subject: Fix test 38.11
 Patch-mainline: Not yet
-Git-repo: https://github.com/SchedMD/slurm
-Git-commit: 235768790cb2e9cf011e6d08116a468ebec71582
+Git-commit: 80c7c8b897fde0c025f695b8301f4cbbc605581d
 References: 
 
 Signed-off-by: Egbert Eich <e...@suse.com>
@@ -12,20 +11,20 @@
  testsuite/expect/test38.11 | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
 diff --git a/testsuite/expect/test38.11 b/testsuite/expect/test38.11
-index d2c07d60c7..bf5d10ecc9 100755
+index 3d2954f..89e5333 100755
 --- a/testsuite/expect/test38.11
 +++ b/testsuite/expect/test38.11
-@@ -99,9 +99,9 @@ make_bash_script $script "
- $srun -N1 -n1 --het-group=0 mkdir -p $tmp_dir/$node1
- $srun -N1 -n1 --het-group=1 mkdir -p $tmp_dir/$node2
+@@ -83,9 +83,9 @@ if {$het_job_id == 0} {
+ run_command -fail "$srun -N1 -n1 --het-group=0 mkdir -p $tmp_dir"
+ run_command -fail "$srun -N1 -n1 --het-group=1 mkdir -p $tmp_dir"
  
--$sbcast -f -j$het_job_id $srun $tmp_dir/file
--$sbcast -f -j${het_job_id}+0 $srun $tmp_dir/$node1/file_comp0
--$sbcast -f -j${het_job_id}+1 $srun $tmp_dir/$node2/file_comp1
-+$sbcast -f -j\$SLURM_JOBID $srun $tmp_dir/file
-+$sbcast -f -j\$SLURM_JOBID $srun $tmp_dir/$node1/file_comp0
-+$sbcast -f -j\$((SLURM_JOBID+1)) $srun $tmp_dir/$node2/file_comp1
+-run_command -fail "$sbcast -f --jobid=$het_job_id $srun $tmp_dir/file"
+-run_command -fail "$sbcast -f --jobid=${het_job_id}+0 $srun 
$tmp_dir/file_comp0"
+-run_command -fail "$sbcast -f --jobid=${het_job_id}+1 $srun 
$tmp_dir/file_comp1"
++run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file"
++run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file_comp0"
++run_command -fail "$sbcast -f --jobid=\$((SLURM_JOBID+1)) $srun 
$tmp_dir/file_comp1"
  
- echo -n \"\nChecking node 1: \"
- $srun -Q -N1 -n1 --het-group=1 ls $tmp_dir/file
+ subtest {![run_command_status "$srun -N1 -n1 --het-group=0 ls 
$tmp_dir/file"]} "Verify main file is in node of component 0"
+ subtest {![run_command_status "$srun -N1 -n1 --het-group=1 ls 
$tmp_dir/file"]} "Verify main file is in node of component 1"
 

++++++ pam_slurm-Initialize-arrays-and-pass-sizes.patch ++++++
--- /var/tmp/diff_new_pack.gBWu6G/_old  2023-03-01 16:14:45.602819467 +0100
+++ /var/tmp/diff_new_pack.gBWu6G/_new  2023-03-01 16:14:45.606819487 +0100
@@ -1,22 +1,25 @@
-From: Sebastian Krahmer <krah...@suse.com>
-Date: Thu Feb 2 09:49:38 2017 +0100
-Subject: [PATCH]pam_slurm: Initialize arrays and pass sizes
-Git-repo: https://github.com/SchedMD/slurm
-Git-commit: fbfbb90f6a2e7f134220991ed3263894ba365411
+From: Egbert Eich <e...@suse.com>
+Date: Mon Feb 20 21:29:27 2023 +0100
+Subject: pam_slurm: Initialize arrays and pass sizes
+Patch-mainline: Not yet
+Git-commit: 5feca5c29d4e820dafd8d34c0343944b28890902
 References: bsc#1007053
-Signed-off-by: Egbert Eich <e...@suse.de>
 
 PAM is security critical:
 - clear arrays
 - ensure strings are NULL-terminated.
 
 Signed-off-by: Egbert Eich <e...@suse.com>
+Originally-from: Sebastian Krahmer <krah...@suse.com>
+Signed-off-by: Egbert Eich <e...@suse.de>
 ---
-
-diff -Nrua a/contribs/pam/pam_slurm.c b/contribs/pam/pam_slurm.c
+ contribs/pam/pam_slurm.c | 20 +++++++++++---------
+ 1 file changed, 11 insertions(+), 9 deletions(-)
+diff --git a/contribs/pam/pam_slurm.c b/contribs/pam/pam_slurm.c
+index 20d21a9..363b6ae 100644
 --- a/contribs/pam/pam_slurm.c
 +++ b/contribs/pam/pam_slurm.c
-@@ -266,9 +266,9 @@
+@@ -266,9 +266,9 @@ static int
  _gethostname_short (char *name, size_t len)
  {
        int error_code, name_len;
@@ -28,7 +31,7 @@
        if (error_code)
                return error_code;
  
-@@ -296,13 +296,13 @@
+@@ -296,13 +296,13 @@ static int
  _slurm_match_allocation(uid_t uid)
  {
        int authorized = 0, i;
@@ -37,14 +40,14 @@
        char *nodename = NULL;
        job_info_msg_t * msg;
  
-       slurm_conf_init(NULL);
+       slurm_init(NULL);
  
 -      if (_gethostname_short(hostname, sizeof(hostname)) < 0) {
 +      if (_gethostname_short(hostname, sizeof(hostname) - 1) < 0) {
                _log_msg(LOG_ERR, "gethostname: %m");
                return 0;
        }
-@@ -425,7 +425,7 @@
+@@ -425,7 +425,7 @@ _send_denial_msg(pam_handle_t *pamh, struct _options *opts,
   */
  extern void libpam_slurm_init (void)
  {
@@ -53,7 +56,7 @@
  
        if (slurm_h)
                return;
-@@ -433,10 +433,10 @@
+@@ -433,10 +433,10 @@ extern void libpam_slurm_init (void)
        /* First try to use the same libslurm version ("libslurm.so.24.0.0"),
         * Second try to match the major version number ("libslurm.so.24"),
         * Otherwise use "libslurm.so" */
@@ -66,7 +69,7 @@
                _log_msg (LOG_ERR, "Unable to write libslurmname\n");
        } else if ((slurm_h = dlopen(libslurmname, RTLD_NOW|RTLD_GLOBAL))) {
                return;
-@@ -445,8 +445,10 @@
+@@ -445,8 +445,10 @@ extern void libpam_slurm_init (void)
                        libslurmname, dlerror ());
        }
  

++++++ slurm-22.05.5.tar.bz2 -> slurm-23.02.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/slurm/slurm-22.05.5.tar.bz2 
/work/SRC/openSUSE:Factory/.slurm.new.31432/slurm-23.02.0.tar.bz2 differ: char 
11, line 1

Reply via email to