Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Ubuntu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-2008, 02:30 AM
Hobbes
 
Posts: n/a
8.04 bug

Here is a strange bug.

If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
with a Segmentation fault.

Nice.

Is this by design ?
Reply With Quote
  #2 (permalink)  
Old 07-20-2008, 09:28 AM
Trevor Best
 
Posts: n/a
Re: 8.04 bug

On Sat, 19 Jul 2008 22:30:59 -0400, Hobbes wrote:

> Here is a strange bug.
>
> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
> with a Segmentation fault.
>
> Nice.
>
> Is this by design ?


Strange, I tried it and got the same result, popping a blank DVD in
afterwards kills it too.

Do you need root access to a blank DVD?

--
A Freudian slip is when you say one thing but mean your mother.


Reply With Quote
  #3 (permalink)  
Old 07-20-2008, 10:23 AM
Moog
 
Posts: n/a
Re: 8.04 bug

Hobbes illuminated alt.os.linux.ubuntu by typing:
> Here is a strange bug.
>
> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
> with a Segmentation fault.
>
> Nice.
>
> Is this by design ?


Well. The same is happening here too. And no, I doubt it is by design.

Digging a little deeper, i.e. having a root nautilaus open while
inserted a blank DVD.

Root nautilus closes and echo's the following error into the terminal
window....

(nautilus:7526): WARNING **: Unable to add monitor: Operation not
supported
Nautilus-Share-Message: Called "net usershare info" but it failed:
'net usershare' returned error 255: net usershare: cannot open
usershare directory /var/lib/samba/usershares. Error No such file or
directory
Please ask your system administrator to enable user sharing.

So. It's actually an issue with Samba. There is already a launchpad
bug open
https://bugs.launchpad.net/ubuntu/+s...re/+bug/211966

Workaround
"The directory didn't exist. I have solved it by doing this

mkdir /var/lib/samba/usershares
chmod 777 /var/lib/samba/usershares
"

HTH

--
"And the back of his anorak was leaping up and down, and people were
chucking money to him. I said 'Do you earn a living doing that?' He
said 'Yes, this is my livelihood.' ~ Tim Vine
Reply With Quote
  #4 (permalink)  
Old 07-20-2008, 11:33 AM
Bob
 
Posts: n/a
Re: 8.04 bug

Moog wrote:
> Hobbes illuminated alt.os.linux.ubuntu by typing:
>> Here is a strange bug.
>>
>> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
>> with a Segmentation fault.
>>
>> Nice.
>>
>> Is this by design ?

>
> Well. The same is happening here too. And no, I doubt it is by design.
>
> Digging a little deeper, i.e. having a root nautilaus open while
> inserted a blank DVD.
>
> Root nautilus closes and echo's the following error into the terminal
> window....
>
> (nautilus:7526): WARNING **: Unable to add monitor: Operation not
> supported
> Nautilus-Share-Message: Called "net usershare info" but it failed:
> 'net usershare' returned error 255: net usershare: cannot open
> usershare directory /var/lib/samba/usershares. Error No such file or
> directory
> Please ask your system administrator to enable user sharing.
>
> So. It's actually an issue with Samba. There is already a launchpad
> bug open
> https://bugs.launchpad.net/ubuntu/+s...re/+bug/211966
>
> Workaround
> "The directory didn't exist. I have solved it by doing this
>
> mkdir /var/lib/samba/usershares
> chmod 777 /var/lib/samba/usershares
> "
>
> HTH
>


Using dual boot 8.04/WinXP and trying to keep Ubuntu as isolated as
possible, and got this
me@AMD64:~$ mkdir /var/lib/samba/usershares
mkdir: cannot create directory `/var/lib/samba/usershares': No such
file or directory
me@AMD64:~$

me@AMD64:~$ sudo mkdir /var/lib/samba/usershares
sudo: unable to resolve host AMD64
[sudo] password for me:
mkdir: cannot create directory `/var/lib/samba/usershares': No such
file or directory
me@AMD64:~$

I do know there's a probably self inflicted config error somewhere
that would explain the "unable to resolve host" but as I'm unaware of
any resultant adverse affects I've been content not to meddle any
more than using sudo in that instance.

HTH




--
Bob
Calling alcoholism 'a disease' is
the politically correct substitute for 'a self induced insanity.'
Reply With Quote
  #5 (permalink)  
Old 07-20-2008, 11:41 AM
Niklaus Kuehnis
 
Posts: n/a
Re: 8.04 bug

Bob <invalid.no@invalid.invalid> wrote:
>
> Using dual boot 8.04/WinXP and trying to keep Ubuntu as isolated as
> possible, and got this
> me@AMD64:~$ mkdir /var/lib/samba/usershares
> mkdir: cannot create directory `/var/lib/samba/usershares': No such
> file or directory
> me@AMD64:~$


> me@AMD64:~$ sudo mkdir /var/lib/samba/usershares
> sudo: unable to resolve host AMD64
> [sudo] password for me:
> mkdir: cannot create directory `/var/lib/samba/usershares': No such
> file or directory
> me@AMD64:~$


Does /var/lib/samba exist?

> I do know there's a probably self inflicted config error somewhere
> that would explain the "unable to resolve host" but as I'm unaware of
> any resultant adverse affects I've been content not to meddle any
> more than using sudo in that instance.


Correct ip-hostname lines in /etc/hosts ?

--
Niklaus
Reply With Quote
  #6 (permalink)  
Old 07-20-2008, 11:55 AM
Bob
 
Posts: n/a
Re: 8.04 bug

Niklaus Kuehnis wrote:
> Bob <invalid.no@invalid.invalid> wrote:
>> Using dual boot 8.04/WinXP and trying to keep Ubuntu as isolated as
>> possible, and got this
>> me@AMD64:~$ mkdir /var/lib/samba/usershares
>> mkdir: cannot create directory `/var/lib/samba/usershares': No such
>> file or directory
>> me@AMD64:~$

>
>> me@AMD64:~$ sudo mkdir /var/lib/samba/usershares
>> sudo: unable to resolve host AMD64
>> [sudo] password for me:
>> mkdir: cannot create directory `/var/lib/samba/usershares': No such
>> file or directory
>> me@AMD64:~$

>
> Does /var/lib/samba exist?
>
>> I do know there's a probably self inflicted config error somewhere
>> that would explain the "unable to resolve host" but as I'm unaware of
>> any resultant adverse affects I've been content not to meddle any
>> more than using sudo in that instance.

>
> Correct ip-hostname lines in /etc/hosts ?
>


Thanks, it seems not.

> 127.0.0.1 localhost
> 127.0.1.1 AMD64.Belkin.127.0.0.1
>

# The following lines are desirable for IPv6 capable hosts
# ::1 ip6-localhost ip6-loopback
# fe00::0 ip6-localnet
# ff00::0 ip6-mcastprefix
# ff02::1 ip6-allnodes
# ff02::2 ip6-allrouters
# ff02::3 ip6-allhosts



--
Bob
Calling alcoholism 'a disease' is
the politically correct substitute for 'a self induced insanity.'
Reply With Quote
  #7 (permalink)  
Old 07-20-2008, 11:58 AM
Hobbes
 
Posts: n/a
Re: 8.04 bug

Moog wrote:
> Hobbes illuminated alt.os.linux.ubuntu by typing:
>> Here is a strange bug.
>>
>> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
>> with a Segmentation fault.
>>
>> Nice.
>>
>> Is this by design ?

>
> Well. The same is happening here too. And no, I doubt it is by design.
>
> Digging a little deeper, i.e. having a root nautilaus open while
> inserted a blank DVD.
>
> Root nautilus closes and echo's the following error into the terminal
> window....
>
> (nautilus:7526): WARNING **: Unable to add monitor: Operation not
> supported
> Nautilus-Share-Message: Called "net usershare info" but it failed:
> 'net usershare' returned error 255: net usershare: cannot open
> usershare directory /var/lib/samba/usershares. Error No such file or
> directory
> Please ask your system administrator to enable user sharing.
>
> So. It's actually an issue with Samba. There is already a launchpad
> bug open
> https://bugs.launchpad.net/ubuntu/+s...re/+bug/211966
>
> Workaround
> "The directory didn't exist. I have solved it by doing this
>
> mkdir /var/lib/samba/usershares
> chmod 777 /var/lib/samba/usershares
> "
>
> HTH
>


Worked here.
I had to prefix sudo to the commands
Reply With Quote
  #8 (permalink)  
Old 07-20-2008, 12:00 PM
Hobbes
 
Posts: n/a
Re: 8.04 bug

Trevor Best wrote:
> On Sat, 19 Jul 2008 22:30:59 -0400, Hobbes wrote:
>
>> Here is a strange bug.
>>
>> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
>> with a Segmentation fault.
>>
>> Nice.
>>
>> Is this by design ?

>
> Strange, I tried it and got the same result, popping a blank DVD in
> afterwards kills it too.
>
> Do you need root access to a blank DVD?
>


No.
But Moogs reply below worked for me.

I just happened to have a blank CD in the drive whilst doing something else.
Reply With Quote
  #9 (permalink)  
Old 07-20-2008, 05:00 PM
jane doa
 
Posts: n/a
Re: 8.04 bug

On 2008-07-20, Moog <efcmoog@gmail.com> wrote:
> Hobbes illuminated alt.os.linux.ubuntu by typing:
>> Here is a strange bug.
>>
>> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
>> with a Segmentation fault.
>>
>> Nice.
>>
>> Is this by design ?

>
> Well. The same is happening here too. And no, I doubt it is by design.
>
> Digging a little deeper, i.e. having a root nautilaus open while
> inserted a blank DVD.
>
> Root nautilus closes and echo's the following error into the terminal
> window....
>
> (nautilus:7526): WARNING **: Unable to add monitor: Operation not
> supported
> Nautilus-Share-Message: Called "net usershare info" but it failed:
> 'net usershare' returned error 255: net usershare: cannot open
> usershare directory /var/lib/samba/usershares. Error No such file or
> directory
> Please ask your system administrator to enable user sharing.
>
> So. It's actually an issue with Samba. There is already a launchpad
> bug open


shouldn't Nautilus, as Gnome file manager, be a little more robust in
handling share errors?

> https://bugs.launchpad.net/ubuntu/+s...re/+bug/211966
>
> Workaround
> "The directory didn't exist. I have solved it by doing this
>
> mkdir /var/lib/samba/usershares
> chmod 777 /var/lib/samba/usershares
> "


Reply With Quote
  #10 (permalink)  
Old 07-20-2008, 07:07 PM
Moog
 
Posts: n/a
Re: 8.04 bug

jane doa illuminated alt.os.linux.ubuntu by typing:
> On 2008-07-20, Moog <efcmoog@gmail.com> wrote:
>> Hobbes illuminated alt.os.linux.ubuntu by typing:
>>> Here is a strange bug.
>>>
>>> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
>>> with a Segmentation fault.
>>>
>>> Nice.
>>>
>>> Is this by design ?

>>
>> Well. The same is happening here too. And no, I doubt it is by design.
>>
>> Digging a little deeper, i.e. having a root nautilaus open while
>> inserted a blank DVD.
>>
>> Root nautilus closes and echo's the following error into the terminal
>> window....
>>
>> (nautilus:7526): WARNING **: Unable to add monitor: Operation not
>> supported
>> Nautilus-Share-Message: Called "net usershare info" but it failed:
>> 'net usershare' returned error 255: net usershare: cannot open
>> usershare directory /var/lib/samba/usershares. Error No such file or
>> directory
>> Please ask your system administrator to enable user sharing.
>>
>> So. It's actually an issue with Samba. There is already a launchpad
>> bug open

>
> shouldn't Nautilus, as Gnome file manager, be a little more robust in
> handling share errors?


It should be, but it passes it's networking shares via samba, so
therefore it's either a samba issue, or Nautilus is not correctly
implementing itself.

As the priority is set to "low" on the bug on launchpad, I would
suggest that the dev team aren't overly worried about it.

--
"How many people here have telekenetic powers? Raise my hand." ~ Emo
Philips
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:39 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109