← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 521129] Re: start-stop-daemon seems to do something weird to the root fs

 

The bug is not in start-stop-daemon of dpkg. Your /sbin/start-stop-
daemon is a wrapper introduced by LTSP and it splits the arguments
improperly before giving them back to the real start-stop-daemon.

Instead of seeing sh -c "find /var/cache/man" the real start-stop-daemon
receives sh -c find /var/cache/man so that find is really executed
without argument while sh gets 3 arguments.

See the part of the log that proves it:
9381  open("/sbin/start-stop-daemon", O_RDONLY) = 3
[...]
9381  read(10, "#!/bin/sh\n#\n# LTSP Wrapper to av"..., 8192) = 172
9381  clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_t
idptr=0xf75a7938) = 9382
9381  wait4(-1,  <unfinished ...>
9382  close(10)                         = 0
9382  execve("/sbin/start-stop-daemon.real", ["/sbin/start-stop-daemon.real", "--start", "--pidfile", "/dev/null", "--startas", "/bin/sh", "--", "-c", "find", "/var/cache/man"], [/* 43 vars */]) = 0

I'll reassign this to ltsp-server.

** Changed in: dpkg (Ubuntu)
   Importance: Undecided => Medium

** Package changed: dpkg (Ubuntu) => ltsp (Ubuntu)

** Changed in: ltsp (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/521129

Title:
  start-stop-daemon seems to do something weird to the root fs