SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001156SOGoPackaging (Debian)public2011-02-28 09:132012-11-18 12:38
Reporterwsourdeau 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.0.2 
Summary0001156: SOGo should rely on a configuration file in /etc/
DescriptionThis would provide a more standard "unix way" of configuring a server process. Also, it would enable sogo-tool and the OpenChange backend to make use of the same configuration file. Moreover, it would prevent the buggy code in NSUserDefaults from rewriting plist files in XML.

The case of having multiple instances running in parallel could be simply solved by leaving the user-based configuration take over in those cases.
TagsNo tags attached.
Attached Filespatch file icon 0004-Read-configuration-from-etc.patch [^] (3,819 bytes) 2012-04-04 12:33 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0003687)
dekkers (reporter)
2012-04-04 12:33

I'm not sure that this is the correct approach, but I did some basic testing and it seems to work. When /etc/sogo/sogo.conf doesn't exist we fallback to the old code of using the user defaults, but when it does exists we read it and create a volatile sogod domain from it. Because the domain is volatile it isn't written back to the GNUstep Defaults directory. It will also try to read debconf.conf, the idea is that debconf generated configuration items such as the configured database will live in debconf.conf. This should probably be only included on Debian systems, but I added it because I'd feedback whether this is the right approach.
User avatar (0004898)
ludovic (administrator)
2012-11-18 12:38

This is now possible in v2.0.2.

- Issue History
Date Modified Username Field Change
2011-02-28 09:13 wsourdeau New Issue
2011-11-24 14:55 ludovic Severity minor => feature
2012-04-04 12:33 dekkers Note Added: 0003687
2012-04-04 12:33 dekkers File Added: 0004-Read-configuration-from-etc.patch
2012-04-04 12:34 wsourdeau Category Backend General => Packaging (Debian)
2012-11-18 12:38 ludovic Note Added: 0004898
2012-11-18 12:38 ludovic Status new => closed
2012-11-18 12:38 ludovic Resolution open => fixed
2012-11-18 12:38 ludovic Fixed in Version => 2.0.2


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker