|
From: Craig S. <csm...@en...> - 2008-01-24 23:37:20
|
Hello, Regarding http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458003 the problem is that the create flag is not set so if the file does not exist then the program dies. The fix is in line 741 of lpd.c: if( Checkwrite(logfile, &statb, O_WRONLY|O_APPEND, 0, 0) != 2) { The first 0 should be 1 for create to be enabled. My quesiton is, should the log file exist first? Is there some security issue in not mandating the file exists beofre the program starts? I just want to make sure it wasn't designed this way. I believe it is an oversight and it is fine for the print daemon to make its own log file. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free |