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

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

Bug Description

(Such as during image builds.)

Related branches

Dan Watkins (oddbloke) wrote :
Changed in systemd (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
description: updated
tags: added: id-5aa14c7ee2d7eb378a560dd8
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
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)
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  Edit
Everyone can see this information.

Other bug subscribers