Package: runit
Version: 2.0.0-1
Severity: normal

My filesystem is on a block device with major number 259 (blkext raid 
partition),
and runsvdir fails to stat(2) it.

  $ strace runsvdir /home/shurick/sv
  execve("/usr/bin/runsvdir", ["runsvdir", "/home/shurick/sv"], [/* 36 vars 
*/]) = 0
  rt_sigaction(SIGTERM, {0x80480d8, [], SA_RESTORER, 0x804a0b0}, NULL, 8) = 0
  rt_sigaction(SIGHUP, {0x80480e3, [], SA_RESTORER, 0x804a0b0}, NULL, 8) = 0
  open(".", O_RDONLY|O_NONBLOCK)          = 3
  fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
  gettimeofday({1250122157, 659621}, NULL) = 0
  waitpid(-1, 0xffffd648, WNOHANG)        = -1 ECHILD (No child processes)
  gettimeofday({1250122157, 659789}, NULL) = 0
  stat("/home/shurick/sv", 0xffffd5d8)    = -1 EOVERFLOW (Value too large for 
defined data type)
  write(2, "runsvdir /home/shurick/sv: warnin"..., 83runsvdir /home/shurick/sv: 
warning: unable to stat /home/shurick/sv: unknown error) = 83
  rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0
  poll(0, 0, 1020)                        = 0 (Timeout)
  rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
  waitpid(-1, 0xffffd648, WNOHANG)        = -1 ECHILD (No child processes)
  gettimeofday({1250122158, 680611}, NULL) = 0
  stat("/home/shurick/sv", 0xffffd5d8)    = -1 EOVERFLOW (Value too large for 
defined data type)
  write(2, "runsvdir /home/shurick/sv: warnin"..., 83runsvdir /home/shurick/sv: 
warning: unable to stat /home/shurick/sv: unknown error) = 83


runsvdir starts to work again after adding -D_FILE_OFFSET_BITS=64 to 
debian/rules.



-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30.4-avi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash

runit depends on no packages.

Versions of packages runit recommends:
pn  fgetty                        <none>     (no description available)

Versions of packages runit suggests:
pn  runit-run                     <none>     (no description available)
pn  socklog-run                   <none>     (no description available)

-- 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

Reply via email to