Bug#283475: fai: fcopy does not resolve uid/gid

2005-05-24 Thread Steffen Grunewald
On Tue, May 24, 2005 at 09:24:22AM +0200, Steffen Grunewald wrote: > On Mon, May 23, 2005 at 08:36:40PM +0200, Michael Tautschnig wrote: > > diff -rN -u old-MT_FAI/scripts/fcopy new-MT_FAI/scripts/fcopy > [...] > > - my $uid = ($user =~ /^\d+$/) ? $user : getpwnam $user; > > - my $gid = ($group

Bug#283475: fai: fcopy does not resolve uid/gid

2005-05-24 Thread Michael Tautschnig
> On Mon, May 23, 2005 at 08:36:40PM +0200, Michael Tautschnig wrote: > > Hi Steffen, > > > > if you're still interested in that problem - could you give the following > > patch > > a try? IMHO the problem is, that logcheck does not exist within your > > nfsroot, it > > only exists on the future

Bug#283475: fai: fcopy does not resolve uid/gid

2005-05-24 Thread Steffen Grunewald
On Mon, May 23, 2005 at 08:36:40PM +0200, Michael Tautschnig wrote: > Hi Steffen, > > if you're still interested in that problem - could you give the following > patch > a try? IMHO the problem is, that logcheck does not exist within your nfsroot, > it > only exists on the future client. Thus I'

Bug#283475: fai: fcopy does not resolve uid/gid

2005-05-23 Thread Michael Tautschnig
Hi Steffen, if you're still interested in that problem - could you give the following patch a try? IMHO the problem is, that logcheck does not exist within your nfsroot, it only exists on the future client. Thus I'd chroot before doing getpwnam/getgrnam. diff -rN -u old-MT_FAI/scripts/fcopy new-M