Report forwarded to debian-bugs-dist@lists.debian.org, Tommi Virtanen <tv@debian.org>:
Bug#116732; Package dnscvsutil.
debian-bugs-dist@lists.debian.orgTommi Virtanen
Subject: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
Reply-To: "der.hans" , 116732@bugs.debian.org
Resent-From: "der.hans"
Original-Sender: "der.hans"
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Tommi Virtanen
Resent-Date: Tue, 23 Oct 2001 04:18:01 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 116732
X-Debian-PR-Package: dnscvsutil
X-Debian-PR-Keywords: patch
X-Loop: owner@bugs.debian.org
Received: via spool by submit@bugs.debian.org id=B.100381023727189
(code B ref -1); Tue, 23 Oct 2001 04:18:01 GMT
From: "der.hans"
To: Debian Bug Tracking System
X-Reportbug-Version: 1.31
X-Mailer: reportbug 1.31
Date: Mon, 22 Oct 2001 21:07:13 -0700
Message-Id:
Sender: "der.hans"
Delivered-To: submit@bugs.debian.org
Package: dnscvsutil
Version: 0.10
Severity: normal
Tags: patch
mkdir isn't working recursively. Here's a wrapper to take care of that. It's needed when using more than one level, e.g. arpa/in-addr or com/mydomain/subdomain.
lufthans@spielzeug:~/lokal/bin$ diff -u /usr/bin/dns-update dns-update.lh
--- /usr/bin/dns-update Tue Aug 28 07:01:12 2001
+++ dns-update.lh Mon Oct 22 16:22:42 2001
@@ -54,7 +54,7 @@
$file =~ s{\.domain$}{};
my $zone = join '.', reverse split '/', $file;
my $tofile = "$TO/$file.dom";
- -d "$TO/$File::Find::dir" or mkdir "$TO/$File::Find::dir", 0755
+ -d "$TO/$File::Find::dir" or &mkdirr( "$TO/$File::Find::dir", 0755 )
or fail "Cannot create directory $TO/$File::Find::dir";
convert($zone, "$FROM/$file.domain", $tofile);
print PRIMARY <Acknowledgement sent to "der.hans" <bugs@LuftHans.com>:
New Bug report received and forwarded. Copy sent to Tommi Virtanen <tv@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: "der.hans"
Subject: Bug#116732: Acknowledgement (dnscvsutil: perl's mkdir doesn't work recursively)
Message-ID:
In-Reply-To:
References:
X-Debian-PR-Message: ack 116732
Reply-To: 116732@bugs.debian.org
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers mailing list for
their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Tommi Virtanen
If you wish to submit further information on your problem, please send
it to 116732@bugs.debian.org (and *not* to
submit@bugs.debian.org).
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 23 Oct 2001 04:10:37 +0000
From lufthans@developonline.com Mon Oct 22 23:10:37 2001
Return-path:
Received: from fw1.developonline.com (spielzeug) [206.80.205.2]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15vstg-000746-00; Mon, 22 Oct 2001 23:10:37 -0500
Received: from lufthans by spielzeug with local (Exim 3.32 #1 (Debian))
id 15vsqP-0002TP-00; Mon, 22 Oct 2001 21:07:13 -0700
From: "der.hans"
To: Debian Bug Tracking System
Subject: dnscvsutil: perl's mkdir doesn't work recursively
X-Reportbug-Version: 1.31
X-Mailer: reportbug 1.31
Date: Mon, 22 Oct 2001 21:07:13 -0700
Message-Id:
Sender: "der.hans"
Delivered-To: submit@bugs.debian.org
Package: dnscvsutil
Version: 0.10
Severity: normal
Tags: patch
mkdir isn't working recursively. Here's a wrapper to take care of that. It's needed when using more than one level, e.g. arpa/in-addr or com/mydomain/subdomain.
lufthans@spielzeug:~/lokal/bin$ diff -u /usr/bin/dns-update dns-update.lh
--- /usr/bin/dns-update Tue Aug 28 07:01:12 2001
+++ dns-update.lh Mon Oct 22 16:22:42 2001
@@ -54,7 +54,7 @@
$file =~ s{\.domain$}{};
my $zone = join '.', reverse split '/', $file;
my $tofile = "$TO/$file.dom";
- -d "$TO/$File::Find::dir" or mkdir "$TO/$File::Find::dir", 0755
+ -d "$TO/$File::Find::dir" or &mkdirr( "$TO/$File::Find::dir", 0755 )
or fail "Cannot create directory $TO/$File::Find::dir";
convert($zone, "$FROM/$file.domain", $tofile);
print PRIMARY <Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#116732; Package dnscvsutil.
debian-bugs-dist@lists.debian.org
Subject: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
Reply-To: Tommi Virtanen , 116732@bugs.debian.org
Resent-From: Tommi Virtanen
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Date: Sun, 04 Nov 2001 17:18:01 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 116732
X-Debian-PR-Package: dnscvsutil
X-Debian-PR-Keywords: patch
X-Loop: owner@bugs.debian.org
Received: via spool by 116732-submit@bugs.debian.org id=B116732.100489408812199
(code B ref 116732); Sun, 04 Nov 2001 17:18:01 GMT
To: "der.hans"
Cc: 116732@bugs.debian.org
References:
From: Tommi Virtanen
Date: 04 Nov 2001 19:14:17 +0200
In-Reply-To:
Message-ID: <871yjeqx06.fsf@ki.yok.utu.fi>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 116732@bugs.debian.org
tag 116732 unreproducible
thanks
"der.hans" writes:
> mkdir isn't working recursively. Here's a wrapper to take care of
> that. It's needed when using more than one level, e.g. arpa/in-addr
> or com/mydomain/subdomain.
I'm unable to reproduce that here. I just removed everything
in /var/lib/dnscvsutil/compiled and re-ran dns-update -- it
happily created all the dirs.
Also, it creates missing directories as soon as the File::Find
enters them in the source tree -- this means the recursion
order of File::Find ensures the missing directories are
created as needed.
You'll need to provide more evidence of what is _really_
happening -- I'm guessing you were missing the whole
/var/lib/dnscvsutil/compiled directory, and that should never
happen.
--
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}
Acknowledgement sent to Tommi Virtanen <tv@debian.org>:
Extra info received and forwarded to list.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Tommi Virtanen
Subject: Bug#116732: Info received (was Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively)
Message-ID:
In-Reply-To: <871yjeqx06.fsf@ki.yok.utu.fi>
References: <871yjeqx06.fsf@ki.yok.utu.fi>
X-Debian-PR-Message: ack-info 116732
Disabled-Doogie-Reply-To: 116732@bugs.debian.org
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
If you wish to continue to submit further information on your problem,
please send it to 116732@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 116732) by bugs.debian.org; 4 Nov 2001 17:14:48 +0000
From tv-nospam-42b34d@hq.yok.utu.fi Sun Nov 04 11:14:48 2001
Return-path:
Received: from ki.yok.utu.fi [130.232.129.100]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 160QrA-00039m-00; Sun, 04 Nov 2001 11:14:48 -0600
Received: by ki.yok.utu.fi (Postfix, from userid 1000)
id 751796BB0C; Sun, 4 Nov 2001 19:14:17 +0200 (EET)
To: "der.hans"
Cc: 116732@bugs.debian.org
Subject: Re: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
References:
From: Tommi Virtanen
Date: 04 Nov 2001 19:14:17 +0200
In-Reply-To:
Message-ID: <871yjeqx06.fsf@ki.yok.utu.fi>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 116732@bugs.debian.org
tag 116732 unreproducible
thanks
"der.hans" writes:
> mkdir isn't working recursively. Here's a wrapper to take care of
> that. It's needed when using more than one level, e.g. arpa/in-addr
> or com/mydomain/subdomain.
I'm unable to reproduce that here. I just removed everything
in /var/lib/dnscvsutil/compiled and re-ran dns-update -- it
happily created all the dirs.
Also, it creates missing directories as soon as the File::Find
enters them in the source tree -- this means the recursion
order of File::Find ensures the missing directories are
created as needed.
You'll need to provide more evidence of what is _really_
happening -- I'm guessing you were missing the whole
/var/lib/dnscvsutil/compiled directory, and that should never
happen.
--
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}
Tags added: unreproducible
Request was from Tommi Virtanen <tv@debian.org>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 4 Nov 2001 17:14:48 +0000
From tv-nospam-42b34d@hq.yok.utu.fi Sun Nov 04 11:14:48 2001
Return-path:
Received: from ki.yok.utu.fi [130.232.129.100]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 160QrA-00039m-00; Sun, 04 Nov 2001 11:14:48 -0600
Received: by ki.yok.utu.fi (Postfix, from userid 1000)
id 751796BB0C; Sun, 4 Nov 2001 19:14:17 +0200 (EET)
To: "der.hans"
Cc: 116732@bugs.debian.org
Subject: Re: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
References:
From: Tommi Virtanen
Date: 04 Nov 2001 19:14:17 +0200
In-Reply-To:
Message-ID: <871yjeqx06.fsf@ki.yok.utu.fi>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: control@bugs.debian.org
tag 116732 unreproducible
thanks
"der.hans" writes:
> mkdir isn't working recursively. Here's a wrapper to take care of
> that. It's needed when using more than one level, e.g. arpa/in-addr
> or com/mydomain/subdomain.
I'm unable to reproduce that here. I just removed everything
in /var/lib/dnscvsutil/compiled and re-ran dns-update -- it
happily created all the dirs.
Also, it creates missing directories as soon as the File::Find
enters them in the source tree -- this means the recursion
order of File::Find ensures the missing directories are
created as needed.
You'll need to provide more evidence of what is _really_
happening -- I'm guessing you were missing the whole
/var/lib/dnscvsutil/compiled directory, and that should never
happen.
--
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}
Information forwarded to debian-bugs-dist@lists.debian.org, Tommi Virtanen <tv@debian.org>, dnscvsutil@packages.qa.debian.org:
Bug#116732; Package dnscvsutil.
debian-bugs-dist@lists.debian.orgTommi Virtanen dnscvsutil@packages.qa.debian.org
X-Loop: owner@bugs.debian.org
Subject: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
Reply-To: bugs@LuftHans.com, 116732@bugs.debian.org
Resent-From: bugs@LuftHans.com
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Tommi Virtanen , dnscvsutil@packages.qa.debian.org
Resent-Date: Mon, 10 Jun 2002 03:33:08 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 116732
X-Debian-PR-Package: dnscvsutil
X-Debian-PR-Keywords: unreproducible patch
Received: via spool by 116732-submit@bugs.debian.org id=B116732.102367961428320
(code B ref 116732); Mon, 10 Jun 2002 03:33:08 GMT
Date: Sun, 9 Jun 2002 20:33:52 -0700 (MST)
From: bugs@LuftHans.com
X-X-Sender: lufthans@spliff.LuftHans.com
To: Tommi Virtanen
cc: 116732@bugs.debian.org
In-Reply-To: <871yjeqx06.fsf@ki.yok.utu.fi>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-15
Content-Transfer-Encoding: QUOTED-PRINTABLE
Delivered-To: 116732@bugs.debian.org
Am 04. Nov, 2001 schw=E4tzte Tommi Virtanen so:
> tag 116732 unreproducible
> thanks
>
> "der.hans" writes:
>
> > mkdir isn't working recursively. Here's a wrapper to take care of
> > that. It's needed when using more than one level, e.g. arpa/in-addr
> > or com/mydomain/subdomain.
>
> =09I'm unable to reproduce that here. I just removed everything
> =09in /var/lib/dnscvsutil/compiled and re-ran dns-update -- it
> =09happily created all the dirs.
Are you creating domains with multiple directory depth entries?
# ls /var/lib/dnscvsutil/cvs/domains/us/az/phoenix/PLUG.domain,v
/var/lib/dnscvsutil/cvs/domains/us/az/phoenix/PLUG.domain,v
According to the README that should work.
> Also, it creates missing directories as soon as the File::Find
> enters them in the source tree -- this means the recursion
> order of File::Find ensures the missing directories are
> created as needed.
It doesn't. It's only feeding the final directory to mkdir().
You find files ending in '.domain', then feed the directories they were fou=
nd
in to mkdir(). "$TO/$File::Find::dir" contains the entire directory path.
If there were domain files in between, it probably would work because you'r=
e
not using a depth first find. Since I have no zone files in us or us/az, it
tries to create us/az/phoenix under /var/lib/dnscvsutil/compiled/.
# dns-update
/usr/bin/dns-update: Cannot create directory
/var/lib/dnscvsutil/compiled/./us/az/phoenix
# ls -ld /var/lib/dnscvsutil/compiled/
drwxrwsr-x 2 root dnsadmin 4096 Jun 9 11:29
/var/lib/dnscvsutil/compiled/
# ls -l /var/lib/dnscvsutil/compiled/
total 4
-rw-r--r-- 1 root dnsadmin 45 Jun 9 13:11
named-primary.conf.tmp
> You'll need to provide more evidence of what is _really_
> happening -- I'm guessing you were missing the whole
> /var/lib/dnscvsutil/compiled directory, and that should never
> happen.
It's feeding the whole missing dir structure to mkdir(). mkdir() doesn't
recursively make directories, so the mkdir() fails.
It works just fine if I have directory structures that are only one dir
deep, but anything that requires creating two levels of directories in
/var/lib/dnscvsutil/compiled/ fails.
# dpkg -l dnscvsutil
Desired=3DUnknown/Install/Remove/Purge/Hold
| Status=3DNot/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err:
|uppercase=3Dbad)
||/ Name Version Description
+++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ii dnscvsutil 0.10 Maintain DNS zone files under CVS control
I've run into this problem with every installation of dnscvsutil that I've
made. Most have been from fresh installs of either potato or woody.
Looking at the man page for Find::File I see that you get 'taint' behavior
if the $EUID !=3D $UID or if $EGID !=3D $GID. I often obtian root privilege=
s
via sudo and seldom use '-' with su.
# echo euid=3D$EUID, uid=3D$UID, egid=3D$EGID, gid=3D$GID
euid=3D0, uid=3D0, egid=3D, gid=3D
# su -
reiser:~# echo euid=3D$EUID, uid=3D$UID, egid=3D$EGID, gid=3D$GID
euid=3D0, uid=3D0, egid=3D, gid=3D
reiser:~# dns-update
/usr/bin/dns-update: Cannot create directory
/var/lib/dnscvsutil/compiled/./us/az/phoenix
In this case I'd actually just used su as this is a fresh install and I
haven't yet setup sudo.
ciao,
der.hans
--=20
# https://www.LuftHans.com/
# Like the maid, I don't do (M$)Windows. - der.hans
Acknowledgement sent to bugs@LuftHans.com:
Extra info received and forwarded to list. Copy sent to Tommi Virtanen <tv@debian.org>, dnscvsutil@packages.qa.debian.org.
-t
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: bugs@LuftHans.com
Subject: Bug#116732: Info received (was Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively)
Message-ID:
In-Reply-To:
References:
X-Debian-PR-Message: ack-info 116732
X-Reply-To-disabled-by-doogie-because-it-can-wreak-havoc: 116732@bugs.debian.org
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Tommi Virtanen
If you wish to continue to submit further information on your problem,
please send it to 116732@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Received: (at 116732) by bugs.debian.org; 10 Jun 2002 03:26:54 +0000
From bugs@lufthans.com Sun Jun 09 22:26:54 2002
Return-path:
Received: from cpe-24-221-1-115.az.sprintbbd.net (spliff.LuftHans.com) [24.221.1.115]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 17HFpT-0007Ma-00; Sun, 09 Jun 2002 22:26:52 -0500
Received: from localhost ([127.0.0.1])
by spliff.LuftHans.com with esmtp (Exim 3.32 #1 (Debian))
id 17HFwG-0001jz-00; Sun, 09 Jun 2002 20:33:52 -0700
Date: Sun, 9 Jun 2002 20:33:52 -0700 (MST)
From: bugs@LuftHans.com
X-X-Sender: lufthans@spliff.LuftHans.com
To: Tommi Virtanen
cc: 116732@bugs.debian.org
Subject: Re: Bug#116732: dnscvsutil: perl's mkdir doesn't work recursively
In-Reply-To: <871yjeqx06.fsf@ki.yok.utu.fi>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-15
Content-Transfer-Encoding: QUOTED-PRINTABLE
Delivered-To: 116732@bugs.debian.org
Am 04. Nov, 2001 schw=E4tzte Tommi Virtanen so:
> tag 116732 unreproducible
> thanks
>
> "der.hans" writes:
>
> > mkdir isn't working recursively. Here's a wrapper to take care of
> > that. It's needed when using more than one level, e.g. arpa/in-addr
> > or com/mydomain/subdomain.
>
> =09I'm unable to reproduce that here. I just removed everything
> =09in /var/lib/dnscvsutil/compiled and re-ran dns-update -- it
> =09happily created all the dirs.
Are you creating domains with multiple directory depth entries?
# ls /var/lib/dnscvsutil/cvs/domains/us/az/phoenix/PLUG.domain,v
/var/lib/dnscvsutil/cvs/domains/us/az/phoenix/PLUG.domain,v
According to the README that should work.
> Also, it creates missing directories as soon as the File::Find
> enters them in the source tree -- this means the recursion
> order of File::Find ensures the missing directories are
> created as needed.
It doesn't. It's only feeding the final directory to mkdir().
You find files ending in '.domain', then feed the directories they were fou=
nd
in to mkdir(). "$TO/$File::Find::dir" contains the entire directory path.
If there were domain files in between, it probably would work because you'r=
e
not using a depth first find. Since I have no zone files in us or us/az, it
tries to create us/az/phoenix under /var/lib/dnscvsutil/compiled/.
# dns-update
/usr/bin/dns-update: Cannot create directory
/var/lib/dnscvsutil/compiled/./us/az/phoenix
# ls -ld /var/lib/dnscvsutil/compiled/
drwxrwsr-x 2 root dnsadmin 4096 Jun 9 11:29
/var/lib/dnscvsutil/compiled/
# ls -l /var/lib/dnscvsutil/compiled/
total 4
-rw-r--r-- 1 root dnsadmin 45 Jun 9 13:11
named-primary.conf.tmp
> You'll need to provide more evidence of what is _really_
> happening -- I'm guessing you were missing the whole
> /var/lib/dnscvsutil/compiled directory, and that should never
> happen.
It's feeding the whole missing dir structure to mkdir(). mkdir() doesn't
recursively make directories, so the mkdir() fails.
It works just fine if I have directory structures that are only one dir
deep, but anything that requires creating two levels of directories in
/var/lib/dnscvsutil/compiled/ fails.
# dpkg -l dnscvsutil
Desired=3DUnknown/Install/Remove/Purge/Hold
| Status=3DNot/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err:
|uppercase=3Dbad)
||/ Name Version Description
+++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ii dnscvsutil 0.10 Maintain DNS zone files under CVS control
I've run into this problem with every installation of dnscvsutil that I've
made. Most have been from fresh installs of either potato or woody.
Looking at the man page for Find::File I see that you get 'taint' behavior
if the $EUID !=3D $UID or if $EGID !=3D $GID. I often obtian root privilege=
s
via sudo and seldom use '-' with su.
# echo euid=3D$EUID, uid=3D$UID, egid=3D$EGID, gid=3D$GID
euid=3D0, uid=3D0, egid=3D, gid=3D
# su -
reiser:~# echo euid=3D$EUID, uid=3D$UID, egid=3D$EGID, gid=3D$GID
euid=3D0, uid=3D0, egid=3D, gid=3D
reiser:~# dns-update
/usr/bin/dns-update: Cannot create directory
/var/lib/dnscvsutil/compiled/./us/az/phoenix
In this case I'd actually just used su as this is a fresh install and I
haven't yet setup sudo.
ciao,
der.hans
--=20
# https://www.LuftHans.com/
# Like the maid, I don't do (M$)Windows. - der.hans
Reply sent to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Marco Rodrigues
Subject: Bug#116732: marked as done (dnscvsutil: perl's mkdir doesn't work
recursively)
Message-ID:
References: <200805301507.m4UF7A8R010664@kmos.homeip.net>
X-Debian-PR-Message: closed 116732
X-Debian-PR-Package: dnscvsutil
X-Debian-PR-Keywords: unreproducible patch
X-Debian-PR-Source: dnscvsutil
Content-Type: multipart/mixed; boundary="----------=_1212160512-11554-0"
This is a multi-part message in MIME format...
------------=_1212160512-11554-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
Your message dated Fri, 30 May 2008 16:07:10 +0100
with message-id <200805301507.m4UF7A8R010664@kmos.homeip.net>
and subject line dnscvsutil has been removed from Debian, closing #116732
has caused the Debian Bug report #116732,
regarding dnscvsutil: perl's mkdir doesn't work recursively
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
116732: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D116732
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1212160512-11554-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 23 Oct 2001 04:10:37 +0000
Return-path:
Received: from fw1.developonline.com (spielzeug) [206.80.205.2]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15vstg-000746-00; Mon, 22 Oct 2001 23:10:37 -0500
Received: from lufthans by spielzeug with local (Exim 3.32 #1 (Debian))
id 15vsqP-0002TP-00; Mon, 22 Oct 2001 21:07:13 -0700
From: "der.hans"
To: Debian Bug Tracking System
Subject: dnscvsutil: perl's mkdir doesn't work recursively
X-Reportbug-Version: 1.31
X-Mailer: reportbug 1.31
Date: Mon, 22 Oct 2001 21:07:13 -0700
Message-Id:
Sender: "der.hans"
Delivered-To: submit@bugs.debian.org
Package: dnscvsutil
Version: 0.10
Severity: normal
Tags: patch
mkdir isn't working recursively. Here's a wrapper to take care of that. It's needed when using more than one level, e.g. arpa/in-addr or com/mydomain/subdomain.
lufthans@spielzeug:~/lokal/bin$ diff -u /usr/bin/dns-update dns-update.lh
--- /usr/bin/dns-update Tue Aug 28 07:01:12 2001
+++ dns-update.lh Mon Oct 22 16:22:42 2001
@@ -54,7 +54,7 @@
$file =~ s{\.domain$}{};
my $zone = join '.', reverse split '/', $file;
my $tofile = "$TO/$file.dom";
- -d "$TO/$File::Find::dir" or mkdir "$TO/$File::Find::dir", 0755
+ -d "$TO/$File::Find::dir" or &mkdirr( "$TO/$File::Find::dir", 0755 )
or fail "Cannot create directory $TO/$File::Find::dir";
convert($zone, "$FROM/$file.domain", $tofile);
print PRIMARY <
Received: from 249-224.dial.nortenet.pt ([84.18.249.224] helo=kmos.homeip.net)
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1K26CG-0005ul-GF
for 116732-done@bugs.debian.org; Fri, 30 May 2008 15:07:13 +0000
Received: from kmos.homeip.net (localhost [127.0.0.1])
by kmos.homeip.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id m4UF7A1O010665
for <116732-done@bugs.debian.org>; Fri, 30 May 2008 16:07:10 +0100
Received: (from kmos@localhost)
by kmos.homeip.net (8.14.2/8.14.2/Submit) id m4UF7A8R010664;
Fri, 30 May 2008 16:07:10 +0100
Date: Fri, 30 May 2008 16:07:10 +0100
Message-Id: <200805301507.m4UF7A8R010664@kmos.homeip.net>
From: Marco Rodrigues
To: 116732-done@bugs.debian.org
Subject: dnscvsutil has been removed from Debian, closing #116732
Version: 0.10.2+rm
The dnscvsutil package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/440616 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
------------=_1212160512-11554-0--
Notification sent to "der.hans" <bugs@LuftHans.com>:
Bug acknowledged by developer.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: "der.hans"
Subject: Bug#116732 closed by Marco Rodrigues
(dnscvsutil has been removed from Debian, closing #116732)
Message-ID:
References: <200805301507.m4UF7A8R010664@kmos.homeip.net>
X-Debian-PR-Message: they-closed 116732
X-Debian-PR-Package: dnscvsutil
X-Debian-PR-Keywords: unreproducible patch
X-Debian-PR-Source: dnscvsutil
Reply-To: 116732@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1212160513-11554-1"
This is a multi-part message in MIME format...
------------=_1212160513-11554-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
This is an automatic notification regarding your Bug report
which was filed against the dnscvsutil package:
#116732: dnscvsutil: perl's mkdir doesn't work recursively
It has been closed by Marco Rodrigues .
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Marco Rodrigues by
replying to this email.
--=20
116732: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D116732
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1212160513-11554-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 116732-done) by bugs.debian.org; 30 May 2008 15:07:13 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02
(2006-07-26) on rietz.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-1.5 required=4.0 tests=BAYES_00,FORGED_RCVD_HELO,
IMPRONONCABLE_1,MURPHY_WRONG_WORD2,SUBJ_HAS_UNIQ_ID,UNPARSEABLE_RELAY
autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Return-path:
Received: from 249-224.dial.nortenet.pt ([84.18.249.224] helo=kmos.homeip.net)
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1K26CG-0005ul-GF
for 116732-done@bugs.debian.org; Fri, 30 May 2008 15:07:13 +0000
Received: from kmos.homeip.net (localhost [127.0.0.1])
by kmos.homeip.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id m4UF7A1O010665
for <116732-done@bugs.debian.org>; Fri, 30 May 2008 16:07:10 +0100
Received: (from kmos@localhost)
by kmos.homeip.net (8.14.2/8.14.2/Submit) id m4UF7A8R010664;
Fri, 30 May 2008 16:07:10 +0100
Date: Fri, 30 May 2008 16:07:10 +0100
Message-Id: <200805301507.m4UF7A8R010664@kmos.homeip.net>
From: Marco Rodrigues
To: 116732-done@bugs.debian.org
Subject: dnscvsutil has been removed from Debian, closing #116732
Version: 0.10.2+rm
The dnscvsutil package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/440616 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
------------=_1212160513-11554-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 23 Oct 2001 04:10:37 +0000
Return-path:
Received: from fw1.developonline.com (spielzeug) [206.80.205.2]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15vstg-000746-00; Mon, 22 Oct 2001 23:10:37 -0500
Received: from lufthans by spielzeug with local (Exim 3.32 #1 (Debian))
id 15vsqP-0002TP-00; Mon, 22 Oct 2001 21:07:13 -0700
From: "der.hans"
To: Debian Bug Tracking System
Subject: dnscvsutil: perl's mkdir doesn't work recursively
X-Reportbug-Version: 1.31
X-Mailer: reportbug 1.31
Date: Mon, 22 Oct 2001 21:07:13 -0700
Message-Id:
Sender: "der.hans"
Delivered-To: submit@bugs.debian.org
Package: dnscvsutil
Version: 0.10
Severity: normal
Tags: patch
mkdir isn't working recursively. Here's a wrapper to take care of that. It's needed when using more than one level, e.g. arpa/in-addr or com/mydomain/subdomain.
lufthans@spielzeug:~/lokal/bin$ diff -u /usr/bin/dns-update dns-update.lh
--- /usr/bin/dns-update Tue Aug 28 07:01:12 2001
+++ dns-update.lh Mon Oct 22 16:22:42 2001
@@ -54,7 +54,7 @@
$file =~ s{\.domain$}{};
my $zone = join '.', reverse split '/', $file;
my $tofile = "$TO/$file.dom";
- -d "$TO/$File::Find::dir" or mkdir "$TO/$File::Find::dir", 0755
+ -d "$TO/$File::Find::dir" or &mkdirr( "$TO/$File::Find::dir", 0755 )
or fail "Cannot create directory $TO/$File::Find::dir";
convert($zone, "$FROM/$file.domain", $tofile);
print PRIMARY <
Received: from 249-224.dial.nortenet.pt ([84.18.249.224] helo=kmos.homeip.net)
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1K26CG-0005ul-GF
for 116732-done@bugs.debian.org; Fri, 30 May 2008 15:07:13 +0000
Received: from kmos.homeip.net (localhost [127.0.0.1])
by kmos.homeip.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id m4UF7A1O010665
for <116732-done@bugs.debian.org>; Fri, 30 May 2008 16:07:10 +0100
Received: (from kmos@localhost)
by kmos.homeip.net (8.14.2/8.14.2/Submit) id m4UF7A8R010664;
Fri, 30 May 2008 16:07:10 +0100
Date: Fri, 30 May 2008 16:07:10 +0100
Message-Id: <200805301507.m4UF7A8R010664@kmos.homeip.net>
From: Marco Rodrigues
To: 116732-done@bugs.debian.org
Subject: dnscvsutil has been removed from Debian, closing #116732
Version: 0.10.2+rm
The dnscvsutil package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/440616 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org