Package: uptimed Version: 1:0.3.16-3.1 Severity: grave Justification: causes non-serious data loss
I don't know when exactly, maybe today I updated uptimed and somehow either debconf didn't ask me whether I'd like uptimed.conf being overwritten or I accidently answered yes to this question. This set maxrecords from zero to 25. And uptimed truncated the log. I first thought I lost the other entries upon a recent crash of the OSS radeon X.org driver, but uptimed truncated the file I restored from the backup again and again. Eventually I wondered that uptimed might truncate it due to limited maxrecords settings. However it happened that the maxrecords setting changed, it may really well be that I accidentally answered a question, but I remember I did not. Well however... IMHO uptimed should not truncate the records file to the maxrecords setting when it was longer before. This should only be done manually to avoid accidental data loss of uptime history. Either by invoking some tool or by using an editor to delete the lines manually. Truncating the file also led to a misleading %up value. I had more than 91% and then it was about 60%. Even on reducing max records, when there are more records already saved in the records file this information should not be lost without manual intervention. uptimed could still only add records up to maxrecords, but it should leave existing records beyond maxrecords in the file. I can report this upstream as well if you wish. Or maybe it could be forwarded? -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (450, 'testing'), (400, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32.8-tp42-toi-3.0.99.49 (PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages uptimed depends on: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libuptimed0 1:0.3.16-3.1 Library for uptimed uptimed recommends no packages. uptimed suggests no packages. -- debconf information: * uptimed/mail/do_mail: Both * uptimed/mail/address: r...@localhost * uptimed/interval: 43200 * uptimed/mail/milestones_info: * uptimed/maxrecords: 25 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org