Missing udisks-tcp-bridge binary for remote management

Bug #568926 reported by Marti
78
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Baltix
Fix Released
Undecided
Unassigned
gnome-disk-utility (Ubuntu)
Invalid
Low
Unassigned
Declined for Maverick by Martin Pitt
udisks (Ubuntu)
Fix Released
Wishlist
Martin Pitt
Declined for Maverick by Martin Pitt

Bug Description

Binary package hint: udisks

The upstream UDisks distribution will build and install a binary called 'udisks-tcp-bridge'. This binary is used by gnome-disk-utility (Palimpsest) to manage disks remotely over SSH. This binary, however, is not included in Ubuntu's udisks package.

There is no security reason to exclude this binary, because everything a user can do with udisks-tcp-bridge, he could already do through D-Bus or the "udisks" command.

When connecting to a remote Lucid system with gnome-disk-utility, it gives the following error:
Unexpected stderr output - expected `udisks-tcp-bridge: Waiting for secret' but got `zsh: command not found: udisks-tcp-bridge'

Related branches

Marti (intgr)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Right, we deliberately did not install that in lucid, since it is still a very new and untested feature, and landed upstream after feature freeze. We'll enable it in maverick.

Changed in udisks (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

The palimpsest error message leaves something to be desired, though. Adding a task for that.

Changed in gnome-disk-utility (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in udisks (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Marti (intgr) wrote :

Thanks.

Any chance of creating a separate optional package for udisks-tcp-bridge? Maybe in a PPA?

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 568926] Re: Missing udisks-tcp-bridge binary for remote management

Marti [2010-04-29 10:06 -0000]:
> Any chance of creating a separate optional package for udisks-tcp-
> bridge? Maybe in a PPA?

Sure, anyone can provide that. It's just dropping
--disable-remote-access in debian/rules and adding

  etc/avahi/services/udisks.service

to debian/udisks.install

Revision history for this message
Marti (intgr) wrote :

I created a udisks package with udisks-tcp-bridge in my PPA: https://launchpad.net/~intgr/+archive/ppa
This is my first time using a PPA, hopefully I did everything right.

To try it out, run this:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:intgr/ppa

Revision history for this message
Mike.lifeguard (mikelifeguard) wrote :

Alternatively, the error might be "Unexpected stderr output - expected `udisks-tcp-bridge: Waiting for secret' but got `tput: No value for $TERM and no -T specified'"

Revision history for this message
swamytk (swamytk) wrote :

Thanks, Marti. It works fine with your package. Here is my mini how-to on getting it done in Ubuntu fresh installation. http://karuppuswamy.com/wordpress/2010/06/03/how-to-remote-disk-management-in-ubuntu-made-easy/

Revision history for this message
Lucien Demeuse (lucien-demeuse) wrote :

Be careful : with the new update of udisks version 1.0.1-1ubuntu it is impossible to read an internal or usb floppy. The solution is to downgrade udisks to 1.0.1-build1 as I explain here in detail :

http://users.skynet.be/linux-rixensart/1_suite.html#floppy

Lucien

Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote :

Any hope to see this function implemented in 11.04?

Revision history for this message
Martin Pitt (pitti) wrote :

I'll be back to the desktop team next cycle, and I'll deal with this during natty (11.04).

Changed in udisks (Ubuntu):
status: Triaged → In Progress
Changed in gnome-disk-utility (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

I tried to enable this in current natty, but this now fails. It expects "waiting for secret", but gets "stdin is not a tty" error. So this needs further debugging.

Martin Pitt (pitti)
Changed in udisks (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks - 1.0.2-4

---------------
udisks (1.0.2-4) unstable; urgency=low

  * 02-defer_smart_probing.patch: Try SMART probing again repeatedly while the
    daemon is inhibited. (LP: #580112)
  * Add 00git-udf-permissions.patch: Ignore broken directory permissions on
    UDF when they are on readonly CD media. (LP: #635499)
  * debian/control: Improve package description. Thanks Justin B Rye!
    (Closes: #614146)
  * debian/control: Explain in the package description why udisks
    recommends/suggests file system creation/admin tools. (Closes: #595114)
  * Activate support for udisks-tcp-bridge. Note that this is purely
    convenience and does not enable extra privileges (can do the same with ssh
    and dbus-send). This unbreaks the "Connect to server.." functionality in
    gnome-disk-utility. (LP: #568926)
    - debian/rules: Drop --disable-remote-access.
    - debian/udisks.install: Install Avahi service description file.
  * Add debian/patches/00git-sd-card-id.patch: Add missing rule for
    identifying SD card readers as such. (LP: #460713)
 -- Martin Pitt <email address hidden> Fri, 11 Mar 2011 18:08:40 +0100

Changed in udisks (Ubuntu):
status: Fix Committed → Fix Released
Changed in baltix:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.