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

Jamin W. Collins jamin.collins at gmail.com
Mon Feb 2 23:28:04 UTC 2015


Chris,

I may be looking in the wrong area, but from the provided link I can
only find three binaries built for amd64
(https://launchpad.net/ubuntu/+source/ubiquity/2.18.8.4/+build/6716449):

Binary packages
Binary packages produced by this build:

ubiquity 2.18.8.4
ubiquity-frontend-debconf 2.18.8.4
ubiquity-frontend-gtk 2.18.8.4
Built files
Files resulting from this build:

ubiquity-frontend-debconf_2.18.8.4_amd64.deb (437.8 KiB)
ubiquity-frontend-gtk_2.18.8.4_amd64.deb (84.5 KiB)
ubiquity_2.18.8.4_amd64.deb (4.9 MiB)

However the file in question (/etc/init/oem-config-debconf.conf) is
owned by oem-config-debconf, which is not one of the built packages.
Furthermore, this is only one of several issues preventing the oem-
config package from working on server installations.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1361595

Title:
  OSError: [Errno 25] Inappropriate ioctl for device

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Trusty:
  Fix Committed
Status in ubiquity source package in Utopic:
  Fix Released

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/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) ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1361595/+subscriptions



More information about the foundations-bugs mailing list