reopen 602869
thanks

>  gadmin-openvpn-server (0.1.5-2) unstable; urgency=low
>  .
>    * Updating standards version to 3.9.0.
>    * Adding patch to move logfiles to /var/log (Closes: #602869).
>    * Updating standards version to 3.9.1.
>    * Updating logfiles.patch.

I'm re-opening this bugreport since it hasn't been correctly fixed. A
debdiff shows the following diff:

+--- gadmin-openvpn-server.orig//src/clear_log_tab.c    2010-11-10 
11:44:36.981890058 +0100
++++ gadmin-openvpn-server/src/clear_log_tab.c  2010-11-20 16:32:55.238472461 
+0100
+@@ -36,7 +36,7 @@ void clear_log_tab(struct w *widgets)
+ {
+     /* Clears the VPN server log */
+     FILE *fp;
+-    gchar *log_path = g_strdup_printf("%s/server/openvpn-server.log", 
OPENVPN_SYSCONF_DIR);
++    gchar *log_path = g_strdup_printf("/var/log/server/openvpn-server.log");
+ 
+     if((fp=fopen(log_path, "w+"))==NULL)
+     {

The log_path should be
"/var/log/gadmin-openvpn/server/openvpn-server.log". Please note that
this should be fixed in several places.

Regards,

-- 
Mehdi Dogguy



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to