[winswitch] xpra-0.9.0 RPM installation

Utku Altunkaya utku at um-ic.com
Wed May 15 12:50:04 BST 2013


On 25/04/13 17:03, Antoine Martin wrote:
> (snip)
>>> Another issue is that everytime I do an update the RPM overwrites my
>>> custom site-wide configuration in /etc/xpra/xpra.conf. It should check
>>> the existence of xpra.conf (which can be a regular file or, as is in my
>>> case, a symbolic link) and leave it untouched, preferably saving the new
>>> default configuration in a file such as xpra.conf.rpmorig.
>> Isn't that rpm's responsability to manage how those are handled?
> Sorry, I'm totally wrong on this. It looks like we should be using the
> %config directive here and we don't. Will fix.

RPM installation still overwrites custom configuration files in
/etc/xpra. Also, both 0.9.1 and 0.9.2 RPMs produce a new warning during
installation, probably due to the modification in the RPM spec file:

Installing : xpra-0.9.2-1.fc17.x86_64
Non-fatal POSTIN scriptlet failure in rpm package xpra-0.9.2-1.fc17.x86_64
/var/tmp/rpm-tmp.RsMGFA: line 2: fg: no job control
/var/tmp/rpm-tmp.RsMGFA: line 3: /etc/xpra/xpra.conf: Permission denied
/var/tmp/rpm-tmp.RsMGFA: line 4: /etc/xpra/xorg.conf: Permission denied
warning: %post(xpra-0.9.2-1.fc17.x86_64) scriptlet failed, exit status 126




More information about the shifter-users mailing list