Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251677 - sys-app/hal-0.5.11-r4: Shouldn't hald modify CONFIG_PROTECT to protect .fdi files?
Summary: sys-app/hal-0.5.11-r4: Shouldn't hald modify CONFIG_PROTECT to protect .fdi f...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 21:49 UTC by Philippe Marti
Modified: 2009-02-04 12:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Marti 2008-12-19 21:49:08 UTC
I configure part of my xorg server through the fdi files. During the last update I lost my configuration for my touchpad (x11-drivers/xf86-input-synaptics-0.99.3).

Shouldn't hal add its fdi directory to CONFIG_PROTECT to make sure they are protected during update?
Or should this be done for each package using hald?

Reproducible: Always

Steps to Reproduce:
1.Install synaptics
2.Configure through fdi file
3.update synaptics
Comment 1 Wormo (RETIRED) gentoo-dev 2008-12-20 23:22:51 UTC
Thanks for the suggestion, preserving things like the touchpad config does sound good. Assigning to hal maintainers.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 11:38:54 UTC
I'd love to. Please note however that you haven't been very specific about what files you modified and where they were.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 11:55:10 UTC
Assuming /usr/share/hal/fdi/policy for now. Added to patchset "4" as an /etc/env.d file. 0.5.11-r7 will install this env.d file, but it won't take actual effect until later upgrades.
Comment 4 Philippe Marti 2009-02-04 12:03:16 UTC
First of all I'm sorry for the lack of information.

In the meantime, I think my approach was wrong when I posted the bug report.
The fdi files I set in /etc/hal/fdi/policy wheren't read and I set my
configuration in the fdi files installed by hal in /usr/share/hal/../policy/.

The fdi files installed in /usr/.. are the default setups right?

While merging kde 4.2, I tweaked again a little bit my xorg configuration. It's
working now and I can set my configuration with fdi files in /etc/hal which is
protected.

I should probably have posted my bug reported with bug: 237223

Am I wrong again?
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 12:09:49 UTC
Could you post an update to bug #237223 in that case, confirming that the problem in earlier HAL revision is resolved. I will then close this bug as 'invalid' and not apply config protection to the HAL files in /usr/share/hal/fdi/policy. (It would have been a band-aid until I could fix #237223 properly, but if that's fixed there's indeed no need to go through with it)
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 12:33:29 UTC
Excellent, thanks for that. With the bug having disappeared I will not use the env.d file I added to patchset "4". (I've already uploaded it, so it'll still be in there)
As promised, closing as invalid. Thank you for reporting a bug all the same though :)