[ubuntu-dev] Bug#627405: Reduce usage of sudo

Mehdi Dogguy mehdi at debian.org
Fri May 20 11:31:57 UTC 2011


Package: ubuntu-dev-tools
Version: 0.122
Severity: important
Tags: wheezy sid

Hi,

I do appreciate some scripts shipped by ubuntu-dev-tools, especially
requestsync for example. But, a lot of scripts do use intensively
"sudo". Is it so hard to type "sudo $command"? Or, at least, $command
should inform the user that some operations are performed using
"sudo".

Please try to reduce the usage of sudo in your scripts!

For example, check-symbols, mk-sbuild and get-build-deps are really
scary. I don't think sudo's usage in those scripts is an absolute
necessity.

(check-symbols is broken by design... but that's another story).

Regards,


-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates')
Architecture: i386 (x86_64)

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

Versions of packages ubuntu-dev-tools depends on:
ii  binutils             2.20.1-16           The GNU assembler, linker and bina
ii  dctrl-tools          2.14.5              Command-line tools to process Debi
ii  devscripts           2.10.69+squeeze1    scripts to make the life of a Debi
ii  diffstat             1.53-1              produces graph of changes introduc
ii  dpkg-dev             1.15.8.10           Debian package development tools
ii  lsb-release          3.2-23.2squeeze1    Linux Standard Base version report
ii  python               2.6.6-3+squeeze6    interactive high-level object-orie
ii  python-apt           0.7.100.1           Python interface to libapt-pkg
ii  python-debian        0.1.18              Python modules to work with Debian
pn  python-launchpadlib  <none>              (no description available)
pn  python-lazr.restfulc <none>              (no description available)
ii  python-support       1.0.10              automated rebuilding support for P
ii  sudo                 1.7.4p4-2.squeeze.2 Provide limited super user privile

Versions of packages ubuntu-dev-tools recommends:
ii  bzr                      2.1.2-1         easy to use distributed version co
ii  ca-certificates          20090814+nmu2   Common CA certificates
ii  cowdancer                0.62+nmu2       Copy-on-write directory tree utili
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  genisoimage              9:1.1.11-1      Creates ISO-9660 CD-ROM filesystem
ii  libapt-pkg-perl          0.1.24+b1       Perl interface to libapt-pkg
ii  libwww-perl              5.836-1         Perl HTTP/WWW client/server librar
ii  pbuilder                 0.199+nmu1      personal package builder for Debia
ii  perl-modules             5.10.1-17       Core Perl modules
pn  python-magic             <none>          (no description available)
ii  python-soappy            0.12.0-4        SOAP Support for Python
ii  reportbug                4.12.6          reports bugs in the Debian distrib

Versions of packages ubuntu-dev-tools suggests:
pn  qemu-kvm-extras-static        <none>     (no description available)





More information about the ubuntu-dev-team mailing list