[DragonFlyBSD - Bug #2527] Re: git: build: implement automatic world backups

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sun Mar 31 02:03:58 PDT 2013

Issue #2527 has been updated by marino.

The "off" switch used to be there, but it was removed.  It can be brought back.
The copy is made with "-pRP".  It looks like the first switch is responsible for the flags that must be changed before deletion.  The issue is that these flags need to be preserved in case the "restore world" option is used.  I'm not sure what to do other than tell people that use NFS that they must turn off backups.

There's also a problem with those that build as non-root and install as root.  The next build fails because the non-root user can't remove the root-owned timestamp file.  I want to solve this by making this relatively unimportant file use 777 permission so any user can delete it.  Matt didn't like this idea but personally I see nothing wrong with it.
Bug #2527: Re: git: build: implement automatic world backups

Author: c.turner1
Status: New
Priority: Normal
Target version: 

On 02/17/13 14:43, John Marino wrote:

>      Additionally, every time the "installworld" target is executed, the same
>      directories will be automatically backed up at the location of
>      ${MAKEOBJDIRPREFIX}/world_backup .  These directories could be restored
>      with the new make target "restoreworld-auto".

Bug: This breaks on NFS object trees as the copy tries to set flags,
which can't be done over NFS


1) getting an 'off button' back for this would be swell
2) build(7) should probably be updated with whatever the final result is.

personally, I'd prefer this was optional behavior with an 'on' switch,
(e.g. it seems sort of like a 'developer setting' like CFLAGS, etc)

but, that's me.

sorry to back seat drive with no attched patch - lifes a bit hectic ATM.


- Chris

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list