Package: squidview Version: 0.73-1 Severity: minor
When I run squidview I get this: v ~ (master) $ stat /var/log/squid/access.log stat: cannot stat `/var/log/squid/access.log': Permission denied v ~ (master) $ squidview Making .squidview directory and links.... The squid log file doesn't exist or is of zero size. You may need to manually adjust the symlinks in ~/.squidview It was assumed that your access.log is at /var/log/squid/access.log You may want to add your username to the group proxy. Instead of reporting that the squid log file doesn't exist or is of zero size it should report that it doesn't have permissin to read it. It also creates a .squidview directory with broken symlinks despite the error which only works if I run the program under sudo: $ file .squidview/log1 g1: broken symbolic link to `/var/log/squid/access.log' Here's the relevant strace(1) output: stat("/var/log/squid/access.log", 0x7fff61a41410) = -1 EACCES (Permission denied) stat("/usr/local/squid/var/logs/access.log", 0x7fff61a41410) = -1 ENOENT (No such file or directory) mkdir("/home/avar/.squidview", 0755) = 0 symlink("/var/log/squid/access.log", "/home/avar/.squidview/log1") = 0 symlink("log1", "/home/avar/.squidview/log2") = 0 symlink("log1", "/home/avar/.squidview/log3") = 0 symlink("/usr/share/doc/squidview/HOWTO", "/home/avar/.squidview/HOWTO") = 0 stat("/home/avar/.squidview/log1", 0x7fff61a41370) = -1 EACCES (Permission denied) write(1, "The squid log file doesn't exist"..., 53The squid log file doesn't exist or is of zero size. ) = 53 write(1, "You may need to manually adjust "..., 61You may need to manually adjust the symlinks in ~/.squidview ) = 61 write(1, "It was assumed that your access."..., 68It was assumed that your access.log is at /var/log/squid/access.log ) = 68 stat("/var/log/squid/access.log", 0x7fff61a41410) = -1 EACCES (Permission denied) write(1, "You may want to add your usernam"..., 54You may want to add your username to the group proxy. ) = 54 exit_group(1) = ? -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (650, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-x86_64-linode11 (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 squidview depends on: ii less 436-1 pager program similar to more ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libgcc1 1:4.4.2-9 GCC support library ii libncurses5 5.7+20090803-2 shared libraries for terminal hand ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3 squidview recommends no packages. Versions of packages squidview suggests: ii squid 2.7.STABLE7-1 Internet object cache (WWW proxy c -- 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