[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] typo



Hi, Rich

Thank you for your suggestion.
Now I found, I switched off test utils since compilation failed with 
--with-test on MinGW.
Since testutils failes compilation.
I attach the failure log

Thanks
Atsushi SAKAI


"Richard W.M. Jones" <rjones redhat com> wrote:

> Atsushi SAKAI wrote:
> > Hi,
> > 
> > I succeed test (2) but failed (1).
> > I think this is reasonable for virsh on Windows.
> 
> Interesting ... what was the error message when you did:
> 
>    virsh.exe -c test:///default list
ƒŠƒ‚[ƒgŠÂ‹«\’zŽè‡
ƒx[ƒXFhttp://libvirt.org/remote.html

¦ì‹Æ‚Í”FØ‹Ç‚̐ݒèAƒNƒ‰ƒCƒAƒ“ƒgEƒT[ƒo‚̔閧Œ®/Ø–¾‘”­s‚܂ł͂ЂƂ‚̃}ƒVƒ“‚ōs‚¤‚±‚ƁB
  ”­sŒãAƒNƒ‰ƒCƒAƒ“ƒgEƒT[ƒo‚̔閧Œ®/Ø–¾‘‚ðƒNƒ‰ƒCƒAƒ“ƒg/ƒT[ƒo‚Ì‚»‚ꂼ‚ê‚̃fƒBƒŒƒNƒgƒŠ‚É
  ”z’u‚·‚邱‚ƁB


›•K—vðŒ
  gnutls-utilsƒp[ƒbƒP[ƒW‚ª“ü‚Á‚Ä‚¢‚邱‚ƁB

‡ ”FØ‹ÇÝ’è
 ‚PD”FØ‹Ç‚̔閧Œ®ì¬
 @ # certtool --generate-privkey > cakey.pem
 ‚QD"ca.info"‚Æ‚¢‚¤ƒtƒ ƒCƒ‹‚ðˆÈ‰º‚Ì“à—e‚ō쐬
 @ cn = <‘gD–¼> —áFTFL
 @ ca
 @ cert_signing_key
 ‚RD”FØ‹Ç‚̏ؖ¾‘ì¬
 @ # certtool --generate-self-signed --load-privkey cakey.pem --template ca.info --outfile cacert.pem
 ‚SD‚±‚±‚܂ł̎菇‚ňȉº‚Ì‚Qƒtƒ@ƒCƒ‹‚ªì¬‚³‚ê‚Ä‚¢‚é‚Í‚¸
 @ cakey pem  | ”FØ‹Ç‚̔閧Œ®
 @ cacert pem | ”FØ‹Ç‚̏ؖ¾‘
 ‚TDcacert pem‚ðƒNƒ‰ƒCƒAƒ“ƒg‚ƃT[ƒo‚Ì/etc/pki/CA/”z‰º‚É”z’u

‡AƒT[ƒo‚̔閧Œ®/Ø–¾‘”­s
 ‚PDƒT[ƒo‚̔閧Œ®ì¬
 @ # certtool --generate-privkey > serverkey.pem
 ‚QD"server.info"‚Æ‚¢‚¤ƒtƒ ƒCƒ‹‚ðˆÈ‰º‚Ì“à—e‚ō쐬
 @ organization = <‘gD–¼> —áFTFL
 @ cn = <ƒT[ƒo‚ÌFQDN>     —áFvancouver.sd.tfl.fujitsu.com
 @ tls_www_server
 @ encryption_key
 @ signing_key
 ‚RDƒT[ƒo‚̏ؖ¾‘ì¬(”FØ‹Ç‚̔閧Œ®AØ–¾‘‚ª•K—v)
 @ # certtool --generate-certificate --load-privkey serverkey.pem  --load-ca-certificate cacert.pem --load-ca-privkey cakey.pem --template server.info --outfile servercert.pem
 ‚SD‚±‚±‚܂ł̎菇‚ňȉº‚Ì‚Qƒtƒ@ƒCƒ‹‚ªì¬‚³‚ê‚Ä‚¢‚é‚Í‚¸
 @ serverkey pem  | ƒT[ƒo‚̔閧Œ®
 @ servercert pem | ƒT[ƒo‚̏ؖ¾‘

‡BƒNƒ‰ƒCƒAƒ“ƒg‚̔閧Œ®/Ø–¾‘”­s
 ‚PDƒNƒ‰ƒCƒAƒ“ƒg‚̔閧Œ®ì¬
 @ # certtool --generate-privkey > clientkey.pem
 ‚QD"client.info"‚Æ‚¢‚¤ƒtƒ ƒCƒ‹‚ðˆÈ‰º‚Ì“à—e‚ō쐬
 @ country = <ƒJƒ“ƒgƒŠ[ƒR[ƒh(“ñŽš)> —áFJP
 @ state = <B/Œ§>                    —áFToyama
 @ locality = <’nˆæ/’n•û>             —áFToyama
 @ organization = <‘gD–¼>            —áFTFL
 @ cn = <ƒNƒ‰ƒCƒAƒ“ƒg–¼>              —áFsanji.sd.tfl.fujitsu.com
 @ tls_www_client
 @ encryption_key
 @ signing_key
 ‚RDƒNƒ‰ƒCƒAƒ“ƒg‚̏ؖ¾‘ì¬(”FØ‹Ç‚̔閧Œ®AØ–¾‘‚ª•K—v)
 @ # certtool --generate-certificate --load-privkey clientkey.pem --load-ca-certificate cacert.pem --load-ca-privkey cakey.pem --template client.info --outfile clientcert.pem
 ‚SD‚±‚±‚܂ł̎菇‚ňȉº‚Ì‚Qƒtƒ@ƒCƒ‹‚ªì¬‚³‚ê‚Ä‚¢‚é‚Í‚¸
 @ clientkey pem  | ƒNƒ‰ƒCƒAƒ“ƒg‚̔閧Œ®
 @ clientcert pem | ƒNƒ‰ƒCƒAƒ“ƒg‚̏ؖ¾‘

‡C‚»‚ꂼ‚ê‚̔閧Œ®/Ø–¾‘‚ðvirsh‚ðŽÀs‚·‚éƒNƒ‰ƒCƒAƒ“ƒg/ƒT[ƒo‚É”z’u‚·‚éB
  ‚Ü‚½AƒT[ƒo‘¤‚Ílibvirtd‚̐ݒè‚ðs‚¤B
  (ƒT[ƒo‘¤)
 ‚PD‡A  ‚S‚ō쐬‚µ‚½ƒtƒ ƒCƒ‹‚ðˆÈ‰º‚É”z’u
 @ serverkey pem  | /etc/pki/libvirt/private/”z‰º
 @ servercert pem | /etc/pki/libvirt/”z‰º
 ‚QDserverkey pem‚̃AƒNƒZƒXŒ ŒÀ‚ð600‚ɐݒè(pki_check.sh)
      # chmod 600 /etc/pki/libvirt/private/serverkey.pem
 ‚RDlibvirtd‚̐ݒè(/etc/sysconfig/)•ÏX
 @ #LIBVIRTD_ARGS="--listen" ‚̃Rƒƒ“ƒg‚ðŠO‚·
 ‚SDlibvirtdÄ‹N“®(restart‚¾‚Æ‚È‚º‚©‚U‚ª—LŒø‚É‚È‚ç‚È‚¢‚Ì‚ÅstopËstart)
 @ # /etc/init.d/libvirtd stop
 @ # /etc/init.d/libvirtd start

  (ƒNƒ‰ƒCƒAƒ“ƒg‘¤)
 ‚PD‡B  ‚S‚ō쐬‚µ‚½ƒtƒ ƒCƒ‹‚ðˆÈ‰º‚É”z’u
 @ clientkey pem  | /etc/pki/libvirt/private/”z‰º
 @ clientcert pem | /etc/pki/libvirt/”z‰º

    ¦: windows”Å‚Ìlibvirt‚ðŽŽ‚·ê‡‚ÍŒ»Ý‚Ì‚Æ‚±‚ëAˆÈ‰º‚̏ꏊ‚É”z’u(2008/01/09’Ç‹L)
 @ clientkey pem  | C:\msys\1.0\local\etc\pki\libvirt\private\”z‰º
 @ clientcert pem | C:\msys\1.0\local\etc\pki\libvirt\”z‰º
      cacert.pem     | C:\msys\1.0\local\etc\pki\CA


‚»‚Ì‘¼F
 ‚PDhttp://libvirt.org/pki_check.sh ‚ɍ쐬‚µ‚½ƒtƒ ƒCƒ‹‚̃`ƒFƒbƒNƒXƒNƒŠƒvƒg‚ª‚ ‚é‚Ì‚Å
 @ ƒT[ƒo^ƒNƒ‰ƒCƒAƒ“ƒg‚̐ݒèI—¹Œã‚ÉŽÀs‚·‚é‚Æ—Ç‚¢
 ‚QD/etc/sysconfig/libvirtd ‚Ì LIBVIRTD_ARGS ‚ð LIBVIRTD_ARGS="--listen --verbose"‚É‚·‚é‚Æ
 @ ƒƒO‚ªo‚é‚Ə‘‚¢‚Ä‚ ‚邪A‚Ç‚±‚ɃƒO‚ª‚ ‚é‚Ì‚©‚Í•s–¾(/var/log/message‚©‚à)
 ‚RD/etc/libvirt/libvirtd.conf ‚Ålibvirtd‚̐ݒè‚ð•ÏX‰Â”\
 @ Ë”é–§Œ®‚âØ–¾‘‚̃pƒX‚ð•ÏX‚·‚邱‚Æ‚à‰Â”\

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]