Package: grep Version: 2.14-4 Severity: important Dear Maintainer, *** Please consider answering these questions, where appropriate ***
* What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** Uwsgi package version 1.9.17.1-5 init scripts failing to start uwsgi apps with following error: bind(): Permission denied [core/socket.c line 185] uwsgi is using debian specific startup scripts and two ini configuration files. First file is /usr/share/uwsgi/conf/default.ini with default settings and its parsed on startup with package supplied script /usr/share/uwsgi/init/snippets which is extracting uid/gid and setting ownership on directory holding pid and socket files before the uwsgi-core is started. Line for extraction used is grep --max-count=1 "^\s*${KIND}\s*=" "$CONFFILE" \ | sed -e "s/^\s*${KIND}\s*=\s*\(.*\)\s*/\1/g" The following test showing that grep BRE is not matching regexp properly anymore and returning empty string (wheezy version is). $ echo 'uid = www-data' > /tmp/test.conf $ grep "^\s*uid\s*=" /tmp/test.conf Explicit BRE also not working $ grep -G "^\s*uid\s*=" /tmp/test.conf $ Temporary fix change the regex grep lines in /usr/share/uwsgi/init/snippets from "grep" to "grep -E" -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grep depends on: ii dpkg 1.16.12 ii install-info 5.2.0.dfsg.1-1 ii libc6 2.17-93 ii libpcre3 1:8.31-2 grep recommends no packages. grep suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org