Hello,
I am running qmail on a FreeBSD 6.X platform,qmail puts several files in the /var partition.
I've run into a 'full filesystem condition' in the /var partition and would like to change it. I have created a /usr/var directory and would then do a link from /var to /usr/var to by pass the artition size restrictions. When I executed tar cf - . | (cd /usr/var; tar xf - ) from the /var directory some of the files & directories were transferred but for others I got this message
[small][blue]
tar: ./run/log: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/devd.pipe: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/logpriv: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/rpcbind.sock: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/dict-server: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/auth-worker.818: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/login/default: tar format cannot archive socket: Inappropriate file type or format
tar: ./named/var/run/log: tar format cannot archive socket: Inappropriate file type or format
[/blue][/small]
These all have permissions of type
srw-rw-rw-
as in
[small][blue]
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./run/log=
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./run/devd.pipe=
srw------- 1 root wheel 0 Jan 1 2002 ./run/logpriv=
srw-rw-rw- 1 root wheel 0 Sep 29 05:03 ./run/rpcbind.sock=
srw------- 1 root wheel 0 Sep 29 05:03 ./run/dovecot/auth-worker.818=
srwxrwxrwx 1 root wheel 0 Sep 29 05:03 ./run/dovecot/dict-server=
srw-rw---- 1 root dovecot 0 Sep 29 05:03 ./run/dovecot/login/default=
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./named/var/run/log=
[/blue][/small]
I was told that only way to effect the change over is to reconfigure the config files and that the program(s) would recreate the dir with the correct permissions
Now the "Life with Qmail" p29 doc. list a long array of config files all of which were not configured with explicit paths.
Could someone say in which configure file I would have to reset the /var to /usr/var path so as to make this change, and where it is to be found.
Thanks
I am running qmail on a FreeBSD 6.X platform,qmail puts several files in the /var partition.
I've run into a 'full filesystem condition' in the /var partition and would like to change it. I have created a /usr/var directory and would then do a link from /var to /usr/var to by pass the artition size restrictions. When I executed tar cf - . | (cd /usr/var; tar xf - ) from the /var directory some of the files & directories were transferred but for others I got this message
[small][blue]
tar: ./run/log: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/devd.pipe: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/logpriv: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/rpcbind.sock: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/dict-server: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/auth-worker.818: tar format cannot archive socket: Inappropriate file type or format
tar: ./run/dovecot/login/default: tar format cannot archive socket: Inappropriate file type or format
tar: ./named/var/run/log: tar format cannot archive socket: Inappropriate file type or format
[/blue][/small]
These all have permissions of type
srw-rw-rw-
as in
[small][blue]
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./run/log=
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./run/devd.pipe=
srw------- 1 root wheel 0 Jan 1 2002 ./run/logpriv=
srw-rw-rw- 1 root wheel 0 Sep 29 05:03 ./run/rpcbind.sock=
srw------- 1 root wheel 0 Sep 29 05:03 ./run/dovecot/auth-worker.818=
srwxrwxrwx 1 root wheel 0 Sep 29 05:03 ./run/dovecot/dict-server=
srw-rw---- 1 root dovecot 0 Sep 29 05:03 ./run/dovecot/login/default=
srw-rw-rw- 1 root wheel 0 Jan 1 2002 ./named/var/run/log=
[/blue][/small]
I was told that only way to effect the change over is to reconfigure the config files and that the program(s) would recreate the dir with the correct permissions
Now the "Life with Qmail" p29 doc. list a long array of config files all of which were not configured with explicit paths.
Could someone say in which configure file I would have to reset the /var to /usr/var path so as to make this change, and where it is to be found.
Thanks