Closed Bug 357199 Opened 18 years ago Closed 18 years ago

File ownership on the new landfill.bugzilla.org is wrong in many places

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86
Linux
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mkanat, Assigned: mkanat)

Details

Something seems to have gone wrong in the p2v of landfill into its new machine.

For many, many, many files, all over the filesystem, the owner/group is wrong, causing most of the daemons not to start. I can't even properly run rpm.

Basically, landfill is not useable.

I'd imagine the solution is to either:

1) Run a script that synchronizes all of the permissions from the old landfill.
2) Re-run p2v after figuring out what went wrong.
Here's some examples from /var/lib:

drwxr-x---    2 root        407 4096 Oct 18 14:58 slocate
drwx------    5        70    70 4096 Apr  7  2006 pgsql
drwxr-x---   14        85 mail  4096 Aug  6  2005 imap
drwx------    2 dbus      dbus  4096 Aug  2 02:22 dav

And some from /var/spool:

drwxrwx---  2    209    209   4096 Oct 17 19:07 clientmqueue
drwx------  2     85 mail     4096 Apr 23  2005 imap

It's far too many to fix by hand. There are things like this all over the filesystem.
I'm actually on this myself--justdave and I figured out a way to handle it with rsync.
Assignee: server-ops → mkanat
Status: NEW → ASSIGNED
For reference, in case anybody needs it again, here's the rsync command line I'm using:

rsync -rlptgouv --progress --existing / root@63.245.210.140:/

(That's running on the old machine, and 63.245.210.140 is the new machine.)
(In reply to comment #2)
> I'm actually on this myself--justdave and I figured out a way to handle it with
> rsync.

just for the record, mrz had to bring up the old machine again for us to do this. :) (just never got logged here)
Okay, that seems to have fixed it.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.