Hello community, here is the log from the commit of package openvpn for openSUSE:Factory checked in at 2015-08-17 15:35:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openvpn (Old) and /work/SRC/openSUSE:Factory/.openvpn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openvpn" Changes: -------- --- /work/SRC/openSUSE:Factory/openvpn/openvpn.changes 2015-08-11 08:27:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openvpn.new/openvpn.changes 2015-08-17 15:35:12.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Aug 13 08:29:35 UTC 2015 - [email protected] + +- Add revert-daemonize.patch, looks like under systemd the stdin + and stdout are not TTYs by default. This reverts to previous + behaviour fixing bsc#941569 + +------------------------------------------------------------------- New: ---- revert-daemonize.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvpn.spec ++++++ --- /var/tmp/diff_new_pack.GZqkMp/_old 2015-08-17 15:35:13.000000000 +0200 +++ /var/tmp/diff_new_pack.GZqkMp/_new 2015-08-17 15:35:13.000000000 +0200 @@ -52,6 +52,7 @@ Patch1: %{name}-2.3-plugin-man.dif Patch5: %{name}-2.3.0-man-dot.diff Patch6: %{name}-fips140-2.3.2.patch +Patch7: revert-daemonize.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gpg-offline BuildRequires: iproute2 @@ -129,6 +130,7 @@ %patch1 -p0 %patch5 -p0 %patch6 -p1 +%patch7 -p1 sed -e "s|\" __DATE__|$(date '+%b %e %Y' -r version.m4)\"|g" \ -i src/openvpn/options.c sed -e "s|@PLUGIN_LIBDIR@|%{_libdir}/openvpn/plugins|g" \ ++++++ revert-daemonize.patch ++++++ Index: openvpn-2.3.8/src/openvpn/misc.c =================================================================== --- openvpn-2.3.8.orig/src/openvpn/misc.c +++ openvpn-2.3.8/src/openvpn/misc.c @@ -1088,12 +1088,6 @@ get_user_pass_cr (struct user_pass *up, */ else if (from_stdin) { -#ifndef WIN32 - /* did we --daemon'ize before asking for passwords? */ - if ( !isatty(0) && !isatty(2) ) - { msg(M_FATAL, "neither stdin nor stderr are a tty device, can't ask for %s password. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.", prefix ); } -#endif - #ifdef ENABLE_CLIENT_CR if (auth_challenge && (flags & GET_USER_PASS_DYNAMIC_CHALLENGE)) {
