embedded terminal doesn't update

Bug #956827 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu Desktop 20120316

The content of the embedded terminal doesn't update during installation. The content is
Mar 16 09:48:37 ubuntu ubiquity[21172]: Ubiquity 2.9.29
Mar 16 09:48:38 ubuntu ubiquity[21172]: log-output -t ubiquity laptop-detect

and never refreshes.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.29
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CasperVersion: 1.311
Date: Fri Mar 16 11:15:54 2012
InstallCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
ProcEnviron:
 TERM=xterm
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Apparently, the fix for bug 830946 wasn't enough.

Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
tags: added: rls-mgr-p-tracking
Revision history for this message
Stéphane Graber (stgraber) wrote :

I'm wondering if the lack of refresh isn't the overlayfs bug?

Revision history for this message
Stéphane Graber (stgraber) wrote :

yeah, it's. It's calling tail and tail will never update because of overlayfs, problem solved :)
Well, rather, problem identified.

Revision history for this message
Mike Mestnik (cheako) wrote :

Tail should work even without inotify, actually there is nothing that should not be so fragile that the lack of any one add-on, or dare I say optional, feature should cause a problem.

Tail worked long b4 inotify, it needs to detect malfunctions in inotify and fall back to legacy code. Actually what's wrong with select(2) for tail?

Revision history for this message
Mike Mestnik (cheako) wrote :

...did I make a double negative there. I think you can get at what I'm saying.

Revision history for this message
Stéphane Graber (stgraber) wrote :

tail works perfectly without inotify but like a large number of software will use inotify if present.

The bug we're tracking in bug 882147 is the fact that overlayfs advertises inotify support and allows software to call the inotify API but without actually sending the events.

So the userspace side is doing the right thing as there's no way for it to know that inotify isn't working (what it's receiving is identical to a file that's simply not changing), the problem lands on the kernel side and that's what we're focusing on now.

Revision history for this message
Mike Mestnik (cheako) wrote :

This doesn't account for situations where a filesystem would partially support inotify. It's vary common in some places for a technology to be usable some of most of the time, while not being usable in some situations.

For example inotify might be impossible to implement while flock is in use on a file.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
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.