pcp
[Top] [All Lists]

Re: [pcp] rpm migrate_tempdirs() problem on SuSE

To: David Disseldorp <ddiss@xxxxxxx>
Subject: Re: [pcp] rpm migrate_tempdirs() problem on SuSE
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Mar 2013 19:54:07 +1100
Cc: Nathan Scott <nathans@xxxxxxxxxx>, PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20130327120037.7d6455bb@xxxxxxxxxx>
References: <51528C9C.5070403@xxxxxxxxxxxxxxxx> <1955776917.25463227.1364365934207.JavaMail.root@xxxxxxxxxx> <20130327120037.7d6455bb@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
On 27/03/13 22:00, David Disseldorp wrote:
...
It looks like --no-clobber was added in 2009 with coreutils 7.1 - it's
present on SLE11SP2 but missing from SLE11SP1.
...
Sounds fine to me.

I've pushed a commit into my try after extensive testing of the proposed change on SLES11SP1.

Nathan, in the testing I was tricked by this predicate

        test -d "$d" -a -k "$d" || continue

I don't understand why the migration is only done for old dirs that have the "sticky" bit set ... so what's the reason behind the -a -k part of the predicate?

<Prev in Thread] Current Thread [Next in Thread>