33 Commits

Author SHA256 Message Date
700e7b2569 - Update to version 0.5.17:
* Added `MUNGE_OPT_IGNORE_TTL` and `MUNGE_OPT_IGNORE_REPLAY`.
  * Added `unmunge --ignore-ttl` and `--ignore-replay` cmdline opts.
  * Added configure `--with-systemdsysusersdir` opt.
  * Changed logrotate config to drop privileges to munge user.
  * Changed test suite to bail out immediately on munged startup failures.
  * Fixed encode/decode payload limit asymmetry.
  * Fixed cross-compilation support in configure script.
  * Improved mlockall error diagnostics and documentation.
  * Improved origin address configuration warnings.
  This release is backwards-compatible to 0.5.
- Remove tempfiles settings. This is handled by `RuntimeDirectory`
  in the `munge.service`.
- Remove tests for having systemd and sysusers: we no longer support
  stuff that's so old that this is required.
- Use sysuser file the package comes with.
- Update to version 0.5.18:
  * Fix buffer overflow in message unpacking that allows local users
    to leak the MUNGE cryptographic key and forge credential.
    credentials (bsc#1257651, CVE-2026-25506).
  * Fixed out-of-bounds read in credential decoding.
  * Fixed build failure on legacy macOS without `clock_gettime()`.

- Update to version 0.5.17:
  * Added `MUNGE_OPT_IGNORE_TTL` and `MUNGE_OPT_IGNORE_REPLAY`.
  * Added `unmunge --ignore-ttl` and `--ignore-replay` cmdline opts.
  * Added configure `--with-systemdsysusersdir` opt.
  * Changed logrotate config to drop privileges to munge user.
  * Changed test suite to bail out immediately on munged startup failures.
  * Fixed encode/decode payload limit asymmetry.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=57
2026-02-10 20:12:10 +00:00
f10109c5f0 Accepting request 1302253 from home:eeich:branches:network:cluster
- Make logrotate work on munge log as user munge. This prevents
  a local privilege escalation (bsc#1246088).

OBS-URL: https://build.opensuse.org/request/show/1302253
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=53
2025-09-01 19:07:46 +00:00
b17bd53e48 Accepting request 1234711 from home:eeich:branches:network:cluster
Changelog formatting changes:
  * Added `--listen-backlog` cmdline opt.
  This release is backwards-compatible to 0.5; however, credentials
  encoded with the current default of `MUNGE_MAC_SHA256` cannot be
  decoded by releases prior to 0.5.5.
- Remove munge key on uninstall

OBS-URL: https://build.opensuse.org/request/show/1234711
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=51
2025-01-03 10:27:16 +00:00
062ad10f34 Accepting request 1176932 from home:jgwang:branches:network:cluster
Update to version 0.5.16

OBS-URL: https://build.opensuse.org/request/show/1176932
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=49
2024-05-27 06:01:56 +00:00
c7bf28aade - Update to version 0.5.15:
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=47
2023-01-13 18:03:36 +00:00
bf46c1c0ab Accepting request 1046429 from home:eeich:branches:network:cluster
- Update to version 0.15.5:

OBS-URL: https://build.opensuse.org/request/show/1046429
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=46
2023-01-03 08:25:36 +00:00
38c2c0ed9e Accepting request 987005 from home:NMoreyChaisemartin:branches:science:HPC
- Update to version 0.15.4:
  - Added support for OpenSSL 3.0.
  - Fixed "make install" conflict with systemd RuntimeDirectory.
  - Fixed big-endian bug causing failures on s390x.
  - Fixed systemd service unit conf to wait until network is online.
  - Fixed excessive logging of "suspended new connections".
  - Fixed gcry_check_version(GCRYPT_VERSION) bug reported by Debian.
  - Fixed sending repeated SIGTERMs to signal stop. (dbe6dcc)
  - Fixed failure to clean up socket or create seedfile having relative path.
  - Fixed test suite to clean up errant processes from failed tests.
- Re-enable build for s390*

OBS-URL: https://build.opensuse.org/request/show/987005
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=44
2022-07-06 09:50:47 +00:00
f1162338a8 - Disable s390*-builds. On s390x the test suite fails.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=43
2021-11-23 09:58:08 +00:00
49a96c3fef Accepting request 925528 from home:eeich:branches:network:cluster
- Typo fix to sysuser file.

OBS-URL: https://build.opensuse.org/request/show/925528
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=42
2021-10-18 14:45:21 +00:00
d887e34f32 Accepting request 924078 from home:eeich:branches:network:cluster
- Restore tmpfiles.d handling which was deleted for no good
  reason.
- Make sure the product specific run-directory is used which
  is taken from the RPM macro %_rundir (bsc#1191336).

OBS-URL: https://build.opensuse.org/request/show/924078
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=41
2021-10-11 09:05:32 +00:00
ca1a4c0793 Accepting request 922788 from home:eeich:branches:network:cluster
- Utilize sysuser infrastructure to set user/group munge.

OBS-URL: https://build.opensuse.org/request/show/922788
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=40
2021-10-04 13:54:08 +00:00
25faa25355 Accepting request 854203 from home:eeich:branches:network:cluster
- Use 'mungekey' to generate munge key,
  Change permission of 'mungekey' from 0400 to 0600
- Remove munge key on uninstall  
- Add a bit of QA by running 'make check'
- Consolidate 'rundir'-handling:
  * fixed the location using %_rundir
  * %ghost-ed %_rundir/munge
- Pinned down configuration by adding more configure options
- Consolidated the file attribute setting
- Consolidated handline of /etc/sysconfig/munge
- Remove tmpfiles.d/munge.conf: the runtime directory is created
  by systemd itself.

OBS-URL: https://build.opensuse.org/request/show/854203
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=38
2020-12-09 10:11:15 +00:00
dc1b35664a Accepting request 789036 from home:anag:branches:network:cluster
- Update to version 0.5.14, most relevant changes:
  * Added mungekey command for key generation via HKDF.
  * Added negative caching of user lookups for processing supplementary groups.
  * Added munged --origin and --stop cmdline opt.
  * Added unmunge --numeric cmdline opt.
  * Added several new configuration options.
  * Added systemd EnvironmentFile to set sysconfig options.
  * Added systemd RuntimeDirectory to replace tmpfiles.d conf.
  * Changed logging of non-existent users to only log once for a given user.
  * Changed default name of munged seedfile.
  * Fixed pidfile corruption when starting new daemon while socket still in use.
  * Fixed munged signal handlers to be async-signal-safe.
  * Fixed "Logging stopped due to error" behavior for transient errors.
  * Fixed misleading "Lockfile not found" error message.
  * Fixed conversion-specifier / argument mismatch in error message.
  * Removed autotools-generated files from version control.
- Update patch:
  * Make-SUSE-specific-adjustments.patch
- Spec cleanup
- Update package description to match upstream's
- Add logrotate file and Requires in logrotate
- Run bootstrap to create autotools files.

OBS-URL: https://build.opensuse.org/request/show/789036
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=34
2020-03-27 14:04:55 +00:00
bdd3cf4c18 Accepting request 769645 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769645
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=32
2020-02-03 19:53:12 +00:00
Ana Guerrero
3fb548d7c3 Accepting request 761353 from home:eeich:branches:network:cluster
- Add Provides for 'munge-libs' to package libmunge for
  compatibility with the upstream spec file (bsc#1160075).

OBS-URL: https://build.opensuse.org/request/show/761353
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=30
2020-01-07 08:36:12 +00:00
7dc499da35 Accepting request 754490 from home:eeich:branches:network:cluster
- Fix possible LPE during installation (bsc#1155075,
  CVE-2019-3691).
- Remove special %license treatment for SLE-12 as this
  has been fixed.

OBS-URL: https://build.opensuse.org/request/show/754490
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=28
2019-12-05 18:01:14 +00:00
ddca7ba835 Accepting request 637211 from home:eeich:branches:network:cluster
- Add coreutils to the Requires(post/postun).

OBS-URL: https://build.opensuse.org/request/show/637211
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=26
2018-09-22 20:49:01 +00:00
bb4aa8ae06 - Handle license file using %license where applicable.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=23
2018-06-19 06:36:50 +00:00
731e7e197c Accepting request 617205 from home:eeich:branches:network:cluster
- Package sysconfig.munge only on non-systemd systems.
- Fix group settings for non-systemd systems in spec file:
  group 'munge' is used there as well.
- Some macro cleanup.

OBS-URL: https://build.opensuse.org/request/show/617205
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=22
2018-06-16 08:38:29 +00:00
0243230cc1 - Switch to user 'munge', group 'munge'.
- Adding to SLE12 SP2 FATE#321706.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=20
2018-06-11 15:24:18 +00:00
20d04f83d7 Accepting request 587902 from home:mslacken
- added README.SUSE file  (bsc#1085665)

OBS-URL: https://build.opensuse.org/request/show/587902
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=18
2018-03-16 14:09:11 +00:00
d4ff797ac0 - Update to 0.5.13:
* Added support for OpenSSL 1.1.0.
  * Added support for UID/GID values >= 2^31.
  * Added support for getentropy() and getrandom().
  * Added --trusted-group cmdline opt to munged.
  * Added --log-file and --seed-file cmdline opts to munged.
  * Changed default MAC algorithm to SHA-256.
  * Fixed autoconf installation directory variable substitution.
  * Fixed all gcc, clang, and valgrind warnings.
  * Improved resilience and unpredictability of PRNG.
  * Improved hash table performance.
  * Removed libmissing dependency from libmunge.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=16
2017-12-06 16:25:06 +00:00
3ddfe1a2cc Accepting request 544835 from home:RBrownSUSE:branches:network:cluster
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544835
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=15
2017-11-29 16:42:16 +00:00
Corot Sebastien
e5faa0cad3 Accepting request 455346 from home:eeich:branches:network:cluster
- Fix BuildRequires for zlib-devel.

- Replace group/user add macros with function calls.
- Make sure we update the user/group of files/directories correctly
  when updating - in case they have changed.

- Use user 'munge', group 'munge' for systemd and user 'daemon', group 'root' 
  for non-systemd by setting the appropriate macros '%munge_u' and '%munge_g'.
- Create user/group munge if they don't exist.
- Add 'BuildRequires: libbz2-devel'
- Fix typo.

- Add 'Recommends: munge' to libmunge:
  This library requires the munge service to run on the
  local system to be useful.

OBS-URL: https://build.opensuse.org/request/show/455346
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=13
2017-02-11 20:29:52 +00:00
Corot Sebastien
92cded36de Accepting request 445553 from home:asvetter:branches:network:cluster
- Fix typo in init script (SLE11) introduced by last change
- Fix rpm preun/postun-scripts (SLE11)
- Fix empty /etc/sysconfig/munge after update (SLE11)

OBS-URL: https://build.opensuse.org/request/show/445553
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=11
2017-01-13 15:12:34 +00:00
Corot Sebastien
285e72c46c Accepting request 444874 from home:asvetter:branches:network:cluster
change USER from munge to daemon for non-systemd OSes (SLE11SP4)

OBS-URL: https://build.opensuse.org/request/show/444874
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=9
2016-12-08 20:34:49 +00:00
19356917e0 Accepting request 435750 from home:eeich:branches:network:cluster
- Setting 'download_files' service to mode='localonly'
  and adding source tarball. (Required for Factory).

OBS-URL: https://build.opensuse.org/request/show/435750
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=7
2016-10-17 13:40:50 +00:00
dd5d91bf58 Accepting request 435664 from home:eeich:branches:network:cluster
- Add baselib.conf as Source to spec file.
- Remove tar ball of version 0.5.11.

OBS-URL: https://build.opensuse.org/request/show/435664
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=6
2016-10-17 06:18:14 +00:00
Corot Sebastien
6fbee99b76 Accepting request 435621 from home:eeich:branches:network:cluster
- version 0.5.12
  * Changed project homepage to <https://dun.github.io/munge/>.
  * Changed RPM specfile from sysvinit to systemd. (#33)
  * Added --max-ttl cmdline opt to munged. (#28)
  * Added --pid-file cmdline opt to munged. (#41)

- Add source service to download sources.
- Remove static libraries: If they are needed, they should be packaged
  separately.
- Add a %define have_systemd to clearer identify systemd relevant parts.
- Add define of lversion insead of hard conding this.
- remove README.MULTILIB: Package is built already.
- Add BuildRequires: for bzip2-devel, systemd-rpm-macros.
- Spell out files under %{_sysconfdir}/
- Fix symlink to %{_sbindir}/rcmunge for initV and systemd.

OBS-URL: https://build.opensuse.org/request/show/435621
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=5
2016-10-16 19:47:51 +00:00
Corot Sebastien
58c007f11f Accepting request 254892 from home:Heinervdm:branches:network:cluster
Create /run/munge when package is installed,
before a restart was needed for the directory to be created.

And fix build without systemd, which i broke with my last SR

OBS-URL: https://build.opensuse.org/request/show/254892
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=4
2014-10-09 19:37:36 +00:00
Corot Sebastien
278bfd32d2 Accepting request 250110 from home:Heinervdm:BGO-OD
Everything belongs to daemon:root so it should also be started as daemon:root

OBS-URL: https://build.opensuse.org/request/show/250110
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=3
2014-09-18 20:07:00 +00:00
Corot Sebastien
9f168928e0 Accepting request 242495 from home:scorot:branches:network:cluster
- version 0.5.11
  * Added --mlockall cmdline opt to munged.
  * Added --syslog cmdline opt to munged.
  * Added --uid and --gid cmdline opts to munge.
  * Added numeric timezone to unmunge timestamp output.
  * Added timer to munged for periodically stirring PRNG entropy pool.
  * Added support for pkg-config.
  * Added support for systemd.
  * Changed timer thread to better accommodate misbehaving system clocks.
  * Changed behavior of munge --string cmdline opt to not append newline.
  * Changed init script chkconfig priority levels to start after ntpd/ntpdate.
  * Changed init script so munged runs as munge user by default.
  * Fixed HMAC validation timing attack vulnerability.
  * Fixed bug with munged being unable to restart if daemon not cleanly shutdown.
  * Fixed bug with large groups triggering "numerical result out of range" error.
  * Fixed bug causing high CPU utilization on FreeBSD when processing group info.
  * Fixed bug causing IPv6-only hosts to exit due to failed hostname resolution.
  * Fixed autoconf check that was not portable across shells.
  * Fixed init script LSB Header on openSUSE.
  * Replaced perl build-time dependency with awk.
- add systemd support openSUSE >= 12.1

OBS-URL: https://build.opensuse.org/request/show/242495
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=2
2014-07-26 13:11:58 +00:00
Tobias Burnus
2d2c9d140a Accepting request 163006 from home:scorot:branches:network:cluster
An authentication service for creating and validating credentials (needed by slurm)

OBS-URL: https://build.opensuse.org/request/show/163006
OBS-URL: https://build.opensuse.org/package/show/network:cluster/munge?expand=0&rev=1
2013-04-08 22:00:50 +00:00