Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 263 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 359 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 2919 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 3937 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Project has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.project.php on line 3 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Url has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php on line 859 FS#214 : op_wifi pnd not exiting cleanly, with fix (one character change in op_wifi.sh)

OpenPandora Main OS

Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 228 Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 233
  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity High
  • Reported Version Hotfix 4
Attached to Project: OpenPandora Main OS
Opened by Levi - 2011-03-03
Last edited by Michael Mrozek - 2011-03-04

FS#214 - op_wifi pnd not exiting cleanly, with fix (one character change in op_wifi.sh)

Tags:

The op_wifi pnd does not exit out cleanly once the encased script executes, the pndrun_op_wifi.out reports umount: /mnt/utmp/op_wifi: device is busy. umount: /mnt/utmp/op_wifi: device is busy. umount UNION failed, didn't clean up. Process still using this FS : 3197 ? S 0:00 /bin/sh /etc/init.d/wl1251-init start This op_wifi.sh just calls /usr/pandora/scripts/op_wifi.sh for some reason, the init.d/w.... start causes it to hang, I executed all this locally, and it doesn't appear to keep running Appending " &" to the line which calls this init script, solves the problem.
Closed by  Michael Mrozek
Friday, 04 March 2011, 10:21 GMT
Reason for closing:  Implemented
Levi

Thursday, 03 March 2011, 04:47 GMT
and I refer to editing the script located in /usr/pandora/scripts/op_wifi.sh
Levi

Thursday, 03 March 2011, 16:53 GMT
Nevermind! This is not a working solution! :( It just unmounts correctly when wifi is toggled off.
Levi

Thursday, 03 March 2011, 17:04 GMT
Ignore the & that I suggested Just as the first line in the script, add cd /, as proposed by skeezix in IRC losetup -a is clean before and after both toggling on and off after this change pndrun is also clean, and shows the info it needs.

Loading...


Notice: Undefined variable: effort in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Notice: Trying to get property of non-object in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Warning: Invalid argument supplied for foreach() in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18
Date User Effort (H:M)