* [Comm] kvm -net user,smb не работает на p7/branch
@ 2013-07-26 13:00 Denis G. Samsonenko
2013-07-26 13:09 ` Aleksey Novodvorsky
0 siblings, 1 reply; 3+ messages in thread
From: Denis G. Samsonenko @ 2013-07-26 13:00 UTC (permalink / raw)
To: community
Добрый день!
Редко пользуюсь виртуальной машиной. Вот понадобилось запустить на
машине с p7, а доступ по самбе из гостевой системы не работает. Раньше
на p6 проблем не было. На другой машине с p6 тоже всё нормально с теми
же настройками и образом гостевой системы.
Запускаю виртуальную машину так:
kvm -hda /home/denis/WinXP/WinXP.img -m 2048 -usb -usbdevice tablet
-localtime -net nic -net user,smb=/home/denis/Documents -vga vmware
-cpu host -smp 2 -enable-kvm
При попытке доступа из гостевой системы получаю отлуп. В логах
хозяйской системы наблюдаю следующее:
Jul 26 19:43:47 ogion smbd[29335]: [2013/07/26 19:43:47.961942, 0]
../source3/param/loadparm.c:3033(lp_set_enum_parm)
Jul 26 19:43:48 ogion smbd[29335]: WARNING: Ignoring invalid value
'share' for parameter 'security'
Jul 26 19:43:48 ogion smbd[29335]: [2013/07/26 19:43:47.965994, 0]
../lib/util/util.c:168(directory_create_or_exist)
Jul 26 19:43:48 ogion smbd[29335]: mkdir failed on directory
/var/run/samba/ncalrpc: .\236.\202казано в до.\201.\202.\203пе
Jul 26 19:43:48 ogion smbd[29335]: [2013/07/26 19:43:47.966059, 0]
../source3/smbd/server.c:1464(main)
Jul 26 19:43:48 ogion smbd[29335]: Failed to create pipe directory
/var/run/samba/ncalrpc - .\236.\202казано в до.\201.\202.\203пе
Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.988066, 0]
../source3/param/loadparm.c:3033(lp_set_enum_parm)
Jul 26 19:43:48 ogion smbd[29336]: WARNING: Ignoring invalid value
'share' for parameter 'security'
Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.991059, 0]
../lib/util/util.c:168(directory_create_or_exist)
Jul 26 19:43:48 ogion smbd[29336]: mkdir failed on directory
/var/run/samba/ncalrpc: .\236.\202казано в до.\201.\202.\203пе
Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.991102, 0]
../source3/smbd/server.c:1464(main)
Jul 26 19:43:48 ogion smbd[29336]: Failed to create pipe directory
/var/run/samba/ncalrpc - .\236.\202казано в до.\201.\202.\203пе
В чём может быть дело?
$ uname -a
Linux ogion.localdomain 3.8.13.5-std-def-alt1.M70P.1 #1 SMP Tue Jul 23
06:30:26 UTC 2013 x86_64 GNU/Linux
$ rpm -qa |grep qemu
qemu-aux-1.4.0-alt1.1
qemu-common-1.4.0-alt1.1
qemu-img-1.4.0-alt1.1
qemu-system-1.4.0-alt1.1
ipxe-roms-qemu-1.0.0-alt2.git174df77
--
Всего доброго,
Денис.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] kvm -net user,smb не работает на p7/branch
2013-07-26 13:00 [Comm] kvm -net user,smb не работает на p7/branch Denis G. Samsonenko
@ 2013-07-26 13:09 ` Aleksey Novodvorsky
2013-07-26 13:34 ` Denis G. Samsonenko
0 siblings, 1 reply; 3+ messages in thread
From: Aleksey Novodvorsky @ 2013-07-26 13:09 UTC (permalink / raw)
To: ALT Linux Community general discussions
26 июля 2013 г., 17:00 пользователь Denis G. Samsonenko
<d.g.samsonenko@gmail.com> написал:
> Добрый день!
>
> Редко пользуюсь виртуальной машиной. Вот понадобилось запустить на
> машине с p7, а доступ по самбе из гостевой системы не работает. Раньше
> на p6 проблем не было. На другой машине с p6 тоже всё нормально с теми
> же настройками и образом гостевой системы.
>
> Запускаю виртуальную машину так:
>
> kvm -hda /home/denis/WinXP/WinXP.img -m 2048 -usb -usbdevice tablet
> -localtime -net nic -net user,smb=/home/denis/Documents -vga vmware
> -cpu host -smp 2 -enable-kvm
>
> При попытке доступа из гостевой системы получаю отлуп. В логах
> хозяйской системы наблюдаю следующее:
>
> Jul 26 19:43:47 ogion smbd[29335]: [2013/07/26 19:43:47.961942, 0]
> ../source3/param/loadparm.c:3033(lp_set_enum_parm)
> Jul 26 19:43:48 ogion smbd[29335]: WARNING: Ignoring invalid value
> 'share' for parameter 'security'
> Jul 26 19:43:48 ogion smbd[29335]: [2013/07/26 19:43:47.965994, 0]
> ../lib/util/util.c:168(directory_create_or_exist)
> Jul 26 19:43:48 ogion smbd[29335]: mkdir failed on directory
> /var/run/samba/ncalrpc: .\236.\202казано в до.\201.\202.\203пе
> Jul 26 19:43:48 ogion smbd[29335]: [2013/07/26 19:43:47.966059, 0]
> ../source3/smbd/server.c:1464(main)
> Jul 26 19:43:48 ogion smbd[29335]: Failed to create pipe directory
> /var/run/samba/ncalrpc - .\236.\202казано в до.\201.\202.\203пе
> Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.988066, 0]
> ../source3/param/loadparm.c:3033(lp_set_enum_parm)
> Jul 26 19:43:48 ogion smbd[29336]: WARNING: Ignoring invalid value
> 'share' for parameter 'security'
> Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.991059, 0]
> ../lib/util/util.c:168(directory_create_or_exist)
> Jul 26 19:43:48 ogion smbd[29336]: mkdir failed on directory
> /var/run/samba/ncalrpc: .\236.\202казано в до.\201.\202.\203пе
> Jul 26 19:43:48 ogion smbd[29336]: [2013/07/26 19:43:47.991102, 0]
> ../source3/smbd/server.c:1464(main)
> Jul 26 19:43:48 ogion smbd[29336]: Failed to create pipe directory
> /var/run/samba/ncalrpc - .\236.\202казано в до.\201.\202.\203пе
>
>
> В чём может быть дело?
>
В том, что security=share запрещено в samba4. См. google о способах замены.
Rgrds, Алексей
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] kvm -net user,smb не работает на p7/branch
2013-07-26 13:09 ` Aleksey Novodvorsky
@ 2013-07-26 13:34 ` Denis G. Samsonenko
0 siblings, 0 replies; 3+ messages in thread
From: Denis G. Samsonenko @ 2013-07-26 13:34 UTC (permalink / raw)
To: ALT Linux Community general discussions
День добрый!
26 июля 2013 г., 20:09 пользователь Aleksey Novodvorsky написал:
>> В чём может быть дело?
>
> В том, что security=share запрещено в samba4. См. google о способах замены.
Так я вроде сам нигде и не задавал security=share. Или это опция -net
user,smb у qemu так работает?
--
Всего доброго,
Денис.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-26 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 13:00 [Comm] kvm -net user,smb не работает на p7/branch Denis G. Samsonenko
2013-07-26 13:09 ` Aleksey Novodvorsky
2013-07-26 13:34 ` Denis G. Samsonenko
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git