Hi, On Fri, May 02, 2014 at 08:15:01AM -0400, Timothe Litt wrote: > >(why is this being discussed on -users? Taking it over to -devel) > Er, I did post it to -devel, and I don't see any discussion of it on > -users...I just double-checked the archives, and it's all in -devel...
The mail I replied to went to -users, and only there... > > --syslog-facility should be more clean, like > > > > --sysloc-facility facility [progname] > > --daemon and --syslog already control syslog's program name. Since we > would have to support the > existing usages, your suggestion to add that to --syslog-facility would > add complexity, not simplify things. > You really don't want that. Then let's not do that. Fine with me :-) > > intermixing > >option argument "A" and "B" in the same string is not going to help anyone. > Sorry that you don't like my accommodation for init scripts. It helps > OpenVPN and its USERS. "Helping init scripts" is actually something that only helps distribution builders, and they are few, and usually listen quite well if we tell them what needs to be adjusted. "Having unmaintainable code inside OpenVPN" is something that does not help anyone - people will forget why it is the way it is, break it when changing something else, and that will cause endless pain. We've been through that right now when rewriting socket.c to properly support dual-stack systems, breaking *some* bits of SOCKS proxy support in the process, breaking --inetd in the process, and so on - so we know all about non-intuitive options and hard-to-maintain code. [..] > >the last one really makes me want to throw up. > Yes, it's ugly. And my stomach rumbles too. So do not write such code, and do not expect us to merge it. > If OpenVPN were engineered from scratch, --daemon would just daemonize, > --syslog would control the syslog program name and facility, and the two > could be used together. And there wouldn't be silly ordering > constraints among the options. But that's not the way the existing code > -- and customers' config and distros' init files -- work. Then let's fix *that* problem (the ordering constraints), instead of adding more convolutions. That would indeed help "OpenVPN and the users". > This is the real world, and sometimes we have to live with ugly. Even if > it makes us a little queasy. No :-) - it's open source world, and since everyone can see what we do, we're not going to add more ugliness if we can avoid it. Closed source works differently. [..] > So it has to be something that can be embedded anywhere in the string, > And that means delimiters on both ends. "Anywhere in the string" is a hard "no". [..] > I didn't ignore it for 2 years, and I didn't let aesthetics get in the > way of the best solution that I could come up with. Yeah, I understand that the amount of free time we can give into OpenVPN is annoying you. It's annoying me as well that I have spend time in paid-for projects not related to OpenVPN to help feed my family, or that David had to tune down his involvement into OpenVPN due to health reasons. The amount of cleanup we've done in the last two years is quite enormous :-) - even if it's not really visible outside of the git log. [..] > >Feature-NAK > If you don't want the feature, why did you write in Trac #188: I'm fine with the addition of a way to set the syslog-facility, but not the way it is presented. Not intermixing stuff in other stuff in arguments. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpAj00UqMIFK.pgp
Description: PGP signature