[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Alexandre Martani
About the fix, I think $now should also be fixed, as it will be invalid on these dates. Regarding coreutils, I really can't understand how this can be considered the correct behavior. If it accepts dates formated as "- mm-dd", it should handle it the best as possible. I wouldn't be surprised t

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread C de-Avillez
I am not sure why I also got coreutils nominated for releases... sorry. I do not know if Dapper/Gutsy are also affected (don't have them). -- date error on saving time starting day https://bugs.launchpad.net/bugs/354793 You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Jamie Strandboge
Here is a possible fix for apt. Basically, if date exits with error when getting the data on the stamp file, remove the stamp file and continue as if the stamp file didn't exist. This should allow apt to recover regardless of DST or date bugs. ** Attachment added: "354793.diff" http://launchpa

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Jamie Strandboge
FYI-- an affected timezone is America/Sao_Paulo (at least a few others in BRT are not affected). With America/Sao_Paulo, have (locale does not matter): $ date --date=2009-10-18 date: invalid date `2009-10-18' -- date error on saving time starting day https://bugs.launchpad.net/bugs/354793 You re

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread C de-Avillez
@Alexandre: thank you for bringing this to our attention. I do not believe 'date' behaviour will be changed (since it is, after all, correct), but an internal discussion with the security folks got us back as a security issue. Please do keep on bringing us any issues you find. -- date error on s

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Jamie Strandboge
Marking coreutils bug as "Won't Fix" as upstream isn't fixing it because they feel that returning 'Invalid date' is correct behavior. ** Changed in: coreutils (Ubuntu) Status: Confirmed => Won't Fix ** This bug has been flagged as a security vulnerability -- date error on saving time sta

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Jamie Strandboge
/etc/cron.daily/apt needs to be more robust in case the stamp files have an invalid date. The upstream bug clearly indicates that the developers don't intend to fix this bug, so /etc/cron.daily/apt needs to better handle this condition. -- date error on saving time starting day https://bugs.launc

[Bug 354793] Re: date error on saving time starting day

2009-04-08 Thread Marc Deslauriers
** Also affects: apt (Ubuntu) Importance: Undecided Status: New ** Changed in: apt (Ubuntu) Status: New => Confirmed ** Changed in: coreutils (Ubuntu) Status: Incomplete => Confirmed ** Changed in: apt (Ubuntu) Importance: Undecided => High -- date error on saving ti

[Bug 354793] Re: date error on saving time starting day

2009-04-07 Thread Alexandre Martani
1. Running Ubuntu Server 8.04.2 2. date (GNU coreutils) 6.10 3. locale LANG=pt_BR.UTF-8 LANGUAGE=pt_BR:pt:en LC_CTYPE="pt_BR.UTF-8" LC_NUMERIC="pt_BR.UTF-8" LC_TIME="pt_BR.UTF-8" LC_COLLATE="pt_BR.UTF-8" LC_MONETARY="pt_BR.UTF-8" LC_MESSAGES="pt_BR.UTF-8" LC_PAPER="pt_BR.UTF-8" LC_NAME="pt_BR.UTF-8

[Bug 354793] Re: date error on saving time starting day

2009-04-07 Thread C de-Avillez
Can you please give us: 1. the version of Ubuntu you are running; 2. the output for 'date --version' 3. Your locale (run 'locale', and paste the output here). Per the output you show I would guess you are in a PT locale, but I do not know if pt_BR or pt_PT. I have tried your commands with both d

[Bug 354793] Re: date error on saving time starting day

2009-04-06 Thread Alexandre Martani
If this isn't a security bug on date, it is, at least, a security bug on apt, since, as I said, it makes well configured servers out of date. -- date error on saving time starting day https://bugs.launchpad.net/bugs/354793 You received this bug notification because you are a member of Ubuntu Bugs

[Bug 354793] Re: date error on saving time starting day

2009-04-03 Thread Jamie Strandboge
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privile