[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#514098: debootstrap: /dev/fd isn't created



reassign 514098 makedev
found 2.3.1-83
notfound 2.3.1-84
thanks

Frank Lin PIAT <fpiat@klabs.be> writes:

> Package: debootstrap
> Version: 0.3.3.2etch1
> Severity: normal
>
> Hi,
>
> I have installed a lenny VM under etch using xen-create-image
> (package:xen-tools). It uses debootstrap to install the guest system.
>
> The symlink /dev/fd wasn't created during the installation.	
<...>
> As a workaround, one can manually execute:
>  ln -s /proc/self/fd /dev/fd
<...>

Since you cited it worked for you in Lenny, I tried to trace it and
found that it was not a debootstrap issue but a makedev one (hence
reassign).

Look bellow:

,----
| makedev (2.3.1-84) unstable; urgency=low
| 
|   * add 'fd' to the list of targets created in the postinst, closes: #394863
|   * ensure subdir exists before trying to make uinput, closes: #406890
|   * add armel to the architecture list, closes: #408810
|   * correct LSB-formatted init.d script meta info, closes: #386712
|   * init.d script is no longer needed, so remove it.  closes: #428222
|   * add cbm target, closes: #437329
| 
|  -- Bdale Garbee <bdale@gag.com>  Fri, 28 Sep 2007 16:02:27 +0900
`----

Looking at MAKEDEV source code it confirms it:

,----[ MAKEDEV source ]
|...
|         fd)
|                 # not really devices, we use the /proc filesystem
|                 symlink fd     $procfs/self/fd
|                 symlink stdin  fd/0
|                 symlink stdout fd/1
|                 symlink stderr fd/2
|...
`----

So you were right: the issue has been fixed for Lenny and we don't
need to worry about it ;-)

Cheers,

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



Reply to: