[Desktop-packages] [Bug 183221] Re: extremly slow startup of firefox if a nfs-share is not reachable

2019-02-26 Thread scoopex
Seems to be solved, you can close the issue.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/183221

Title:
  extremly slow startup of firefox if a nfs-share is not reachable

Status in firefox package in Ubuntu:
  Expired
Status in firefox-3.0 package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: firefox

  Firefox needs a few minutes for startup if a mounted filesystem is not
  reachable (i.e. a nfs-share).

  The "/usr/bin/firefox" wrapper-script uses "/bin/pwd" to gather the current 
working directory.
  --- Strace output 
  fstat64(3, {st_mode=S_IFDIR|0755, st_size=792, ...}) = 0
  close(4)= 0
  fstat64(3, {st_mode=S_IFDIR|0755, st_size=792, ...}) = 0
  fcntl64(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
  fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  getdents64(3, /* 30 entries */, 4096)   = 808
  fstatat64(3, "bin", {st_mode=S_IFDIR|0755, st_size=2688, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "dev", {st_mode=S_IFDIR|0755, st_size=13960, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "etc", {st_mode=S_IFDIR|0755, st_size=8760, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "lib", {st_mode=S_IFDIR|0755, st_size=5576, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "nas",  
  ---

  The last fstat is blocking for a long time - replacing "/bin/pwd" by
  the shell-builtin "pwd" solves the problem.

  $ diff -u /usr/bin/firefox mozilla.fixed
  --- /usr/bin/firefox2007-12-04 12:00:28.0 +0100
  +++ mozilla.fixed   2008-01-15 16:34:03.0 +0100
  @@ -106,7 +106,7 @@
 dist_bin="$curdir"
 found=1
   else
  -  here=`/bin/pwd`
  +  here=`pwd`
 while [ -h "$progname" ]; do
   bn=`basename "$progname"`
   cd `dirname "$progname"`
  

  Please submit this change to the firefox developer team if you think
  this change is useful

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1754033] [NEW] sysfsutils error handling

2018-03-07 Thread scoopex
Public bug reported:

If i configure incorrect values for /etc/sysfs.conf or
/etc/sysfs.d/foo.conf the init script /etc/init.d/sysfsutils does not
report problems correctly.

If a sysfs file does not exist or sysfs does not accept the value there is 
currently no feedback.
Besides of the fact that the user expects to get a feedback, this is also a bit 
suboptimal if you use system automation tools like puppet to configure your 
server systems.

/etc/init.d/sysfsutils shoul provide visual and exitcode feedback to
inform the user about problems.

I added a patch to solve this problem.

** Affects: sysfsutils (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "Adding error messages"
   
https://bugs.launchpad.net/bugs/1754033/+attachment/5071692/+files/sysfsutils.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sysfsutils in Ubuntu.
https://bugs.launchpad.net/bugs/1754033

Title:
  sysfsutils error handling

Status in sysfsutils package in Ubuntu:
  New

Bug description:
  If i configure incorrect values for /etc/sysfs.conf or
  /etc/sysfs.d/foo.conf the init script /etc/init.d/sysfsutils does not
  report problems correctly.

  If a sysfs file does not exist or sysfs does not accept the value there is 
currently no feedback.
  Besides of the fact that the user expects to get a feedback, this is also a 
bit suboptimal if you use system automation tools like puppet to configure your 
server systems.

  /etc/init.d/sysfsutils shoul provide visual and exitcode feedback to
  inform the user about problems.

  I added a patch to solve this problem.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1754033] Re: sysfsutils error handling

2018-03-07 Thread scoopex
Added the file with the applied patch.

** Attachment added: "sysfsutils"
   
https://bugs.launchpad.net/ubuntu/+source/sysfsutils/+bug/1754033/+attachment/5071693/+files/sysfsutils

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sysfsutils in Ubuntu.
https://bugs.launchpad.net/bugs/1754033

Title:
  sysfsutils error handling

Status in sysfsutils package in Ubuntu:
  New

Bug description:
  If i configure incorrect values for /etc/sysfs.conf or
  /etc/sysfs.d/foo.conf the init script /etc/init.d/sysfsutils does not
  report problems correctly.

  If a sysfs file does not exist or sysfs does not accept the value there is 
currently no feedback.
  Besides of the fact that the user expects to get a feedback, this is also a 
bit suboptimal if you use system automation tools like puppet to configure your 
server systems.

  /etc/init.d/sysfsutils shoul provide visual and exitcode feedback to
  inform the user about problems.

  I added a patch to solve this problem.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp