Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pbbuttonsd configuration file disappeared
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Mon Apr 12, 2004 1:01 pm    Post subject: pbbuttonsd configuration file disappeared Reply with quote

Hello!

I just updated pbbuttonsd to version 0.5.10.
Now /etc/pbbuttonsd.conf is a link to /var/lib/pbbuttons/pbbuttonsd.conf, but this file doesn't exist.

A slocate -u && slocate pbbuttonsd.conf doesn't report another location of the file.
I do not remember the former situation very well, but I guess /etc/pbbuttonsd.conf was a file and not a link. Why did emerge overwrite this file, although it is a /etc configutation file which should be protected?

Is there anyone that already had this problem, and maybe has an explanation?
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
tbfr
n00b
n00b


Joined: 03 Jan 2004
Posts: 26

PostPosted: Mon Apr 12, 2004 4:44 pm    Post subject: Reply with quote

according to the pbbuttonsd website /var/lib/pbbuttons/ was the default path for the config file until 5.9-5. i forgot to look at it before upgrading but yes, /etc/pbbuttonsd was once a file.
previous versions overwrote it too and i got used to replace it with a backup after emerging a new version.
the link now points to nowhere, isn't this part in the ebuild wrong for the new version?

Quote:

#fix the symlink
rm ${D}/etc/pbbuttonsd.conf
# mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf
# dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf
dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Mon Apr 12, 2004 8:58 pm    Post subject: Reply with quote

The ebuild assumes that a file /${mydir}/pbbuttons/pbbuttonsd.conf gets installed, but appearently, this is not the case in 0.5.10.

The ebuild of 0.5.9 looks the same, so maybe /etc/pbbuttonsd.conf always was a symlink. But then, I do not understand, why my config file got erased.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Mon Apr 12, 2004 9:48 pm    Post subject: Reply with quote

tbfr wrote:

the link now points to nowhere, isn't this part in the ebuild wrong for the new version?

Code:

   #fix the symlink
   rm ${D}/etc/pbbuttonsd.conf
#   mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf
#   dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf
   dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf


Yes, you were right. Removing these lines fixes the ebuild. I filed a Bug Report with patch.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum