search for: getcap

Displaying 20 results from an estimated 58 matches for "getcap".

2020 Aug 31
1
[PATCH 1/2] drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps
...GPU when reading capabilities. > > > > > > Changes since v1: > > > * Don't just program the DMA notifier offset, make sure to actually > > > perform an update > > I'm not sure there's a need to send an Update() method here, I believe > > GetCapabilities() is an action method on its own right? > > > > I'm not entirely sure about this part tbh. I do know that we need to call > GetCapabilities() _after_ the DMA notifier offset is programmed. But, my > assumption was that if GetCapabilities() requires a DMA notifier offs...
2020 Aug 24
2
[PATCH 1/2] drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps
...erform an update afterwards to prevent > racing with the GPU when reading capabilities. > > Changes since v1: > * Don't just program the DMA notifier offset, make sure to actually > perform an update I'm not sure there's a need to send an Update() method here, I believe GetCapabilities() is an action method on its own right? Ben. > > Signed-off-by: Lyude Paul <lyude at redhat.com> > Fixes: 4a2cb4181b07 ("drm/nouveau/kms/nv50-: Probe SOR and PIOR caps for DP interlacing support") > Cc: <stable at vger.kernel.org> # v5.8+ > --- >...
2013 Nov 25
2
Help required in simulating libvirt TLS server
Hi All, Will some one explain how is this tls libvirt server is implemented. For my testing purpose I need to implement the similar TLS server in Java or Python and this server is capable to receive all libvirt calls like getCapabilities, hostname etc and return response as I'm configured. Basically I need to simulate the libvirt TLS server. I tried creating many TLS server but none of the my TLS server implemenation is capable to do proper handshake with python libvirt client and do successful calls. Any ideas or help...
2013 Sep 23
3
[Bug 10163] New: rsync -X is ineffective when setting owner/group
...bined with rsync options which preserve the file owner and/or group, it is partially ineffective. This is because rsync calls chown(2) after setting attributes, and chown removes security attributes (as in capabilities(5)). Steps to Reproduce: $ touch foo $ sudo setcap cap_dac_read_search=pe foo $ getcap foo foo = cap_dac_read_search+ep $ sudo rsync -X foo foo.1 $ getcap foo.1 foo.1 = cap_dac_read_search+ep $ sudo rsync -aX foo foo.2 $ getcap foo.2 $ This report originates from https://bugzilla.redhat.com/show_bug.cgi?id=981797 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=e...
2020 Aug 25
0
[PATCH 1/2] drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps
...nt > > racing with the GPU when reading capabilities. > > > > Changes since v1: > > * Don't just program the DMA notifier offset, make sure to actually > > perform an update > I'm not sure there's a need to send an Update() method here, I believe > GetCapabilities() is an action method on its own right? > I'm not entirely sure about this part tbh. I do know that we need to call GetCapabilities() _after_ the DMA notifier offset is programmed. But, my assumption was that if GetCapabilities() requires a DMA notifier offset to store its results...
2009 Aug 19
1
CAP_FOWNER=ep for asterisk
Hello, I need CAP_FOWNER=ep for the asterisk process, i set it with setcap on the file /usr/sbin/asterisk, it's there when i look on it with getcap, but after starting and loocking with getpcaps there's only cap_net_admin+ep set. So how exactly do I set CAP_FOWNER? Do I have to patch and recompile or is there another solution I did not see yet? thanks, best -- Raimund Sacherer - RunSolutions Open Source It Consulting - Parc...
2013 Sep 10
2
Help needed in simulating libvirt
...he ssl layer support for the libvirt server in java. I need to write a java server in such a way that python client should capable to create a connection with uri "qemu+tls://systemip:port?no_tty=1". Also with the created connection object it should able to call the libvirt API's like getCapabilities, etc. Any help and ideas on this will be really helpful. Thanks in Advance, Arun V
2013 Sep 11
2
Re: Help needed in simulating libvirt
Hi, Thanks for the response. I've used the URI: "test+ssh://<ipaddress>/default" and the connection is successful and with that connection I issued getCapabilities and its result is attached. I'm not sure how is result xml generated by the files in the /examples folder. Will you please explain how is this xml generated. Also my client is not going to modified. My client is going to connect with the URI "qemu+tls://<host>/system?no_tty...
2013 Aug 27
1
Finding out CPU topology
Hi, I have been trying to find out CPU topology using libvirt. I understand that I can find out the number of cores/sockets/ threads etc through getCapabilities() function. What I am wondering is that is there any function that can provide me the exact topology like how many sockets, how many sockets per core and number of threads per core, if applicable or may be info about numa cells.  Is there any mechanism to achieve this? Thanks,   ~Peeyush...
2014 Feb 27
2
Re: [libvirt] LXC, user namespaces and systemd
...ing looks properly. Why use uidmapshift ?, it still performs chown. Could you explain more? > some tools may not work, because of the missing file capabilities. > chown removes all file capabilities! try ping as user inside the > container. (missing file cap cap_net_admin,cap_net_raw) # getcap /usr/bin/ping # ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.077 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.066 ms ^C --- localhost ping statistics --- 2 packets transmitted, 2 received, 0% packet...
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...f, url = None): if url is None: url = get_default_url() logging.info("Connecting to libvirt: %s" % url) + self.__url = None + self.__conn = None self.open_connection(url) self.__capabilities = virtinst.CapabilitiesParser.parse(self.__conn.getCapabilities()) self.__net = virtinst.VirtualNetworkInterface(conn = self.__conn) @@ -84,9 +86,21 @@ class LibvirtWorker: '''Returns the underlying connection.''' return self.__conn + def get_url(self): + return self.__url + def open_c...
2013 Sep 11
2
Re: Help needed in simulating libvirt
...ibvirt server in java. I need to write a java server in such a way that > > python client should capable to create a connection with uri > > "qemu+tls://systemip:port?no_tty=1". Also with the created connection > > object it should able to call the libvirt API's like getCapabilities, > etc. > > Again, instead of trying to write your own RPC server, I'd instead focus > on utilizing the existing test:/// driver as your point of mocked calls. > > As this is mostly development-related, I've set the reply-to to > libvir-list (we can drop libvir...
2012 Jun 08
13
Default password hash
...ng SHA512 the default instead of MD5, like on most Linux distributions? Index: etc/login.conf =================================================================== --- etc/login.conf (revision 236616) +++ etc/login.conf (working copy) @@ -23,7 +23,7 @@ # AND SEMANTICS'' section of getcap(3) for more escape sequences). default:\ - :passwd_format=md5:\ + :passwd_format=sha512:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ DES -- Dag-Erling Sm?rgrav - des@des.no
2019 Apr 10
1
WINE on CentOS 7
Hi All - I have wine installed from EPEL on CentOS 7. My .exe is running except I dont seem to have network ? So I tried a ping command. wine ping 192.168.1.1 0009:err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions. Pinging 192.168.1.1 [192.168.1.1] with 32 bytes of data: PING: transmit failed. General failure.
2015 Jul 31
1
[Bug 11422] New: Feature request: add support for Linux libcap[-ng]
...nt: core Assignee: wayned at samba.org Reporter: rsync at sanitarium.net QA Contact: rsync-qa at samba.org Linux has added a concept called file capabilities. This allows certain binaries to perform specific privileged functions without requiring SUID root. Example: # getcap /bin/ping /bin/ping = cap_net_raw+ep Rsync should be able to (optionally of course) copy these attributes as it can copy xattrs and ACLs. They should also be storable via --fake-super on non-Linux systems. -- You are receiving this mail because: You are the QA Contact for the bug.
2013 Sep 11
0
Re: Help needed in simulating libvirt
On Wed, Sep 11, 2013 at 04:30:13PM +0530, Arun Viswanath wrote: > Hi, > > Thanks for the response. > > I've used the URI: > "test+ssh://<ipaddress>/default" and the connection is successful and with > that connection I issued getCapabilities and its result is attached. > I'm not sure how is result xml generated by the files in the /examples > folder. > Will you please explain how is this xml generated. You write the XML yourself to describe the initiall characteristics of the host scenario you are trying to simul...
2013 Sep 10
0
Re: Help needed in simulating libvirt
...for the > libvirt server in java. I need to write a java server in such a way that > python client should capable to create a connection with uri > "qemu+tls://systemip:port?no_tty=1". Also with the created connection > object it should able to call the libvirt API's like getCapabilities, etc. Again, instead of trying to write your own RPC server, I'd instead focus on utilizing the existing test:/// driver as your point of mocked calls. As this is mostly development-related, I've set the reply-to to libvir-list (we can drop libvirt-users from the rest of this thr...
2005 Apr 25
0
my samba configuration walktrought for Active directory
...ou must modify for adpat the conf. to your own site. I hope that this mail will help some of you :) 1.2..3... BEGIN Install NTPDate (from dselect) Install libtool (from dselect) install LDAP-dev (from dselect Install Ncurse 5-4 ./configure --with-libtool --with-shared --enable-termcap --enable-getcap --with-develop make make install Install PAM-0.79 ./configure make make install {the linux box ask me some question when i install PAM} >>Do you wish to copy the ./access.conf file in this distribution >>to /etc/security/access.conf ? (y/n) i said N! >>An older pam_env config...
2014 Aug 15
1
virt-manager and libvirt-python
Hello! I'm trying to work with virt-manager but getting SIGTRAP signal. It is done with gdb under MinGW32 on Windows 7 64-bit. I have Python 2.7.8. 32-bit. As I can see from backtrace ( http://pastebin.com/JhN6XgYb ), there is something wrong with libvirtmod.pyd. Also I couldn't find how to solve " typelib for AppIndicator3" error. So I try to debug libvirt-python. For doing
2005 Apr 25
0
my samba configuration walktrought for Active directory (w/ conf files ; )
...ou must modify for adpat the conf. to your own site. I hope that this mail will help some of you :) 1.2..3... BEGIN Install NTPDate (from dselect) Install libtool (from dselect) install LDAP-dev (from dselect Install Ncurse 5-4 ./configure --with-libtool --with-shared --enable-termcap --enable-getcap --with-develop make make install Install PAM-0.79 ./configure make make install {the linux box ask me some question when i install PAM} >>Do you wish to copy the ./access.conf file in this distribution >>to /etc/security/access.conf ? (y/n) i said N! >>An older pam_env config...