tgt default config should use config.d
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/
It seems to be very well behaved.
$ cat /etc/tgt/
# Empty targets configuration file -- please see the package
# documentation directory for an example.
include /etc/tgt/
$ 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
ProcVersionSign
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
Ec2Availability
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.
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