Package: dtc-xen
Version: 0.5.14-1
Severity: normal

I find a number of issues with /usr/sbin/dtc-xen_finish_install

The user is told via debconf that this script should be run to finish the
install of dtc-xen.  This script however seems to do I bunch of things that I
find suspect.

chown root:xenusers /usr/bin/dtc-xen_userconsole
chmod -s /usr/bin/dtc-xen_userconsole

Why are we doing this?  did you mean /bin/dtc-xen_userconsole?  Even if you 
did, what is the point of changing the group owner?  (afaict this doesn't give 
the group any extra privileges, since it is 0644 anyway)

It assumes I have ssh installed.  If I don't, the script terminates early with
an error.

The script does a poor job of interpreting /etc/ssh/sshd_config:  
        grep "AllowTcpForwarding no" /etc/ssh/sshd_config
is not a reliable way to see if TCPForwarding is disabled. If that fails, then
        grep "AllowTcpForwarding" /etc/ssh/sshd_config
is not a reliable way to see if TCPForwarding is enabled.

The script checks to see what stuff might exist in /usr/share/dtc-xen-os, which
doesn't seem to be a directory in any debian package.  I don't seem to find any
documentation that tells me what might go there.

Then you tell the user that they should add a sources.list entry for a third
party repsitory which seems to have packages for lenny ?!?  Why is this.  Are
there packages in this repository that are needed for using dtc-xen?

It appears that since /usr/share/dtc-xen-os doens't exist, you will then tell 
the user to run:
"apt-get install"

Which seems rather pointless.  were you going to tell them to apt-get update?
apt-key add?


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to