Init script missing

Bug #990629 reported by Mike Conigliaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Fix Released
Wishlist
Andrew Starr-Bochicchio

Bug Description

The deluged package for Precise doesn't seem to contain an init script.

Related branches

Revision history for this message
Cas (calumlind) wrote :

For various reasons they have not been included however the website has guides for the old init and new upstart scripts:

http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/

Revision history for this message
Mike Conigliaro (mconigliaro) wrote :

"For various reasons," eh? ;-)

Thanks, I already created my own init script. I guess I was just surprised that I needed to do that, and I'm even more surprised that I was the first person to report this as a bug.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote : Re: [Bug 990629] Re: Init script missing

We will be syncing the init script used by Debian once the archive opens
for the Q series. They didn't add it until well after Ubuntu's feature
freeze.
On Apr 28, 2012 9:20 PM, "Mike Conigliaro" <email address hidden> wrote:

> "For various reasons," eh? ;-)
>
> Thanks, I already created my own init script. I guess I was just
> surprised that I needed to do that, and I'm even more surprised that I
> was the first person to report this as a bug.
>
> --
> You received this bug notification because you are subscribed to deluge
> in Ubuntu.
> https://bugs.launchpad.net/bugs/990629
>
> Title:
> Init script missing
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/990629/+subscriptions
>

Revision history for this message
Cas (calumlind) wrote :

I tried including the Debian init script in the PPA but the package install scripts had issues so I removed it.

As upstart scripts are now standard for Ubuntu it would be better to include those.

Changed in deluge (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → quantal-alpha-1
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

@Cas

Do you recall the specific issues with install scripts? Just giving the Debian ones a quick re-look, I imagine using something pretty much identical even if installing an Upstart job rather than a traditional init script.

Revision history for this message
Cas (calumlind) wrote :

This was the error being reported by users:

Setting up deluged (1.3.5-0~lucid~ppa1) ...
dpkg-statoverrides: An override for '/var/log/deluged' already exists, aborting.
dpkg: error processing deluged (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 deluged
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Thanks Cas!

I reported this and provided a patch to Cristian in Debian.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671905

It's true that Upstart jobs are now standard for Ubuntu, but Upstart can also make use of traditional init scripts. I'm leaning towards just using the Debian init script. My concern is that I don't personally run Deluge like this, so maintaining a long term delta from Debian for something that I won't be dogfooding doesn't seem appealing.

Changed in deluge (Ubuntu):
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package deluge - 1.3.5-1ubuntu1

---------------
deluge (1.3.5-1ubuntu1) quantal; urgency=low

  * Merge from Debian Experimental (LP: #990629). Remaining Ubuntu changes:
   - debian/patches/ubuntu_indicator.patch: Set indicator title for HUD.
  * debian/control: Demote python-appindicator to Recommends.
  * Refresh patches.

deluge (1.3.5-1) experimental; urgency=low

  * New upstream version. (Closes: #663250, #670366)
    - bring MainWindow to front when opening another instance.
      (Closes: #662733)
  * debian/deluged.postinst: check for already existing overrides
    before adding new ones. Thanks Andrew Starr-Bochicchio! (Closes: #671905)
 -- Andrew Starr-Bochicchio <email address hidden> Tue, 22 May 2012 15:16:48 -0400

Changed in deluge (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.