Bug#729581: grep: basic regular expression (BRE) not matching anymore
Package: grep Followup-For: Bug #729581 Control: tags 729581 + pending This (simple) patch fixes the bug: http://git.savannah.gnu.org/cgit/grep.git/commit/?id=7f96aa773b5967bbb3c8476f8614fd04b3fc1362 I'll upload it whit the new upstream version. Regards, Santiago -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#729581: grep: basic regular expression (BRE) not matching anymore
tags 729581 + confirmed thanks Hi Alen, Thanks for reporting this bug. El 14/11/13 a las 16:12, Alen Komic escribió: 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). I suppose you meant wheezy version is OK. $ 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 grep 2.14-4 matches when using LANG=C: $ LANG=C grep ^\s*uid\s*= /tmp/test.conf uid = www-data Actually, a patch fixing a similar issue [1] introduced this bug. I suppose it is present in grep 2.15, but I need to confirm. [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15440 I'm lacking some free time right now, so any help is welcome! Cheers, Santiago -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#729581: grep: basic regular expression (BRE) not matching anymore
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