sd_journal does not handle journal moving to persistent logging
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, linux
- Domain
- api, operating-systems
Research direction
Reproduce the transition with journalctl -f, mkdir /var/log/journal/, journalctl --flush, and logger foo. Start at the sd_journal API behavior while journald moves from runtime to persistent logging; done means API consumers receive the new logs after the move.
Written by the indexing model from the issue text.
Description
Submission type
- Bug report
systemd version the issue has been seen with
latest upstream, but it never worked
In case of bug report: Expected behaviour you didn't see
When we have a runtime journal, and we create /var/log/journal/, journald will start to log there, but anything that uses sd_journal api will not get the new logs.
In case of bug report: Steps to reproduce the problem
journalctl -f
mkdir /var/log/journal/ ; journalctl --flush ; logger foo
- Dominant language
- C
- Stars
- 16.7k
- Forks
- 4.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 140
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from systemd/systemd
-
bug 🐛 documentation release-critical
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
systemd-analyze plot: Activation times are wrong in tooltip if the decimal part starts with zero Openbug 🐛
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug 🐛 sd-boot/sd-stub/bootctl
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
journal RFE 🎁
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
bug 🐛 ssh-generator
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100