Bug 5056

Summary: logrotate scripts still uses incorrect redirection
Product: ThinLinc Reporter: Peter Åstrand <astrand>
Component: VSM ServerAssignee: Peter Åstrand <astrand>
Status: CLOSED FIXED    
Severity: Normal CC: hean01, mikael
Priority: P2 Keywords: hean01_tester, prosaic
Version: 4.1.1   
Target Milestone: 4.2.0   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:
Bug Depends on: 4471    
Bug Blocks:    

Description Peter Åstrand cendio 2014-03-31 09:46:13 CEST
Moved from https://www.cendio.com/bugzilla/show_bug.cgi?id=4471#c14 :

Actually, the resolution to this problem, which I assume was first removing

  &> /dev/null

and then replacing this with

  2>&1 > /dev/null

(which is what I find under /etc/logrotate.d in release 4.1.1) is still not

It should be

 > /dev/null 2>&1

(First stdout is redirected to /dev/null, then this redirection is copied to

Best regards,
Mikael D.
Comment 1 Peter Åstrand cendio 2014-04-10 10:15:16 CEST
Fixed in r28829.
Comment 2 Henrik Andersson cendio 2014-04-14 09:15:42 CEST
Tested using build 4323 on Ubuntu 12.04, works as expected.