SHA256
1
0
forked from pool/dehydrated

- Remove potentially harmful scriptlet (bsc#1154167). Documented

transition case in the maintainer README. Unlikely enough. The
  versions that have not transitioned yet would be broken for more
  than two years now.

OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=59
This commit is contained in:
Daniel Molkentin 2020-06-29 12:40:34 +00:00 committed by Git OBS Bridge
parent 9810800404
commit 169bd5f56b
3 changed files with 15 additions and 1 deletions

View File

@ -160,6 +160,13 @@ Limitations & Ceveats
will be executed by the cron script / systemd timer *after* an update run will be executed by the cron script / systemd timer *after* an update run
has been performed. has been performed.
Upgrade Notes
=============
If you are upgrading from letsencrypt.sh, note that you need to move
/etc/letsencrypt.sh to /etc/dehydrated and chown it to the "dehydrated"
user.
Links Links
===== =====

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 29 12:38:31 UTC 2020 - Daniel Molkentin <daniel.molkentin@suse.com>
- Remove potentially harmful scriptlet (bsc#1154167). Documented
transition case in the maintainer README. Unlikely enough. The
versions that have not transitioned yet would be broken for more
than two years now.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 6 12:34:56 UTC 2020 - Daniel Molkentin <daniel.molkentin@suse.com> Wed May 6 12:34:56 UTC 2020 - Daniel Molkentin <daniel.molkentin@suse.com>

View File

@ -146,7 +146,6 @@ This adds a configuration file for dehydrated's acme-challenge to nginx.
getent group %{_user} >/dev/null || %{_sbindir}/groupadd -r %{_user} getent group %{_user} >/dev/null || %{_sbindir}/groupadd -r %{_user}
getent passwd %{_user} >/dev/null || %{_sbindir}/useradd -g %{_user} \ getent passwd %{_user} >/dev/null || %{_sbindir}/useradd -g %{_user} \
-s /bin/false -r -c "%{_user}" -d %{_home} %{_user} -s /bin/false -r -c "%{_user}" -d %{_home} %{_user}
if [ -d %{_sysconfdir}/letsencrypt.sh ]; then mv %{_sysconfdir}/letsencrypt.sh %{_sysconfdir}/dehydrated; chown -R %{_user} %{_sysconfdir}/dehydrated; fi
if [ -e %{_sysconfdir}/dehydrated/config.sh ]; then mv %{_sysconfdir}/dehydrated/config.sh %{_sysconfdir}/dehydrated/config; fi if [ -e %{_sysconfdir}/dehydrated/config.sh ]; then mv %{_sysconfdir}/dehydrated/config.sh %{_sysconfdir}/dehydrated/config; fi
%if %{with systemd} %if %{with systemd}