[Bug 1361595] [NEW] OSError: [Errno 25] Inappropriate ioctl for device

Launchpad Bug Tracker 1361595 at bugs.launchpad.net
Thu Aug 28 22:46:06 UTC 2014


You have been subscribed to a public bug:

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/oem-config.log (below), it appears that
oem-config is throwing an unhandled exception, exceeding its maximum
retries (5), and then purging itself from the system.  I've reproduced
this with a fresh 14.04 OEM install.

This is definitely a regression from the 12.04 release.

Ubiquity 2.18.8 (oem-config)
Traceback (most recent call last):
  File "/usr/sbin/oem-config", line 636, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 622, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 262, in install
    open_terminal()
  File "/usr/sbin/oem-config", line 100, in open_terminal
    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/oem-config", line 636, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 622, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 262, in install
    open_terminal()
  File "/usr/sbin/oem-config", line 100, in open_terminal
    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/oem-config", line 636, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 622, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 262, in install
    open_terminal()
  File "/usr/sbin/oem-config", line 100, in open_terminal
    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/oem-config", line 636, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 622, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 262, in install
    open_terminal()
  File "/usr/sbin/oem-config", line 100, in open_terminal
    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/oem-config", line 636, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 622, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 262, in install
    open_terminal()
  File "/usr/sbin/oem-config", line 100, in open_terminal
    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-installer4
  libdevmapper-event1.02.1 libdmraid1.0.0.rc16 libicu52 libiw30 liblzo2-2
  libparted0debian1 libpolkit-agent-1-0 libpolkit-backend-1-0 libreadline5
  libsamplerate0 linux-sound-base lvm2 ncurses-term ntfs-3g policykit-1
  python3-icu python3-pam python3-xkit rdate sbsigntool ubiquity-casper
  ubiquity-ubuntu-artwork ubuntu-drivers-common watershed
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  oem-config* oem-config-debconf* ubiquity* ubiquity-frontend-debconf*
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-frontend-debconf (2.18.8) ...
Removing ubiquity (2.18.8) ...
Purging configuration files for ubiquity (2.18.8) ...

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
     Assignee: Dimitri John Ledkov (xnox)
         Status: New

** Affects: ubiquity (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: ubiquity (Ubuntu Utopic)
     Importance: Undecided
     Assignee: Dimitri John Ledkov (xnox)
         Status: New


** Tags: patch
-- 
OSError: [Errno 25] Inappropriate ioctl for device
https://bugs.launchpad.net/bugs/1361595
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to ubiquity in Ubuntu.



More information about the foundations-bugs mailing list