tgt will never be stopped

Bug #820699 reported by Clint Byrum
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tgt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

start on started rc-sysinit
stop on [!2345]

rc-sysinit only happens on bootup, not when changing runlevels. this should be changed to start on runlevel [2345]

Related branches

Ursula Junque (ursinha)
Changed in tgt (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tgt (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

Is this also why tgt is not started in installation ?

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This bug's original description was invalid. The stop on will never match anything, because it doesn't have the 'runlevel' event. This actually means that tgt will never be stopped, which is a bug to itself.

tgt is not started on installation because dh_installinit is called in debian/rules with --no-start.

No reason is given as to why that is. I think tgt should probably be allowed to start as soon as it is installed.

summary: - tgt will be stopped but not restarted on transition from runlevel 1 to 2
+ tgt will never be stopped
tags: removed: runlevel1
Changed in tgt (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tgt - 1:1.0.17-1ubuntu2

---------------
tgt (1:1.0.17-1ubuntu2) precise; urgency=low

  * change /etc/tgt/tgt.conf to support adding config.d format
    snippets in /etc/tgt/conf.d (LP: #978507)
  * start tgt on installation (LP: #977621)
  * stop tgt on shutdown (LP: #820699)
 -- Scott Moser <email address hidden> Tue, 10 Apr 2012 23:11:00 -0400

Changed in tgt (Ubuntu):
status: Triaged → 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.