/var/log/journal not created on fresh install of systemd

Bug #1754332 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
New
Undecided
Unassigned
livecd-rootfs (Ubuntu)
Fix Released
Critical
Dimitri John Ledkov
Xenial
New
Undecided
Unassigned
Artful
New
Undecided
Unassigned
Bionic
Fix Released
Critical
Dimitri John Ledkov

Bug Description

(Such as during image builds.)

Related branches

Revision history for this message
Dan Watkins (oddbloke) wrote :
Changed in systemd (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
description: updated
tags: added: id-5aa14c7ee2d7eb378a560dd8
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I've tried to reproduce this, and failed...

$ sudo debootstrap --include=systemd bionic bionic
...
$ ls -lnatr bionic/var/log/ | grep journal
drwxr-sr-x+ 2 0 101 4096 Mar 16 18:23 journal

So fresh installation of systemd works as expected.

I guess we need to trace where/what/why certain cloud-images appear to be lacking this....

Changed in systemd (Ubuntu):
status: New → Invalid
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Bah:

Removed log directory /var/log/journal as orphaned log dir

livecd-rootfs

/me shakes fist

no longer affects: systemd (Ubuntu)
no longer affects: systemd (Ubuntu Xenial)
no longer affects: systemd (Ubuntu Artful)
no longer affects: systemd (Ubuntu Bionic)
Changed in livecd-rootfs (Ubuntu Bionic):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.511

---------------
livecd-rootfs (2.511) bionic; urgency=medium

  * Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
    should own the directory, and only adjust the permissions in
    postinst. LP: #1754332

 -- Dimitri John Ledkov <email address hidden> Fri, 16 Mar 2018 18:36:56 +0000

Changed in livecd-rootfs (Ubuntu Bionic):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.