bug in command line interface

Bug #327496 reported by nzadLithium
2
Affects Status Importance Assigned to Milestone
network-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

apt-cache policy network-config
network-config:
  Installed: 0.2-1
  Candidate: 0.2-1
  Version table:
 *** 0.2-1 0
        500 http://nz.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

On running network-config -tl I expected to be able to retrieve a list of the available network configurations
Instead I got:
su root -c "/home/usr/bin/network-config.pl -tl"
Password:
bash: /home/usr/bin/network-config.pl: No such file or directory

The bug is caused on line 3861 where it expected the network-config script to be called network-config.pl however it is called network-config.
It can be fixed by either renaming the network-config script to network-config.pl or by changing line 3861 to read:
    my $command = "su root -c \"$program_dir/network-config @ARGV\"";
(I would think the later solution is probably better as having to type the added .pl on the end would be annoying :p)

Revision history for this message
Jim Fisher (jedijf) wrote :

This bug has been confirmed. Thank You for helping make Ubuntu better.

Changed in network-config:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.