shares-admin doesn't add share

Bug #450353 reported by A. Tombol
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
system-tools-backends
Fix Released
Undecided
Unassigned
system-tools-backends (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: gnome-system-tools

the shares added in the shares-admin window disappear upon closing and reopening
setting smb workgroup doesn't do anything either

xubuntu 9.10 beta
gnome-system-tools 2.28.0-0ubuntu1

Tags: karmic
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Thanks for your report. Could you run
sudo killall /usr/bin/perl; sudo /usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m SMBConfig -v

then start 'shares-admin' from another console, and reproduce the problems you describe without stopping the above command. Then, please attach the output from both programs. Thanks!

Changed in gnome-system-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
A. Tombol (atombol) wrote :

here are the outputs
it seems to me like a problem with the writing rights
i use the authorization button in the shares-admin window

Revision history for this message
A. Tombol (atombol) wrote :

this doesn't say anything

Revision history for this message
A. Tombol (atombol) wrote :

sorry, forgot to attach
this is the one without much information

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

That's a problem with getting the path to the file we have to read/change. Everything fails because we try to read a file called "". I'll have a look at that later, but you could try
sudo killall /usr/bin/perl; sudo /usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m SMBConfig -v --platform debian

Changed in gnome-system-tools (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
A. Tombol (atombol) wrote :

no luck

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

OK, I got it. The problem is that Debian platform is not listed, which incidentally means that almost all platforms are also broken because they depend on Debian. It's already fixed in 2.8.2 which I'd have loved to see in Karmic. See bug 443312.

Attached is a patch that you can apply to /usr/share/system-tools-backends-2.0/scripts/Shares/SMB.conf to fix the problem.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

OK, I got it. The problem is that Debian platform is not listed, which incidentally means that almost all platforms are also broken because they depend on Debian. It's already fixed in 2.8.2 which I'd have loved to see in Karmic. See bug 443312.

Attached is a patch that you can apply to /usr/share/system-tools-backends-2.0/scripts/Shares/SMB.conf to fix the problem.

affects: gnome-system-tools (Ubuntu) → system-tools-backends (Ubuntu)
Changed in system-tools-backends:
status: New → Fix Released
Revision history for this message
A. Tombol (atombol) wrote :

i think you mean .../SMB.pm
i don't know how to apply patches, so i added that line manually to the file
it works like a charm now, thank you for the work
it's kinda the fastest bug fixing i ever participated in :)

Changed in system-tools-backends (Ubuntu):
importance: Undecided → High
Changed in system-tools-backends (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Should be fixed in Karmic with the system-tools-backends 2.8.2 (see bug 443312). Can you confirm that it works after upgrade (else the patch changes will have been overwritten and your system won't work again)?

Changed in system-tools-backends (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
A. Tombol (atombol) wrote :

i can confirm the fix, thank you!

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.