[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#610841: debian-edu-config: incorrect test before sourcing config file



Package: debian-edu-config
Version: 1.445
Severity: minor
Tags: patch

*** Please type your report below this line ***

$ dpkg -L debian-edu-config | xargs grep '\[ /' 2>/dev/null
/etc/dhcp/dhclient-exit-hooks.d/hostname-update:if [ /etc/debian-edu/config ] ; then
/etc/dhcp/dhclient-exit-hooks.d/wpad-proxy-update:if [ /etc/debian-edu/config ] ; then

I figure this test should be a '[ -r /etc/debian-edu-config ]'. As the above
test will always always be true.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages debian-edu-config depends on:
ii  base-files            6.0                Debian base system miscellaneous f
ii  bind9-host [host]     1:9.7.2.dfsg.P3-1  Version of 'host' bundled with BIN
ii  cfengine2             2.2.10-2           Tool for configuring and maintaini
ii  debconf [debconf-2.0] 1.5.36             Debian configuration management sy
ii  debconf-utils         1.5.36             debconf utilities
ii  debian-edu-artwork    0.0.32-2           Debian Edu themes and artwork
ii  desktop-profiles      1.4.15+nmu1        framework for setting up desktop p
ii  discover              2.1.2-5            hardware identification system
ii  education-tasks       0.851              Debian Edu tasks for tasksel
ii  fping                 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii  ldap-utils            2.4.23-7           OpenLDAP utilities
ii  libconfig-inifiles-pe 2.52-1             Read .ini-style configuration file
ii  libfilesys-df-perl    0.92-3+b1          Module to obtain filesystem disk s
ii  libhtml-fromtext-perl 2.05-5.1           Mark up text as HTML
ii  libio-socket-ssl-perl 1.33-1+squeeze1    Perl module implementing object or
ii  libjavascript-perl    1.16-3             module for executing embedded Java
ii  libnet-ldap-perl      1:0.4001-2         client interface to LDAP servers
ii  libnet-netmask-perl   1.9015-4           parse, manipulate and lookup IP ne
ii  libterm-readkey-perl  2.30-4             A perl module for simple terminal 
ii  libtext-unaccent-perl 1.08-1+b1          provides functions to remove accen
ii  lsb-base              3.2-23.2squeeze1   Linux Standard Base 3.2 init scrip
ii  mime-support          3.48-1             MIME files 'mime.types' & 'mailcap
ii  net-tools             1.60-23            The NET-3 networking toolkit
ii  ng-utils              0.7-1              Tool to access netgroups from the 
ii  openssl               0.9.8o-4           Secure Socket Layer (SSL) binary a
ii  patch                 2.6-2              Apply a diff file to an original
ii  python-notify         0.1.1-2+b2         Python bindings for libnotify
ii  ssl-cert              1.0.28             simple debconf wrapper for OpenSSL
ii  tftp-hpa              5.0-18             HPA's tftp client

Versions of packages debian-edu-config recommends:
ii  libnotify-bin          0.5.0-2           sends desktop notifications to a n
ii  lsof                   4.81.dfsg.1-1     List open files
ii  memtest86+             4.10-1.1          thorough real-mode memory tester
ii  resolvconf             1.46              name server information handler
ii  syslinux               2:4.02+dfsg-7     collection of boot loaders
ii  xresprobe              0.4.23debian1-0.1 X Resolution Probe

Versions of packages debian-edu-config suggests:
ii  tftpd-hpa                     5.0-18     HPA's tftp server

-- Configuration Files:
/etc/sssd/sssd-debian-edu.conf [Errno 13] Permission denied: u'/etc/sssd/sssd-debian-edu.conf'

-- debconf information excluded

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
tzafrir@debian.org    |                    | friend



Reply to: