OSError: [Errno 25] Inappropriate ioctl for device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
Trusty |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
Utopic |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
With 14.04, I've found that oem-config no longer prompts end users for their final configuration details. In fact, the system reboots abruptly and no longer has the oem user account.
From the contents of /var/log/
This is definitely a regression from the 12.04 release.
Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
File "/usr/sbin/
main(
File "/usr/sbin/
install(
File "/usr/sbin/
open_terminal()
File "/usr/sbin/
ttyn = os.ttyname(0)
OSError: [Errno 25] Inappropriate ioctl for device
Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
File "/usr/sbin/
main(
File "/usr/sbin/
install(
File "/usr/sbin/
open_terminal()
File "/usr/sbin/
ttyn = os.ttyname(0)
OSError: [Errno 25] Inappropriate ioctl for device
Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
File "/usr/sbin/
main(
File "/usr/sbin/
install(
File "/usr/sbin/
open_terminal()
File "/usr/sbin/
ttyn = os.ttyname(0)
OSError: [Errno 25] Inappropriate ioctl for device
Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
File "/usr/sbin/
main(
File "/usr/sbin/
install(
File "/usr/sbin/
open_terminal()
File "/usr/sbin/
ttyn = os.ttyname(0)
OSError: [Errno 25] Inappropriate ioctl for device
Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
File "/usr/sbin/
main(
File "/usr/sbin/
install(
File "/usr/sbin/
open_terminal()
File "/usr/sbin/
ttyn = os.ttyname(0)
OSError: [Errno 25] Inappropriate ioctl for device
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
alsa-base alsa-utils apt-clone archdetect-deb bogl-bterm btrfs-tools dmraid
kpartx kpartx-boot libasound2 libasound2-data libdebian-
libdevmapper-
libparted0debian1 libpolkit-agent-1-0 libpolkit-
libsamplerate0 linux-sound-base lvm2 ncurses-term ntfs-3g policykit-1
python3-icu python3-pam python3-xkit rdate sbsigntool ubiquity-casper
ubiquity-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
oem-config* oem-config-debconf* ubiquity* ubiquity-
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 19.7 MB disk space will be freed.
(Reading database ... 50531 files and directories currently installed.)
Removing oem-config (2.18.8) ...
Purging configuration files for oem-config (2.18.8) ...
Removing oem-config-debconf (2.18.8) ...
Purging configuration files for oem-config-debconf (2.18.8) ...
Removing ubiquity-
Removing ubiquity (2.18.8) ...
Purging configuration files for ubiquity (2.18.8) ...
Changed in oem-config (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
affects: | oem-config (Ubuntu Utopic) → ubiquity (Ubuntu Utopic) |
Changed in ubiquity (Ubuntu Trusty): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
status: | New → Triaged |
Changed in ubiquity (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in ubiquity (Ubuntu Trusty): | |
status: | Triaged → In Progress |
tags: | added: trusty |
tags: | added: verification-done |
tags: | removed: verification-done |
The root cause of this is a missing entry in the upstart init config: /etc/init/ oem-config. conf
Specifically, the upstart config is not attaching STDIN to the job.
The attached patch fixes this.