← Back to issue list

"unknown argument ignored: lazytime" in overlay operations

View original Github issue

Metadata

Project
craft-parts
Number
#1158
Type
issue
State
open
Author
tigarmo
Labels
Status: Triaged
Created
Updated
Closed

Current evaluation

fuse-overlayfs on jammy/noble prints 'unknown argument ignored: lazytime' during every overlay operation, polluting build output. Triaged by a maintainer with an internal ticket, but no code fix yet; warning still present in current code.

Suggested action: keep open

Reason: The issue is triaged (label 'Status: Triaged', filed by maintainer tigarmo with internal ticket CRAFT-4633) and I confirmed the warning is still emitted: mount_overlayfs in craft_parts/utils/os_utils.py still calls fuse-overlayfs via subprocess.check_call with no stderr filtering, and no commit addresses it. It is inactive (~14 months, only a bot comment) but not obsolete, so it should remain open; the fix (filtering the specific stderr line) is small but needs care not to mask real errors.

Impact: 25 Quick Win: 17.5 Staleness: 70 Complexity: 30 Confidence: 80 Support Request: 0

Issue body

### Bug Description Recent versions of craft-parts print many `unknown argument ignored: lazytime` messages when performing overlay-related operations. Related: https://github.com/containers/fuse-overlayfs/issues/429 . It's fixed in fuse-overlayfs [1.15](https://github.com/containers/fuse-overlayfs/releases/tag/v1.15) but that's too new for jammy & noble. Maybe we can reproduce [the fix](https://github.com/containers/fuse-overlayfs/commit/ab0b0f6d4692d13e1f8cf8a3fdf271a22dad7954) locally, or filter out the warning somehow. ### To Reproduce Build any project that has `overlay-script` or `overlay-packages` ### part yaml ```shell ``` ### Relevant log output ```shell Initialising lifecycle Installing build-packages Pulling rootfs Pulling packages Overlaying rootfsunknown argument ignored: lazytime ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 17.5
Staleness: 70
Complexity: 30
Confidence: 80
Support Request: 0
keep open fuse-overlayfs on jammy/noble prints 'unknown argument ignored: lazytime' during every overlay operation, polluting build output. Triaged by a maintainer with an internal ticket, but no code fix yet; warning still present in current code.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 40
Confidence: 85
Support Request: 5
keep open craft-parts prints lazytime warnings during overlay operations due to fuse-overlayfs version compatibility. Issue is triaged but has been inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 15
Confidence: 80
Support Request: 10
close stale Spurious unknown argument ignored lazytime warnings during overlay operations. Triaged but inactive for over a year. Suggests filtering the warning or patching fuse-overlayfs.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 25
Confidence: 70
Support Request: 10
close stale craft-parts prints lazytime warnings during overlay operations on jammy and noble due to outdated fuse-overlayfs. The issue is triaged and awaiting resolution, either by backporting the upstream fix or suppressing the warning. Jira ticket CRAFT-4633 created.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#964 (confidence 85%)

    Same 'unknown argument ignored: lazytime' warning from fuse-overlayfs on Ubuntu Noble; closed there as harmless, with the upstream fix only available in fuse-overlayfs 1.15.

Related issues

Issue Project State Summary Similarity
#964 Confusing warning: unknown argument ignored: lazytime rockcraft closed Closed as harmless. The warning originates from an outdated fuse-overlayfs version in Ubuntu Noble. The team plans to resolve it by building a newer upstream version internally, following imagecraft's approach.
79%