Re: usrmove breaks on directory name conflict

2012-04-23 Thread Michal Schmidt

On 04/23/2012 05:45 PM, Daniel Drake wrote:

cp: cannot overwrite directory /mnt/sysimage/usr/bin.usrmove-new/mkdir
with non-directory
Something failed. Move back to the original state.


Rebooted back into F16. It looks like the issue was that I had a
directory at /usr/bin/mkdir/. No idea how, looks like it was from
December. Probably my fault, but perhaps usrmove shouldn't fall over
when facing this situation.


If usrmove really reverted everything to its original state, it seems to 
me like a case of well-behaving error handling after encountering an 
unusual situation that cannot be resolved automatically and safely.


Michal
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: usrmove breaks on directory name conflict

2012-04-23 Thread Sérgio Basto
On Mon, 2012-04-23 at 09:45 -0600, Daniel Drake wrote: 
 Hi,
 
 Last week I tried a preupgrade from F16 to F17 beta.
 
 When rebooting into the preupgrade environment, the upgrade failed in usrmove:
 
 Make a copy of /mnt/sysimage/usr/bin
 Merge the copy with /mnt/sysimage/bin
 cp: cannot overwrite directory /mnt/sysimage/usr/bin.usrmove-new/mkdir
 with non-directory
 Something failed. Move back to the original state.
 
 
 Rebooted back into F16. It looks like the issue was that I had a
 directory at /usr/bin/mkdir/. No idea how, looks like it was from
 December. Probably my fault, but perhaps usrmove shouldn't fall over
 when facing this situation.
 
 After removing that weird directory, I rebooted into preupgrade and it
 worked fine. Now running F17 beta.

you should open a bug report in rhbz , with component preupgrade .  

Tks, 
-- 
Sérgio M. B.

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: usrmove breaks on directory name conflict

2012-04-23 Thread Kevin Kofler
Sérgio Basto wrote:
 you should open a bug report in rhbz , with component preupgrade .

Isn't the usrmove script actually part of dracut?

Kevin Kofler

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel