Set umask to 022 before creating logfile
Modified rpm to fix our environment