Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189664 - app-admin/tenshi - tailor /etc/init.d/tenshi to use a config specified in /etc/conf.d/tenshi
Summary: app-admin/tenshi - tailor /etc/init.d/tenshi to use a config specified in /et...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Tenshi (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tenshi Group User
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 06:08 UTC by Urs Joss
Modified: 2007-08-21 08:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tenshi_init.d.patch (tenshi_init.d.patch,1.43 KB, patch)
2007-08-21 06:09 UTC, Urs Joss
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Urs Joss 2007-08-21 06:08:19 UTC
I feel tenshi.conf can be a highly individualized configuration file. It is difficult to quickly evaluate the changes if you compare the new config with your own config (using dispatch-conf or etc-update).

I personally prefer to update the new config against the old config and then manually migrate relevant changes into my own config. Hence so far I have manually adjusted the config files before running dispatch-conf. I got tired of it yesterday and changed the start script to read from /etc/conf.d/tenshi what configuration file to use (optionally).

Reproducible: Always




If you do not have the /etc/conf.d/tenshi configuration (TENSHI_CONFIG=), the init script will do the same as in tenshis current configuration (fallback).

I personally have set TENSHI_CONFIG=/etc/tenshi/tenshi_${HOSTNAME}.conf and leave the original configuration file untouched (/etc/tenshi/tenshi.conf).
Comment 1 Urs Joss 2007-08-21 06:09:12 UTC
Created attachment 128740 [details, diff]
tenshi_init.d.patch
Comment 2 Andrea Barisani (RETIRED) gentoo-dev 2007-08-21 08:50:14 UTC
tenshi supports an 'include' directive that allows you to include other conf files, you can just use that for your own whatever.conf and always ignore new config versions.