Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Samba CLI utilities don't properly tear down messaging contexts

Description

cmdline_messaging_context() creates a lock directory in the msg.lock (which is on tmpfs). The lock directory is supposed to be removed by the destuctor for the returned messaging context. cmdline_messaging_context() is a wrapper around global_messaging_context(), which allocates under a NULL talloc context. This means that the calls to TALLOC_FREE() for the talloc stackframe used in CLI utilities doesn't remove the lock dir. This results in a slowly increasing amount of consumption of space on the underlying tmpfs filesystem.

Problem/Justification

None

Impact

None

relates to

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk January 11, 2021 at 3:52 PM

Andrew Walker December 24, 2020 at 2:02 PM

Complete

Details

Assignee

Reporter

Components

Fix versions

Priority

More fields

Katalon Platform

Created December 24, 2020 at 1:42 PM
Updated July 1, 2022 at 4:59 PM
Resolved January 11, 2021 at 3:52 PM

Flag notifications