Bug#839728: Odd changes to Sympa configuration files

2016-10-18 Thread Emmanuel Bouthenot
Racke,

On Wed, Oct 05, 2016 at 01:08:24PM +0200, Stefan Hornburg (Racke) wrote:
[...]

> I recently updated a manually installed Sympa to 6.2 with --sysconfdir=/etc
> and the auth.conf and data_structure.version ended up in /etc/sympa
> 
> So maybe some other flag gets in the way, e.g. --enable-fhs?

Not enabling --enable-fhs is not an option as it produces a file system
hierarchy not compatible with DFSG.

I've tried with --sysconfdir=/etc but as I said some conffiles will be
located in etc. :

Files in second .deb but not in first
-
-rw-r--r--  root/root   /etc/data_structure.version
-rw-r--r--  root/root   /etc/sympa/sympa.conf
lrwxrwxrwx  root/root   /etc/smrsh/bouncequeue -> /usr/lib/sympa/bin/bouncequeue
lrwxrwxrwx  root/root   /etc/smrsh/familyqueue -> /usr/lib/sympa/bin/familyqueue
lrwxrwxrwx  root/root   /etc/smrsh/queue -> /usr/lib/sympa/bin/queue

Files in first .deb but not in second
-
-rw-r--r--  root/root   /etc/sympa/sympa/sympa.conf

Regards,

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}



Bug#839728: Odd changes to Sympa configuration files

2016-10-05 Thread Stefan Hornburg (Racke)
On 10/05/2016 12:59 PM, Emmanuel Bouthenot wrote:
> On Wed, Oct 05, 2016 at 12:27:46PM +0200, Stefan Hornburg (Racke) wrote:
> [...]
> 
>> Sorry, I meant --sysconfdir=/etc.
> It means that the other "config" files required by sympa will move to
> /etc:
> 
> /etc/sympa/auth.conf -> /etc/auth.conf
> /etc/sympa/data_structure.version -> /etc/data_structure.version
> /etc/sympa/$robot_dir -> /etc/$robot_dir
> ...
> 
> I'm not sure that it is what we want :)
> 
> Regards,
> 
> M.
> 

Hello Emmanuel,

I recently updated a manually installed Sympa to 6.2 with --sysconfdir=/etc
and the auth.conf and data_structure.version ended up in /etc/sympa.

So maybe some other flag gets in the way, e.g. --enable-fhs?

Regards
  Racke

-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.



Bug#839728: Odd changes to Sympa configuration files

2016-10-05 Thread Emmanuel Bouthenot
On Wed, Oct 05, 2016 at 12:27:46PM +0200, Stefan Hornburg (Racke) wrote:
[...]

> Sorry, I meant --sysconfdir=/etc.
It means that the other "config" files required by sympa will move to
/etc:

/etc/sympa/auth.conf -> /etc/auth.conf
/etc/sympa/data_structure.version -> /etc/data_structure.version
/etc/sympa/$robot_dir -> /etc/$robot_dir
...

I'm not sure that it is what we want :)

Regards,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}



Bug#839728: Odd changes to Sympa configuration files

2016-10-05 Thread Stefan Hornburg (Racke)
On 10/05/2016 12:25 PM, Emmanuel Bouthenot wrote:
> Racke,
> 
> On Wed, Oct 05, 2016 at 11:59:44AM +0200, Stefan Hornburg (Racke) wrote:
> [...]
> 
 I produced a backport of the new 6.2 packages and the main configuration 
 file ends up
 as /etc/sympa/sympa/sympa.conf which seems quite odd to me.
>>
>> Wouldn't --sysconfdir=/etc/sympa put the configuration file in the supposed 
>> location
>> /etc/sympa/sympa.conf instead of /etc/sympa/sympa/sympa.conf?
> It is already the case:
> https://anonscm.debian.org/cgit/collab-maint/sympa.git/tree/debian/rules#n16
> 
> Regards,
> 

Sorry, I meant --sysconfdir=/etc.

Regards
  Racke

-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.



Bug#839728: Odd changes to Sympa configuration files

2016-10-05 Thread Emmanuel Bouthenot
Racke,

On Wed, Oct 05, 2016 at 11:59:44AM +0200, Stefan Hornburg (Racke) wrote:
[...]

> >> I produced a backport of the new 6.2 packages and the main configuration 
> >> file ends up
> >> as /etc/sympa/sympa/sympa.conf which seems quite odd to me.
> 
> Wouldn't --sysconfdir=/etc/sympa put the configuration file in the supposed 
> location
> /etc/sympa/sympa.conf instead of /etc/sympa/sympa/sympa.conf?
It is already the case:
https://anonscm.debian.org/cgit/collab-maint/sympa.git/tree/debian/rules#n16

Regards,

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}



Bug#839728: Odd changes to Sympa configuration files

2016-10-05 Thread Stefan Hornburg (Racke)
On 10/04/2016 06:14 PM, Emmanuel Bouthenot wrote:
> Racke,
> 
> On Tue, Oct 04, 2016 at 12:03:13PM +0200, Stefan Hornburg (Racke) wrote:
> [...]
> 
>> I produced a backport of the new 6.2 packages and the main configuration 
>> file ends up
>> as /etc/sympa/sympa/sympa.conf which seems quite odd to me.

Wouldn't --sysconfdir=/etc/sympa put the configuration file in the supposed 
location
/etc/sympa/sympa.conf instead of /etc/sympa/sympa/sympa.conf?

Regards
Racke

> This is an upstream choice:
> 
> See https://www.sympa.org/index
> 
> """
> Default config location is now /etc/sympa/ (or $sysconfig/sympa/)
> instead of /etc/. This solves the problem of config file lock creation
> being denied when trying to read the binary version of the config file
> at startup
> """
> 
>> The other problem is that the user isn't notified about the new location and 
>> the
>> fact that wwsympa.conf was merged as well.
> Yes, I agree that we could add some informations about this in
> debian/NEWS.
> 
> Regards,
> 


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.



Bug#839728: Odd changes to Sympa configuration files

2016-10-04 Thread Emmanuel Bouthenot
Racke,

On Tue, Oct 04, 2016 at 12:03:13PM +0200, Stefan Hornburg (Racke) wrote:
[...]

> I produced a backport of the new 6.2 packages and the main configuration file 
> ends up
> as /etc/sympa/sympa/sympa.conf which seems quite odd to me.
This is an upstream choice:

See https://www.sympa.org/index

"""
Default config location is now /etc/sympa/ (or $sysconfig/sympa/)
instead of /etc/. This solves the problem of config file lock creation
being denied when trying to read the binary version of the config file
at startup
"""

> The other problem is that the user isn't notified about the new location and 
> the
> fact that wwsympa.conf was merged as well.
Yes, I agree that we could add some informations about this in
debian/NEWS.

Regards,

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}



Bug#839728: Odd changes to Sympa configuration files

2016-10-04 Thread Stefan Hornburg (Racke)
package: sympa
version: 6.2.16~dfsg-1

Hello,

I produced a backport of the new 6.2 packages and the main configuration file 
ends up
as /etc/sympa/sympa/sympa.conf which seems quite odd to me.

The other problem is that the user isn't notified about the new location and the
fact that wwsympa.conf was merged as well.

So what happened to me was that the FCGI connector didn't work and it took me a
while to figure out that changing /etc/sympa/wwsympa.conf didn't help at all.

I hope we can fix that before the new package hits testing.

Regards
 Racke

-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.