Public bug reported:
admin_user=$(getent group admin|cut -d: -f4|cut -d, -f1)
sudo -u "$admin_user" echo "dd"
Segmentation fault
for example:
sudo -u rafal echo "dd"
Segmentation fault
/etc/cron.daily# ./apt
a1
a2
a3
a4
a5
a5a
Segmentation fault
Segmentation fault
Segmentation fault
a6
"/etc/cron.daily/apt:"
echo "a5a"
if [ -n "$admin_user" ] && [ -x /usr/bin/sudo ] && [ -z "$http_proxy" ] && [ -x
/usr/bin/gconftool ]; then
use=$(sudo -u "$admin_user" gconftool --get
/system/http_proxy/use_http_proxy)
host=$(sudo -u "$admin_user" gconftool --get /system/http_proxy/host)
port=$(sudo -u "$admin_user" gconftool --get /system/http_proxy/port)
if [ "$use" = "true" ] && [ -n "$host" ] && [ -n "$port" ]; then
export http_proxy="http://$host:$port/"
fi
fi
echo "a6"
** Affects: ubuntu
Importance: Undecided
Status: New
--
apt: segmentation fault [ubuntu 8.04]
https://bugs.launchpad.net/bugs/234727
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs