Debian Bug report logs - #186153
savelog: killing causes data loss

version graph

Package: debianutils; Maintainer for debianutils is Ileana Dumitrescu <[email protected]>; Source for debianutils is src:debianutils (PTS, buildd, popcon).

Reported by: martin f krafft <[email protected]>

Date: Mon, 24 Mar 2003 22:03:01 UTC

Severity: normal

Tags: help

Found in version 1.16.7

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Clint Adams <[email protected]>, [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to martin f krafft <[email protected]>:
New Bug report received and forwarded. Copy sent to Clint Adams <[email protected]>, [email protected]. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: martin f krafft <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: savelog: killing causes data loss
Date: Mon, 24 Mar 2003 22:55:11 +0100
[Message part 1 (text/plain, inline)]
Package: debianutils
Version: 1.16.7
Severity: normal

i can't test unstable right now, but the testing version of savelog
i just tried destroyed my data. i was running it on a huge file when
i remembered that i wanted to do something else before chugging it
away, so i ctrl-c'd the process, which left me with the original and
the rotated .0 version, both of which had zero size. if you ask me,
that's bad.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux diamond 2.4.20-grsec+freeswan+preempt-diamond #1 SMP Tue Mar 11 12:07:29 CET 2003 i686
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=de_DE.ISO-8859-15

Versions of packages debianutils depends on:
ii  libc6                         2.3.1-14   GNU C Library: Shared libraries an

-- no debconf information


-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://madduck.net/me/gpg/publickey
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to Clint Adams <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Clint Adams <[email protected]>
To: martin f krafft <[email protected]>, [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 15:58:13 -0500
> i can't test unstable right now, but the testing version of savelog
> i just tried destroyed my data. i was running it on a huge file when
> i remembered that i wanted to do something else before chugging it
> away, so i ctrl-c'd the process, which left me with the original and
> the rotated .0 version, both of which had zero size. if you ask me,
> that's bad.

Yes, there's no signal trapping done.



Information forwarded to [email protected], Clint Adams <[email protected]>, [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to martin f krafft <[email protected]>:
Extra info received and forwarded to list. Copy sent to Clint Adams <[email protected]>, [email protected]. (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: martin f krafft <[email protected]>
To: Clint Adams <[email protected]>
Cc: [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 22:01:45 +0100
[Message part 1 (text/plain, inline)]
also sprach Clint Adams <[email protected]> [2003.03.27.2158 +0100]:
> > i can't test unstable right now, but the testing version of savelog
> > i just tried destroyed my data. i was running it on a huge file when
> > i remembered that i wanted to do something else before chugging it
> > away, so i ctrl-c'd the process, which left me with the original and
> > the rotated .0 version, both of which had zero size. if you ask me,
> > that's bad.
> 
> Yes, there's no signal trapping done.

does that mean that you will address this at one point in time?

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://madduck.net/me/gpg/publickey
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to Clint Adams <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Clint Adams <[email protected]>
To: martin f krafft <[email protected]>
Cc: [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 16:08:34 -0500
> does that mean that you will address this at one point in time?

Hopefully someone else will submit a patch before I get to it.

It's unclear to me exactly what should happen should someone Ctrl-C.



Information forwarded to [email protected], Clint Adams <[email protected]>, [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to martin f krafft <[email protected]>:
Extra info received and forwarded to list. Copy sent to Clint Adams <[email protected]>, [email protected]. (full text, mbox, link).


Message #25 received at [email protected] (full text, mbox, reply):

From: martin f krafft <[email protected]>
To: Clint Adams <[email protected]>
Cc: [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 22:28:32 +0100
[Message part 1 (text/plain, inline)]
also sprach Clint Adams <[email protected]> [2003.03.27.2208 +0100]:
> Hopefully someone else will submit a patch before I get to it.

I would, but I am really pressed for time. Maybe when April has
passed.

> It's unclear to me exactly what should happen should someone Ctrl-C.

It should just leave things in place. The rotations should be
undone. So the worst case is when the oldest rotation has already
fallen off and can't be restored. I supposed one could guard against
that case.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://madduck.net/me/gpg/publickey
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to Clint Adams <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. (full text, mbox, link).


Message #30 received at [email protected] (full text, mbox, reply):

From: Clint Adams <[email protected]>
To: martin f krafft <[email protected]>
Cc: [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 16:33:37 -0500
> It should just leave things in place. The rotations should be
> undone. So the worst case is when the oldest rotation has already
> fallen off and can't be restored. I supposed one could guard against
> that case.

All the rotations?  What happens if there's a Ctrl-C while it's
"rewinding"?



Information forwarded to [email protected], Clint Adams <[email protected]>, [email protected]:
Bug#186153; Package debianutils. (full text, mbox, link).


Acknowledgement sent to martin f krafft <[email protected]>:
Extra info received and forwarded to list. Copy sent to Clint Adams <[email protected]>, [email protected]. (full text, mbox, link).


Message #35 received at [email protected] (full text, mbox, reply):

From: martin f krafft <[email protected]>
To: Clint Adams <[email protected]>
Cc: [email protected]
Subject: Re: Bug#186153: savelog: killing causes data loss
Date: Thu, 27 Mar 2003 22:39:46 +0100
[Message part 1 (text/plain, inline)]
also sprach Clint Adams <[email protected]> [2003.03.27.2233 +0100]:
> All the rotations?  What happens if there's a Ctrl-C while it's
> "rewinding"?

either you block control-C during the forward process (just ignore
it), or you do something along the lines of what i layed out and
ignore ctrl-C when it's rewinding.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://madduck.net/me/gpg/publickey
[Message part 2 (application/pgp-signature, inline)]

Tags added: help Request was from Clint Adams <[email protected]> to [email protected]. (full text, mbox, link).


Message sent on to martin f krafft <[email protected]>:
Bug#186153. (full text, mbox, link).


Message #40 received at [email protected] (full text, mbox, reply):

From: Clint Adams <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: savelog rewind
Date: Wed, 21 Jul 2004 20:39:15 -0400
tag 186153 + help
quit

If anyone would like to produce a patch for this, that would be good.



Information forwarded to [email protected], Clint Adams <[email protected]>:
Bug#186153; Package debianutils. (Sun, 18 Feb 2018 08:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Clint Adams <[email protected]>. (Sun, 18 Feb 2018 08:30:04 GMT) (full text, mbox, link).


Message sent on to martin f krafft <[email protected]>:
Bug#186153. (Sun, 18 Feb 2018 11:18:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 16:05:05 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.