Public bug reported: The script provided under "Rotating NFS Archives" fails on the 8th and 9th days of each month with the error:
((: 08: value too great for base (error token is "08") I'm no expert so please check this, but I think the reason is because $(date +%d) returns "08" or "09" and when the following arithmetic comparisons are executed bash tries to convert the string to a number but the leading zero signifies octal and 08 and 09 are not valid octal numbers. The solution is to use $(date +%-d) the "-" tells date not to pad with zeroes. ** Affects: ubuntu-docs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1010805 Title: Ubuntu server guide archive rotation script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1010805/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs