Your message dated Wed, 04 Feb 2026 20:50:31 +0100
with message-id <[email protected]>
and subject line Re: Bug#1122200: Install Fails - Does not create 
/var/lib/tuptime
has caused the Debian Bug report #1122200,
regarding Install Fails - Does not create /var/lib/tuptime
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.)


-- 
1122200: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122200
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tuptime
Version: 5.2.4
Severity: important

Dear Maintainer,

Trying to install tuptime fails with an error related to /var/lib/tuptime.

It looks like the directory does not exist (and this is a regression from the 
previous 5.2.2).

A quick check seems to indicate that the file tuptime.postinst is missing the 
following snippet as part of the "configure" case.

# Create user if not exists
if ! getent passwd _tuptime >/dev/null ; then
        echo -n "Adding _tuptime user..."
        adduser --quiet --system --group --disabled-password \
                --home "/var/lib/tuptime" \
                --shell '/usr/sbin/nologin' \
                --gecos 'Tuptime execution user,,,' \
                --force-badname _tuptime
        echo "done"
fi

# Ensure right ownership
if [ -d /var/lib/tuptime ]; then
        chown _tuptime:_tuptime /var/lib/tuptime
        # When adduser is configured for DIR_MODE=0750,
        # the file mode ends up more closed than intended.
        chmod 0755 /var/lib/tuptime
        if [ -f /var/lib/tuptime/tuptime.db ]; then
                chown _tuptime:_tuptime /var/lib/tuptime/tuptime.db
        fi
fi

su -s /bin/sh _tuptime -c "tuptime -q"

This results in not creating the folder (with the correct permissions) which 
prevents the tuptime binary from being able to record uptime details. The 
install fails as a result.

Manually creating the folder (and setting the permissions) based on the snippet 
above results in it working properly.

Thank you.

https://atomicmail.io/?utm_source=app_mail_signature

--- End Message ---
--- Begin Message ---
Version: 5.2.5

This bug is fixed in Debian version 5.2.5.

The init.d script now checks the data path at startup (upstream commit included in this upload).

Thanks,
Ricardo F.

--- End Message ---

Reply via email to