PacketFence - BTS - PacketFence
View Issue Details
0001257PacketFenceconfigurationpublic2011-08-26 11:572011-12-30 23:38
maikel 
dwuelfrath 
normaltweakalways
closedfixed 
devel 
3.1.03.1.0 
2e5c707717502082e8efc054f7617056c3c7b69e
0001257: named.conf template on centos 6
session-keyfile "%%install_dir%%/var/named/session.key";
should be added,

else named always nicely compains about it:
Aug 26 17:48:59 ds3 named[3603]: Could not open '/var/run/named/session.key'.
Aug 26 17:48:59 ds3 named[3603]: Please check file and directory permissions or reconfigure the filename.
Aug 26 17:48:59 ds3 named[3603]: could not open file '/var/run/named/session.key': Permission denied
Aug 26 17:48:59 ds3 named[3603]: could not create /var/run/named/session.key
Aug 26 17:48:59 ds3 named[3603]: failed to generate session key for dynamic DNS: permission denied
No tags attached.
Issue History
2011-08-26 11:57maikelNew Issue
2011-09-19 13:59obilodeauRelationship addedchild of 0001244
2011-09-19 16:00dwuelfrathNote Added: 0002223
2011-09-19 16:09dwuelfrathNote Added: 0002224
2011-09-19 16:09dwuelfrathTarget Version => +2
2011-09-19 16:27obilodeauRelationship deletedchild of 0001244
2011-09-21 23:29obilodeauNote Added: 0002281
2011-11-16 15:53dwuelfrathmtn revision => 2e5c707717502082e8efc054f7617056c3c7b69e
2011-11-16 15:53dwuelfrathNote Added: 0002447
2011-11-16 15:53dwuelfrathAssigned To => dwuelfrath
2011-11-16 15:53dwuelfrathStatusnew => resolved
2011-11-16 15:53dwuelfrathResolutionopen => fixed
2011-11-16 15:53dwuelfrathFixed in Version => trunk
2011-12-30 23:28obilodeauFixed in Versiontrunk => 3.1.0
2011-12-30 23:37obilodeauNote Added: 0002499
2011-12-30 23:37obilodeauStatusresolved => closed
2011-12-30 23:38obilodeauTarget Version+2 => 3.1.0

Notes
(0002223)
dwuelfrath   
2011-09-19 16:00   
Sep 19 15:58:53 pf-3-centos6 named[2824]: generating session key for dynamic DNS
Sep 19 15:58:53 pf-3-centos6 named[2824]: Could not open '/var/run/named/session.key'.
Sep 19 15:58:53 pf-3-centos6 named[2824]: Please check file and directory permissions or reconfigure the filename.
Sep 19 15:58:53 pf-3-centos6 named[2824]: could not open file '/var/run/named/session.key': Permission denied
Sep 19 15:58:53 pf-3-centos6 named[2824]: could not create /var/run/named/session.key
Sep 19 15:58:53 pf-3-centos6 named[2824]: failed to generate session key for dynamic DNS: permission denied
(0002224)
dwuelfrath   
2011-09-19 16:09   
bind is only complaining about not being able to generate a session key for using dynamic DNS. This function is not used in PacketFence and fixing this issue will only remove an error message from /var/log/messages.

Bind is still working.

Need to create two different config files (CentOS 5.6 and 6) cause session-keyfile has been introduced in bind 9.7 and CentOS runs bind 9.3

Will be fixed in upcoming versions.
(0002281)
obilodeau   
2011-09-21 23:29   
implementing this through a symlink like we were doing for apache before wouldn't be too hard

- provide two configuration named-$ver.conf and symlink named.conf to it at package build time
- installer.pl must also be able to deal with that for people installing from source
(0002447)
dwuelfrath   
2011-11-16 15:53   
Fixed in trunk.
(0002499)
obilodeau   
2011-12-30 23:37   
Released in version 3.1.0.