1 |
El jue, 02-08-2012 a las 12:34 -0700, Zac Medico escribió: |
2 |
> On 08/01/2012 11:36 PM, Pacho Ramos wrote: |
3 |
> > El mié, 01-08-2012 a las 16:14 -0700, Zac Medico escribió: |
4 |
> >> On 08/01/2012 03:19 AM, Pacho Ramos wrote: |
5 |
> >>> On every openrc update I get dispatch-conf wanting to revert all my |
6 |
> >>> changes in /etc/conf.d files, like KEYMAP, clock... |
7 |
> >>> |
8 |
> >>> Is there any way to prevent it from doing that? |
9 |
> >>> |
10 |
> >>> Thanks a lot for the info |
11 |
> >>> |
12 |
> >> |
13 |
> >> Maybe we can trace the behavior back to the diff3 command that it's |
14 |
> >> using. Inside /usr/lib/portage/pym/portage/dispatch_conf.py we have this |
15 |
> >> command: |
16 |
> >> |
17 |
> >> DIFF3_MERGE = "diff3 -mE '%s' '%s' '%s' > '%s'" |
18 |
> >> |
19 |
> >> Are you able to reproduce the problem by running this command manually? |
20 |
> >> |
21 |
> >> Something like this: |
22 |
> >> |
23 |
> >> diff3 -mR /etc/conf.d/hostname \ |
24 |
> >> /etc/config-archive/etc/conf.d/hostname.dist \ |
25 |
> >> /etc/conf.d/._cfg0000_hostname > /tmp/mrgconf |
26 |
> > |
27 |
> > I will probably need to reemerge it as I already merged changes and |
28 |
> > re-edited config files. Anyway, diff3 looks to not admit -R option: |
29 |
> > $ diff3 |
30 |
> > -mR /etc/conf.d/hostname /etc/config-archive/etc/conf.d/hostname.dist /etc/conf.d/._cfg0000_hostname |
31 |
> > diff3: opción inválida -- R |
32 |
> > diff3: Pruebe `diff3 --help' para más información. |
33 |
> |
34 |
> Sorry, that -mR a typo. As you can see in the DIFF3_MERGE value above, |
35 |
> it's diff -mE. |
36 |
|
37 |
Will try on next openrc update :) |