[Bug 1918876] [NEW] sudo segfaults when /etc/sudoers has syntax error

2021-03-11 Thread Owen Healy
Public bug reported:

If /etc/sudoers contains the following (syntactically invalid) line:

%sudo   ALL=(ALL:ALL) NOPASSWD ALL

the sudo command will segfault:

$ sudo true
[1]12958 segmentation fault (core dumped)  sudo true

A better result would be to fail or warn with a syntax error.

Release: groovy
Architecture: amd64
sudo version: 1.9.1-1ubuntu1.1

** Affects: sudo (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918876

Title:
  sudo segfaults when /etc/sudoers has syntax error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1918876/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1917390] [NEW] Executable test [ -x file ] fails after upgrading libc

2021-03-01 Thread Owen Healy
Public bug reported:

Steps to reproduce (on an amd64 machine):

name=$(docker create --tty ubuntu:21.04 sleep inf)
docker start $name
docker exec $name apt-get update -y
docker exec $name apt-get install libc6 -y
docker exec $name bash -c 'if [ ! -x /bin/cat ] ; then echo no ; fi'

This will print 'no' at the end, indicating /bin/cat fails to test as
executable.

Release: hirsute
Architecture: amd64
Package: libc6
Version: 2.33-0ubuntu2

** Affects: glibc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1917390

Title:
  Executable test [ -x file ] fails after upgrading libc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1917390/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 483423] Re: Babel Fish service uses wrong URL, search strings

2009-11-15 Thread Owen Healy

** Attachment added: Change the URL and search strings for Babel Fish service.
   http://launchpadlibrarian.net/35740588/babel-service-fix.patch

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/35740589/Dependencies.txt

-- 
Babel Fish service uses wrong URL, search strings
https://bugs.launchpad.net/bugs/483423
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483423] [NEW] Babel Fish service uses wrong URL, search strings

2009-11-15 Thread Owen Healy
Public bug reported:

Source package: libtranslate
in Karmic
apt-cache policy libtranslate0 gives
libtranslate0:
  Installed: 0.99-0ubuntu6
  Candidate: 0.99-0ubuntu6
  Version table:
 *** 0.99-0ubuntu6 0
500 http://us.archive.ubuntu.com karmic/universe Packages
100 /var/lib/dpkg/status

To reproduce:
$ sudo apt-get install libtranslate-bin
$ echo 'Sitting and thinking' | translate-bin -s babelfish
[ ]
(translate-bin:22932): libtranslate-WARNING **: unable to translate chunk using 
Babel Fish: unable to parse server data

(translate-bin:22932): libtranslate-WARNING **: unable to translate
chunk using Babel Fish: unable to parse server data

(translate-bin:22932): libtranslate-WARNING **: unable to translate chunk using 
Babel Fish: unable to parse server data
translate-bin: unable to translate: no service could translate chunk

data/services.xml.in needs to be changed to reflect the new URLs used by Babel 
Fish:
--- libtranslate-0.99.orig/data/services.xml.in
+++ libtranslate-0.99/data/services.xml.in
@@ -48,12 +48,11 @@
   language tag=pt to=en,fr/
   language tag=ru to=en/
   language tag=es to=en,fr/
-  text-translation 
url=http://babelfish.altavista.com/babelfish/tr?urltext=${text:escape}amp;lp=${from}_${to}amp;enc=utf8;
-   pre-marker text=lt;form 
action=quot;http://www.altavista.com/web/results/
-   pre-marker text=px;gt;/
+  text-translation 
url=http://babelfish.yahoo.com/translate_txt?ei=UTF-8amp;doit=doneamp;fr=bf-homeamp;intl=1amp;tt=urltextamp;trtext=${text:escape}amp;lp=${from}_${to}amp;btnTrTxt=Translate;
+   pre-marker text=lt;div id=quot;resultquot;gt;lt;div 
style=quot;padding:0.6em;quot;gt;/
post-marker text=lt;/divgt;/
   /text-translation
-  web-page-translation 
url=http://babelfish.altavista.com/babelfish/trurl_load?url=${url:escape}amp;lp=${from}_${to}amp;enc=utf8/
+  web-page-translation 
url=http://babelfish.yahoo.com/translate_url?doit=doneamp;tt=urlamp;intl=1amp;fr=bf-homeamp;trurl=${url:escape}amp;lp=${from}_${to}amp;btnTrUrl=Translate/
 /group
   /service

After applying this patch I get the result:
$ echo 'Sitting and thinking' | translate-bin -s babelfish
Se reposer et penser

ProblemType: Bug
Architecture: amd64
Date: Mon Nov 16 00:48:56 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: libtranslate0 0.99-0ubuntu6
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: libtranslate
Uname: Linux 2.6.31-15-generic x86_64
XsessionErrors:
 (polkit-gnome-authentication-agent-1:2449): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (unknown:4036): Gdk-CRITICAL **: gdk_window_get_origin: assertion 
`GDK_IS_WINDOW (window)' failed

** Affects: libtranslate (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug

-- 
Babel Fish service uses wrong URL, search strings
https://bugs.launchpad.net/bugs/483423
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs