[syslog-ng] [Bug 67] write error: Bad file descriptor
bugzilla at bugzilla.balabit.com
bugzilla at bugzilla.balabit.com
Mon Apr 12 22:26:38 CEST 2010
https://bugzilla.balabit.com/show_bug.cgi?id=67
Balazs Scheidler <bazsi at balabit.hu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Balazs Scheidler <bazsi at balabit.hu> 2010-04-12 22:26:39 ---
this should be fixed in 3.0.6 release with this patch:
Author: Juhasz Viktor <jviktor at balabit.hu> 2010-03-22 11:40:05
Committer: Juhasz Viktor <jviktor at balabit.hu> 2010-03-22 11:40:05
Parent: c4ee14878dee2573f6c33cd76cd171e093b3910d ([Old license file] Delete the license.txt from the install dir if)
Child: 5a51b603ea4f9db084b2d79a28b594269068d1cc ([deb] Don't stop the syslog-ng many times in case of upgrade)
Branch:
Follows:
Precedes:
[debconf] don't use file descriptor 3 because it's owner is the debconf
read the file directly
------------------- data/debian-packaging/syslog-ng/postinst -------------------
index 738df95..57d9ef6 100755
@@ -59,8 +59,6 @@ preprocess_config()
if [ -f $PREPROCESSED_CONFIG_FILE ]; then
rm $PREPROCESSED_CONFIG_FILE
fi
- exec 3<&0
- exec 0<$TEMPLATE_CONFIG_FILE
while read line
do
case `echo $line | cut -d ':' -f 1` in
@@ -85,7 +83,7 @@ preprocess_config()
fi
;;
esac
- done
+ done < $TEMPLATE_CONFIG_FILE
fi
}
--
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the syslog-ng
mailing list