-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tom
Am 07.10.2015 um 19:48 schrieb Tom Eastep: > On 10/7/2015 7:06 AM, Erich Titl wrote: >> Hi Folks >> >> I am seeing this in shorewall-init.log, probably some date >> template glitch. >> >> Oct 7 13:44:26 Shorewall configuration compiled to >> /var/lib/.start Oct %_d 13:44:26 Starting Shorewall.... Oct %_d >> 13:44:26 Initializing... >> >> gatekeeper# shorewall version 4.6.13 >> > > Hi Erich, > > I suspect that the issue is in your version of the 'date' utility. > The Shorewall-generated script is executing this command: > > timestamp=$(date +'%b %_d %T') I patched the code in lib.core and it appears to be fixed. Would you consider adapting this in the upcoming releases? >>>>>>>>> gatekeeper# diff -Nu lib.core lib.core.patched - --- lib.core +++ lib.core.patched @@ -67,7 +67,7 @@ fi if [ $LOG_VERBOSITY -gt 1 ]; then - - timestamp="$(date +'%b %_d %T') " + timestamp="$(date +'%b %e %T') " echo "${timestamp}$@" >> $STARTUP_LOG fi } @@ -83,7 +83,7 @@ fi if [ $LOG_VERBOSITY -gt 0 ]; then - - timestamp="$(date +'%b %_d %T') " + timestamp="$(date +'%b %e %T') " echo "${timestamp}$@" >> $STARTUP_LOG fi } @@ -99,7 +99,7 @@ fi if [ $LOG_VERBOSITY -ge 0 ]; then - - timestamp="$(date +'%b %_d %T') " + timestamp="$(date +'%b %e %T') " echo "${timestamp}$@" >> $STARTUP_LOG fi } @@ -437,7 +437,7 @@ echo " ERROR: $@" >&2 if [ $LOG_VERBOSITY -ge 0 ]; then - - timestamp="$(date +'%_b %d %T') " + timestamp="$(date +'%b %e %T') " echo "${timestamp} ERROR: $@" >> $STARTUP_LOG fi >>>>>>>>>>>>>> I suspect the %_b %d %T time string on line 440 to be a glitch Thanks Erich -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iEYEARECAAYFAlYVekwACgkQt9T/nQW4ChadzgCgwVVq+pJVMz/KeGwfE6MD8K9Q E/cAn3urySeHJi0D6HAjT4f9sIwTGW1H =eOTu -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users