Hi Russell,

Thanks for reporting and the improvement proposal. It sounds good to me. I
will implement this part along with the latest upstream release update.

-tai

On Mon, Mar 24, 2025 at 8:57 AM Russell Coker <[email protected]> wrote:

> Package: rasdaemon
> Version: 0.8.1-3
> Severity: normal
>
> Currently the package does not include the /var/lib/rasdaemon directory
> which
> means that the daemon has to create it and creating var_lib_t directories
> is
> not permitted by SE Linux.
>
> One solution to this is to have the postinst create the directory like the
> following:
>
> mkdir -p /var/lib/rasdaemon
> [ -x /sbin/restorecon ] && /sbin/restorecon /var/lib/rasdaemon
>
> But just including the directory would be easiest.
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006344
>
> Also the above bug could be addressed as part of the same change.
>
> -- System Information:
> Debian Release: trixie/sid
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 6.12.17-amd64 (SMP w/18 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_WARN
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE
> not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: unable to detect
>
> Versions of packages rasdaemon depends on:
> ii  init-system-helpers  1.68
> ii  libc6                2.41-6
> ii  libdbd-sqlite3-perl  1.76-1
> ii  libsqlite3-0         3.46.1-2
> ii  libtraceevent1       1:1.8.4-2
> ii  perl                 5.40.1-2
> ii  sqlite3              3.46.1-2
>
> rasdaemon recommends no packages.
>
> rasdaemon suggests no packages.
>
> -- debconf-show failed
>

Reply via email to