[Bug 1558967] Comment bridged from LTC Bugzilla

2016-07-20 Thread bugproxy
--- Comment From ofe...@il.ibm.com 2016-07-20 05:04 EDT---
Hi,

i was able to test the new fix and everything works fine now.

thank you!

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-06-21 Thread bugproxy
--- Comment From brueck...@de.ibm.com 2016-06-21 03:25 EDT---
I have created a github pull request to correct this issue (after requesting 
and receiving clearance to do so :-). The pull request is:

https://github.com/libfuse/libfuse/pull/55

The PR is now merged:
https://github.com/libfuse/libfuse/commit/6189312b0c530792657556b266546cd2edb23d4a

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-04-13 Thread bugproxy
--- Comment From geral...@de.ibm.com 2016-04-13 12:51 EDT---
(In reply to comment #43)
> Hm, but there is this comment earlier on "I verified that Hendriks suggested
> fix (using a pipe for synchronization) does fix the problem for cmsfs-fuse."
> -> is there code to do that, or is that the hack that is in place in Wave
> right now?

The "pipe synchronization" would be an example fix for the bug in fuse,
as explained by Hendrik at the beginning of this bugzilla. The race in
fuse_daemonize() leads to the issues that we see in Wave using cmsfs-
fuse, but there is no bug neither in Wave nor in cmsfs-fuse, only in
libfuse itself.

As noted earlier, the race in libfuse that leads to the "Transport
endpoint is not connected" error can also be reproduced w/o Wave or
cmsfs-fuse, by using "setsid -c" and sshfs (and probably any other fuse
fs):

root@s3545003:~# setsid -c sshfs geraldsc@tuxmaker: sshfs/
root@s3545003:~# ls sshfs
ls: cannot access 'sshfs': Transport endpoint is not connected

When applying the suggested "pipe synchronization" fix from Hendrik to
libfuse, it solves the issue for Wave and cmsfs-fuse. For sshfs, it also
fixes the "Transport endpoint is not connected" error, but unfortunately
sshfs itself also does some forking on its own, which also seems to be
broken, which is why using sshfs as in the above example still doesn't
work as expected (but at least now w/o the "Transport endpoint" error).

Unfortunately we have no clearance to submit patches directly to
libfuse, so there is only the "general hint" about using a pipe for
synchronization between parent and child inside fuse_daemonize(). I have
just verified that such a patch for libfuse would fix the issue, and now
we hope that someone could implement and integrate it into libfuse (and
then into Ubuntu).

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-04-13 Thread bugproxy
--- Comment From ofe...@il.ibm.com 2016-04-13 10:32 EDT---
that was send by Gerald Schaefer.
this is not a fix in Wave.
the fix in Wave is to run cmsfs-fuse with nohup...

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-04-13 Thread bugproxy
--- Comment From ofe...@il.ibm.com 2016-04-13 09:31 EDT---
i was hoping someone will create a patch before 16.04 is released...
i guess Hendrik Brueckner might be able to answer the question if cmsfs-fuse 
can be less racy to avoid the defect...

Wave will not manage online repository mirrors... it is the customers 
responsibility...
Wave tries to gap the z/VM knowledge needed to install Linux on z.

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-04-13 Thread bugproxy
--- Comment From ofe...@il.ibm.com 2016-04-13 08:21 EDT---
hi,

at the moment Wave is using nohup to work around the issue.
we would like to remove that from the code and use cmsfs-fuse directly.
we are not closing the ssh connection for each command but we are using a 
different channel for each command (which also causes the problem).
we would like the fix to go into the 16.04 GA release so we can fix the code 
before sending to customers.

i am not sure what do you mean...
Wave has 2 ways to install Ubuntu (and RHEL/SLES).
1. from a CD (mounted somewhere and available via ftp)
Wave will use the parmfile to pass all the relevant parameters to the 
installation (without the user accessing z/VM) up to the point the user can SSH 
into the installer and continue the installation on his own.
2. wave also supports cloning
a user can install once via the CD and then clone the guest (which will take a 
few seconds to perform).

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1558967/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-04-05 Thread bugproxy
--- Comment From heinz-werner_se...@de.ibm.com 2016-04-05 06:55 EDT---
Canonical, what is the target for getting this fix integrated. Many thx in 
advance

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1558967] Comment bridged from LTC Bugzilla

2016-03-21 Thread bugproxy
--- Comment From geral...@de.ibm.com 2016-03-21 09:22 EDT---
(In reply to comment #24)
> The race can also be triggered w/o ssh, by using "setsid -c", and I can also
> reproduce it w/o cmsfs-fuse but with sshfs:
>
> root@s3545003:~# setsid -c sshfs geraldsc@tuxmaker: sshfs/
> root@s3545003:~# ls sshfs
> ls: cannot access 'sshfs': Transport endpoint is not connected

I verified that Hendriks suggested fix (using a pipe for
synchronization) does fix the problem for cmsfs-fuse. For sshfs though,
there seem to be more problems, probably inside sshfs itself, instead of
generic fuse code. The "Transport endpoint" issue is also fixed for
sshfs, but now there is nothing mounted. Since sshfs does some forks on
its own, there probably is some issue left within sshfs, but that would
be a different story.

So, for the issue reported here, with cmsfs-fuse, the pipe
synchronization fix would help.

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

Title:
  libfuse2: race in fuse_daemonize() causes ' Transport endpoint is not
  connected' (found with cmsfs-fuse)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs