Your message dated Sat, 21 Nov 2026 15:56:07 +0800
with message-id 
<cafk6z8mynwnpnm3zgztmupqaxi7twood41m88wtng5ftbmv...@mail.gmail.com>
and subject line Re: Bug#1076682: Segfault in daemonize
has caused the Debian Bug report #1076682,
regarding Segfault in daemonize
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1076682: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076682
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Severity: normal
Package: daemonize
Version: 1.7.8-3


ch@meshtastic-6otx:~ $ /usr/bin/daemonize -c /
Segmentation fault

ch@meshtastic-6otx:~ $ uname -a
Linux meshtastic-6otx 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian
1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

ch@meshtastic-6otx:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

ch@meshtastic-6otx:~ $ dpkg --status daemonize
Package: daemonize
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 87
Maintainer: SZ Lin (林上智) <[email protected]>
Architecture: arm64
Version: 1.7.8-3
Depends: libc6 (>= 2.34)
Description: tool to run a command as a daemon
 As defined in W. Richard Stevens’ 1990 book, UNIX Network Programming
 (Addison-Wesley, 1990), a daemon is “a process that executes ‘in the
 background’ i.e., without an associated terminal or login shell) either
 waiting for some event to occur, or waiting to perform some specified task on a
 periodic basis.” Upon startup, a typical daemon program will:
 .
  * Close all open file descriptors (especially standard input, standard output
    and standard error)
  * Change its working directory to the root filesystem, to ensure that it
    doesn’t tie up another filesystem and prevent it from being unmounted
  * Reset its umask value
  * Run in the background (i.e., fork)
  * Disassociate from its process group (usually a shell), to insulate itself
    from signals (such as HUP) sent to the process group
  * Ignore all terminal I/O signals
  * Disassociate from the control terminal (and take steps not to reacquire one)
  * Handle any SIGCLD signals
 .
 Most programs that are designed to be run as daemons do that work for
 themselves. However, you’ll occasionally run across one that does not. When
 you must run a daemon program that does not properly make itself into a true
 Unix daemon, you can use daemonize to force it to run as a true daemon.
Homepage: http://software.clapper.org/daemonize/

--- End Message ---
--- Begin Message ---
Version: 1.7.8-4

The issue was addressed in daemonize 1.7.8-4 by including <libgen.h>, which
provides the proper declaration of basename().

Verified with daemonize 1.7.8-4.1+b1 in an arm64 cowbuilder environment.

Running /usr/bin/daemonize -c / now displays the usage information and
exits with status 1, without a segmentation fault.

Closing this bug as fixed in 1.7.8-4.

Best regards,

SZ Lin

--- End Message ---

Reply via email to