Bug#246741: diskless-image-simple: postinst runs nonexistent "devfs"

2004-04-30 Thread Adam C Powell IV
Package: diskless-image-simple
Version: 0.3.18.0.4
Severity: important

Greetings,

When upgrading diskless-image-simple, postinst tries to run "devfs",
which doesn't exist (not even in the devfsd package).

This is probably a holdover from woody which needs to be updated for
sarge.

Thanks,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg



Bug#246741: diskless-image-simple: postinst runs nonexistent "devfs"

2004-04-30 Thread Adam C Powell IV
tags 246741 patch
thanks

On further investigation, it's trying to set a variable called devfs,
but with a space after the variable name, so it's interpreted as a
command.

The attached patch fixes the problem.

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg
--- diskless-image-simple.postinst.bak  2004-04-30 21:10:38.0 +
+++ diskless-image-simple.postinst  2004-04-30 21:05:53.0 +
@@ -16,9 +16,9 @@
db_get diskless-image/devfs; devfs="$RET";
# convert from good looking boolean template to what expected in the 
scripts
if [ $devfs = 'true' ] ; then
-   devfs = 'yes'
+   devfs='yes'
else
-   devfs = 'no'
+   devfs='no'
fi
 
. /etc/diskless-image/config.sh


Processed: Re: diskless-image-simple: postinst runs nonexistent "devfs"

2004-04-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tags 246741 patch
Bug#246741: diskless-image-simple: postinst runs nonexistent "devfs"
There were no tags set.
Tags added: patch

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)