Hi Raoul, Thank you for comment.
> On 2011-11-16 01:16, [email protected] wrote: > > I judged that I could not set plural data_directory parameters from these > > results and contributed a patch. > > Is my judgment wrong? > > to my knowledge, you're correct. > multiple data_directories are not possible (and make imho make no sense) All right! Thanks! > > > > > (Exapmle) It is postfix2.6.6 on RHEL6 that I confirmed. > > > > * Step1 : I set two directories in main.cf. > > > > (snip) > > # The data_directory parameter specifies the location of Postfix-writable > > # data files (caches, random numbers). This directory must be owned > > # by the mail_owner account (see below). > > # > > data_directory = /var/lib/postfix,/var/lib/postfix2 > > (snip) > > so you set the directory to the single value > "/var/lib/postfix,/var/lib/postfix2" > > which is not tokenized/split into an array. > > > * Step2 : I make a directory and give access permission. > > > > [root@rhel6-1 ~]# mkdir /var/lib/postfix2 > > [root@rhel6-1 ~]# chown postfix:postfix /var/lib/postfix2 > > > > > > * Step3 : I execute postfix chek command.(ERROR) > > > > [root@rhel6-1 ~]# postfix check > > mkdir: cannot create directory `/var/lib/postfix,/var/lib/postfix2': No > > such file or directory > > postfix/postfix-script: fatal: unable to create missing queue directories > > [root@rhel6-1 ~]# echo $? > > 1 > > that is expected and the resource agent should check the same. I think that the same check has been already carried out in a resource agent. (snip) # run Postfix internal check, if not probing if ! ocf_is_probe; then $binary $OPTIONS check >/dev/null 2>&1 ret=$? if [ $ret -ne 0 ]; then ocf_log err "Postfix 'check' failed." $ret return $OCF_ERR_GENERIC fi fi (snip) That means, after all is not the loop check of data_directory unnecessary? #Sorry...Because English is weak, I may understand your opinion by mistake. Best Regards, Hideo Yamauchi. > -- > ____________________________________________________________________ > DI (FH) Raoul Bhatia M.Sc. email. [email protected] > Technischer Leiter > > IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at > Barawitzkagasse 10/2/2/11 email. [email protected] > 1190 Wien tel. +43 1 3670030 > FN 277995t HG Wien fax. +43 1 3670030 15 > ____________________________________________________________________ > _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
