tgt default config should use config.d

Bug #978507 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tgt (Ubuntu)
Fix Released
Medium
Scott Moser

Bug Description

Per the documentation, tgt supports include of wild cards like:
 include /etc/tgt/temp/*.conf

It seems to be very well behaved.
$ cat /etc/tgt/targets.conf
# Empty targets configuration file -- please see the package
# documentation directory for an example.
include /etc/tgt/conf.d/*.conf

$ sudo stop tgt
tgt stop/waiting
$ sudo start tgt
tgt start/running, process 28251
$ sudo status tgt
tgt start/running, process 28251

$ sudo stop tgt
$ sudo mkdir /etc/tgt/conf.d
$ sudo start tgt

Ie, it handles if there is no file or directory.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: tgt 1:1.0.17-1ubuntu1
ProcVersionSignature: User Name 3.2.0-22.35-virtual 3.2.14
Uname: Linux 3.2.0-22-virtual x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Wed Apr 11 02:22:07 2012
Ec2AMI: ami-00000095
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: tgt
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.tgt.targets.conf: 2012-04-09T20:09:13.709928

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Changed in tgt (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Medium
status: New → In Progress
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: 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.