Package: dash
Version: 0.5.6.1-1~exp0
Severity: serious

I noticed that my system nearly fails to do everything after installing dash
from experimental. The first thing I noticed was
 if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi
which failed when I tried to install something and the next thing that all
scripts started from my user failed. The problem is that (for whatever reason)
dash opens the files now in read-write mode. Which of course is not possible
when I am an underprivileged user.

execve("/bin/sh", ["/bin/sh", "/usr/bin/xdg-email"], [/* 52 vars */]) = 0
brk(0)                                  = 0x10ff000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fe1891b2000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=148490, ...}) = 0
mmap(NULL, 148490, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe18918d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\355\1\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1432968, ...}) = 0
mmap(NULL, 3541032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fe188c36000
mprotect(0x7fe188d8e000, 2093056, PROT_NONE) = 0
mmap(0x7fe188f8d000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157000) = 0x7fe188f8d000
mmap(0x7fe188f92000, 18472, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe188f92000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fe18918c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fe18918b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fe18918a000
arch_prctl(ARCH_SET_FS, 0x7fe18918b700) = 0
mprotect(0x7fe188f8d000, 16384, PROT_READ) = 0
mprotect(0x7fe1891b4000, 4096, PROT_READ) = 0
munmap(0x7fe18918d000, 148490)          = 0
getpid()                                = 7577
rt_sigaction(SIGCHLD, {0x40f700, ~[RTMIN RT_1], SA_RESTORER, 0x7fe188c681e0}, 
NULL, 8) = 0
geteuid()                               = 1000
brk(0)                                  = 0x10ff000
brk(0x1120000)                          = 0x1120000
getppid()                               = 7576
stat("/home/emil", {st_mode=S_IFDIR|0751, st_size=20480, ...}) = 0
stat(".", {st_mode=S_IFDIR|0751, st_size=20480, ...}) = 0
open("/usr/bin/xdg-email", O_RDWR)      = -1 EACCES (Permission denied)
write(2, "/bin/sh: ", 9)                = 9
write(2, "Can't open /usr/bin/xdg-email", 29) = 29
write(2, "\n", 1)                       = 1
exit_group(127)                         = ?


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.35-trunk-amd64

Debian Release: squeeze/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.debian.org 
  500 testing         ftp.debian.org 
  500 stable          ftp.debian.org 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-============
debianutils       (>= 2.15) | 3.4
dpkg            (>= 1.15.0) | 1.15.8.4


Package's Recommends field is empty.

Package's Suggests field is empty.




-- 
Emil Langrock



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to