On Thursday 17 April 2008 11:41:56 Gunnar Thielebein wrote:

> -------- Original-Nachricht --------

> Betreff: Re: fsvs configuration bug

> Datum: Thu, 17 Apr 2008 07:27:01 +0200 (CEST)

> Von: Philipp Marek <philipp@marek.priv.at>

> Antwort an: users@fsvs.tigris.org

> An: gunnar_thielebein@gmx.net

> CC: users@fsvs.tigris.org, hw@travelping.com, aschultz@travelping.com

> Referenzen: <200804161834.34447.gunnar_thielebein@gmx.net>

>

>

Hi Marek,

thank you for your immidiate answer.

I did a test on another machine and it seems to work fine there like it should be.

At buttom you'll find output of the commands.

>

> Hello Gunnar!

>

> > Where we are struggling now is when doing some configuration management.

> > Lets say we are in /etc/apache2 and have done some changes in

> > sites-enable/000-default and want to perform a commit.

> >

> > fsvs commit -m "changed apache2 config"

> >

> > fsvs tries to look for configuration of the path which is cwd passwd as

> > parameter with fsvs commit and fails with

> >

> > "No URLs have been defined for /etc/apache2."

>

> Strange ... I have explicit code that looks at upper directories, if the

> current directory has no configuration data.

>

> Which version of FSVS are you using?

>

> Could you please send me the output of these commands?

> $ cd /etc/apache2

> $ fsvs info

An error occurred: Cannot assign requested address (99)

in ops__load_1entry

> $ fsvs ci -mX -D waa__get_waa_directory -d

04:34:09.900 waa__get_waa_directory[waa.c:351] path is /etc/apache2

04:34:09.904 waa__get_waa_directory[waa.c:398] md5 of /etc/apache2

04:34:09.904 waa__get_waa_directory[waa.c:443] returning /etc/fsvs/174c84201042bb2d7f49746dc078fd56/

04:34:09.904 waa__get_waa_directory[waa.c:351] path is /etc

04:34:09.905 waa__get_waa_directory[waa.c:398] md5 of /etc

04:34:09.905 waa__get_waa_directory[waa.c:443] returning /etc/fsvs/182f153bd94803955c2043e6f2581d5d/

04:34:09.905 waa__get_waa_directory[waa.c:351] path is /etc

04:34:09.905 waa__get_waa_directory[waa.c:398] md5 of /etc

04:34:09.905 waa__get_waa_directory[waa.c:443] returning /etc/fsvs/182f153bd94803955c2043e6f2581d5d/

04:34:09.906 waa__get_waa_directory[waa.c:351] path is /etc

04:34:09.906 waa__get_waa_directory[waa.c:398] md5 of /etc

04:34:09.906 waa__get_waa_directory[waa.c:443] returning /etc/fsvs/182f153bd94803955c2043e6f2581d5d/

No URLs have been defined for /etc.

An error occurred at 04:34:09.907: No such file or directory (2)

in url__load_nonempty_list [url.c:779]: No URLs have been defined for /etc.

> $ ls -lad /etc/fsvs/*/*

lrwxrwxrwx 1 root root 4 2008-04-16 04:37 /etc/fsvs/182f153bd94803955c2043e6f2581d5d/_base -> /etc

-rwxr-xr-x 1 root root 0 2008-04-15 08:05 /etc/fsvs/182f153bd94803955c2043e6f2581d5d/Urls

lrwxrwxrwx 1 root root 1 2008-04-16 04:37 /etc/fsvs/6666cd76f96956469e7be39d750cc7d9/_base -> /

-rwxr-xr-x 1 root root 296 2008-04-15 07:10 /etc/fsvs/6666cd76f96956469e7be39d750cc7d9/Ign

-rwxr-xr-x 1 root root 64 2008-04-15 06:59 /etc/fsvs/6666cd76f96956469e7be39d750cc7d9/Urls

lrwxrwxrwx 1 root root 5 2008-04-16 04:37 /etc/fsvs/a53bfb333437907a8d5bdc636d15c75d/_base -> /boot

-rwxr-xr-x 1 root root 69 2008-04-15 07:15 /etc/fsvs/a53bfb333437907a8d5bdc636d15c75d/Urls

lrwxrwxrwx 1 root root 4 2008-04-16 04:37 /etc/fsvs/ca905eb4a00d34150573153a09e2e79b/_base -> /var

-rwxr-xr-x 1 root root 68 2008-04-15 07:15 /etc/fsvs/ca905eb4a00d34150573153a09e2e79b/Urls

lrwxrwxrwx 1 root root 17 2008-04-16 04:37 /etc/fsvs/ddc6f68f8314c7d9557e9b5a578c3821/_base -> /home/gthielebein

-rwxr-xr-x 1 root root 2 2008-04-15 02:41 /etc/fsvs/ddc6f68f8314c7d9557e9b5a578c3821/Ign

-rwxr-xr-x 1 root root 0 2008-04-15 02:40 /etc/fsvs/ddc6f68f8314c7d9557e9b5a578c3821/Urls

strange, the "_base" is an symlink to pathes i used before for testing issues. but i deleted the urls and ignore lists for them. Why do they still appear in the config dir?

Regards, Gunnar