last and lastb not working in precise and oneiric cloud images

Bug #1006349 reported by Juerg Haefliger on 2012-05-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam (Ubuntu)

Bug Description

Because the files /var/log/wtmp and /var/log/btmp are missing.

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Steve Langasek (vorlon) wrote :

I don't see how this would be a bug in sysvinit. sysvinit doesn't create/populate the files, it only provides the tool that reads them. How have you logged in to the system? Normally the pam_lastlog module populates this.

Changed in sysvinit (Ubuntu):
status: New → Incomplete
Juerg Haefliger (juergh) wrote :

Yeah I didn't think it was a sysvinit bug but I didn't know which package to attach the bug report to. I couldn't figure out how to mark it as a generic 'cloud images' problem rather than a package-specific problem. The pam modules obviously are installed in the images. All works well if I create the missing files manually. Are they usually created during installation time?

Launchpad Janitor (janitor) wrote :

[Expired for sysvinit (Ubuntu) because there has been no activity for 60 days.]

Changed in sysvinit (Ubuntu):
status: Incomplete → Expired
Juerg Haefliger (juergh) wrote :

Who do I need to assign this to?

affects: sysvinit (Ubuntu) → pam (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers