Bugs item #913936, was opened at 2004-03-11 08:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=913936&group_id=259

Category: systemimager-server
Group: v3.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Marco Alberoni (m_alberoni)
Assigned to: Nobody/Anonymous (nobody)
Summary: get_mounted_devs_by_mount_point_array bug?

Initial Comment:
Hello, recently we upgraded System Imager from 2.x.y to
3.0.1 version, and in my opinion there is a bug in the
mkautoinstallscript command:
the newly created <image>.master script takes the data
for file systems formatting from a mount command
executed on the server, instead of
/var/lib/systemimager/images/<image_name>/etc/systemimager/mounted_filesystems
file; this causes the failure of the client
installation procedure.

We have resolved the bug (feature?) changing the
following lines in
/usr/lib/systemimager/perl/SystemImager/Common.pm:
--------------------------------------------------------------------
74d73
<     my ($fil)[EMAIL PROTECTED];
77,80c76
<     my $vero="";
<     ($vero)=($fil =~ m/^(.*)\//);
< #    open (FH, "$cmd|") or croak("Couldn&#039;t execute
$cmd to read the output.");
<     open (FH,"<$vero/systemimager/mounted_filesystems");
---
>     open (FH, "$cmd|") or croak("Couldn&#039;t execute
$cmd to read the output.");
849c845
<     my %mounted_devs_by_mount_point =
get_mounted_devs_by_mount_point_array($file);
---
>     my %mounted_devs_by_mount_point =
get_mounted_devs_by_mount_point_array();
--------------------------------------------------------------------


What do you think about?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=913936&group_id=259


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to