[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613151: marked as done (pu: package sobby/0.4.7-2+lenny1)

Your message dated Sat, 19 Mar 2011 14:30:29 +0000
with message-id <1300545030.15823.3680.camel@hathi.jungle.funky-badger.org>
and subject line Closing bugs for packages released in 6.0.1
has caused the Debian Bug report #613151,
regarding pu: package sobby/0.4.7-2+lenny1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

613151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613151
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu


#613085 got reported yesterday, which is about data-loss on a simple
installation of Sobby due to the fact that it cannot write its session
serialization file as it's owned by root at that time.

I uploaded a fix to unstable (0.4.7-3), would the diff be acceptable?

Kind regards
Philipp Kern
Base version: sobby_0.4.7-2 from testing
Target version: sobby_0.4.7-3 from unstable

No hints in place.

 debian/prerm                  |   14 ++++++++++++++
 sobby-0.4.7/debian/changelog  |   10 ++++++++++
 sobby-0.4.7/debian/sobby.init |    1 +
 3 files changed, 25 insertions(+)

diff -u sobby-0.4.7/debian/sobby.init sobby-0.4.7/debian/sobby.init
--- sobby-0.4.7/debian/sobby.init
+++ sobby-0.4.7/debian/sobby.init
@@ -39,6 +39,7 @@
+	chown sobby: "$SOBBY_SESSION_FILE"
 do_start() {
diff -u sobby-0.4.7/debian/changelog sobby-0.4.7/debian/changelog
--- sobby-0.4.7/debian/changelog
+++ sobby-0.4.7/debian/changelog
@@ -1,3 +1,13 @@
+sobby (0.4.7-3) unstable; urgency=low
+  * The init script creates a new session file if it does not exist yet.
+    Add a chown call to make it writeable by sobby, which is not run
+    as root.  Make sure to chown the file before sobby's stopped, in
+    prerm, so that the write on termination has a chance to succeed.
+    (Closes: #613085)
+ -- Philipp Kern <pkern@debian.org>  Sat, 12 Feb 2011 21:09:04 +0100
 sobby (0.4.7-2) unstable; urgency=low
   * Add an init script by adapting an initial proposal by Dustin Kirkland.
only in patch2:
--- sobby-0.4.7.orig/debian/prerm
+++ sobby-0.4.7/debian/prerm
@@ -0,0 +1,14 @@
+# vim:set et ts=2 sw=2:
+set -e
+# Make sure the autosave file is actually writeable before stopping the
+# server.
+if [ -d /var/lib/sobby ]; then
+  chown -R sobby:sobby /var/lib/sobby
+  chmod 0750 /var/lib/sobby
Hints needed:
unblock sobby/0.4.7-3

--- End Message ---
--- Begin Message ---
Version: 6.0.1


These bugs all refer to stable updates which formed part of the 6.0.1
point release; I'm therefore closing them.



--- End Message ---

Reply to: