Displaying 20 results from an estimated 4000 matches similar to: "Permission problem with /dev/net/tun"
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
On 07/08/2013 11:41 AM, Daniel P. Berrange wrote:
>> the symptom my libvirt LXC container suffers from is:
>> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40
>> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
>> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation
>>
2013 Jul 08
0
Re: Permission problem with /dev/net/tun
On Sat, Jul 06, 2013 at 09:59:39PM +0200, Thomas Karcher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi lxc folks,
>
> the symptom my libvirt LXC container suffers from is:
>
> root@depot:/dev/net# ls -la
> total 0
> drwxr-xr-x 2 root root 40 Jun 29 16:26 .
> drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
>
> root@depot:/dev/net# mknod tun c
2013 Apr 18
1
libvirt 1.0.3 Vs 1.0.4 / cgroup devices
Hi there,
I am using libvirt with lxc to create fedora 16 & 18 containers on fedora
18 host.
first I did the setup with libvirt 1.0.3 and everything worked fine, then
after upgrading to libvirt 1.0.4, I could not create character device on
the guests :
Test on the guest1 :
# ls -l /dev
total 0
lrwxrwxrwx. 1 root root 10 Apr 17 21:18 console -> /dev/pts/0
lrwxrwxrwx. 1 root root 11
2012 Apr 10
3
Removing LVM
I have a CentOS 5 machine in which I'm trying to remove lvm. I dd'ed the
file system to another partition, then dd'ed it back overwriting the lvm
partition. I then modified menu.lst and fstab and replaced the paths to
point to the correct device.
When the system boots it's still looking for lvm. I can restore the
system back to where it was with lvm, but I'm not sure what
2017 Sep 21
1
How automatically set group.devices.allow for libvirt-lxc container after start ?
Hi.
I need to use /dev/ppp inside the lxc container, for very ancient software.
Problem solved this way:
1) virsh edit container name and add section:
<features>
<capabilities policy='default'>
<mknod state='on'/>
</capabilities>
</features>
2) start container
3) attach or ssh container, be root:
#mknod /dev/ppp c 108 0
4) inside
2014 Feb 25
2
libvirt lxc /dev/null
Hello,
I created lxc container on F19 with virt-manager and it starts OK. The only
problem is that sshd does not run complaining "/dev/null is not a character
device".
# ls -l /dev/null
-rw-r--r-- 1 root root 0 2014-02-25 22:39 /dev/null
/sys/fs/cgroup/devices/machine/VM_NAME.libvirt-lxc/devices.list has "c 1:3
rwm" line, but I cannot create /dev/null:
# mknod /dev/nulll c 1
2004 Jan 16
1
tun: File descriptor in bad state
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
suddenly i am getting the folowing error from tinc. I haven't changed
any configuration and i haven't changed the running kernel. If I try to
mknod the device again the problem remains.
Regards,
Kostko.
- --
Kostko <kostko@jweb-network.net>
JWeb-Network
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using
2005 Feb 04
1
FC3 and tun error
I am using Fedora Core 3 distribution with tinc-1.0.3-1.1.fc3.rf. These are
the contents of my configuration files:
/etc/tinc/saaotun/tinc.conf:
Name = suth
DEvice = /dev/net/tun
/etc/tinc/saaotun:
/sbin/ifconfig eth0 192.168.1.1 netmask 255.0.0.0
/etc/tinc/saaotun/hosts/suth:
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMNiy1zXS6k3s+ocIdFWKU6MbpW3rQXGp7yIL+baY7GMxhOmsgZdyc1B
2007 Feb 11
2
No /dev/net/tun in dom0
I have a dom0 with Debian Etch, created with Xen-tools, that I want to
use as a OpenVPN-server.
I cannot start the openvpn-deamon, it cannot open the TUN/TAP dev
/dev/net/tun
The dom0 does not have a directory /dev/net and if I create it, it is
away after the next reboot.
Can I get a staying /dev/net/tun in the dom0 ?
--
Morten Christensen
_______________________________________________
2006 Nov 02
10
windows 2003
I have finally gotten one version of windows 2003 r2 x64 installed as a
guest.
The bad news is no network.
The network tab says it''s a realtek 8139 when I know it is a intel. I tried
downloading the intel drivers and they wont install says it''s the wrong hard
ware. Is this common that it uses a 8139 as a generic network card?
Also the network card shows
The
2012 Mar 06
1
Correctly using libvirt to mount /dev/pts and /dev in an lxc application container
We would like to mount /dev and /dev/pts correctly using the libvirt xml
config file instead of doing a bind mount in a container init script we use.
Currently the container config is:
<domain type='lxc'>
<name>CentOS_57</name>
<uuid>ff5d3c04-49e6-a3cc-0a14-ff13625eca3c</uuid>
<memory>262144</memory>
2014 Sep 27
2
[PATCH 1/2] Implement realpath()
This is needed as the basis for the readlink -f option.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -92,4 +92,6 @@ static __inline__ int grantpt(int __fd)
return 0; /* devpts does this all for us! */
}
+__extern char *realpath(const char *, char *);
+
#endif /* _STDLIB_H */
--- a/usr/klibc/Kbuild
+++
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People,
I''m looking at the migrate example on p 74 of the rails2.pdf
It''s a simple example of using a migration to add a column to
the products table.
Here is a copy of the migration file named 002_add_price.rb
after I generated and then edited it:
class AddPrice < ActiveRecord::Migration
def self.up
add_column :products, :price, :decimal, :precision => 8, :scale
2005 Feb 09
1
rsync backups on Mac OS X - mknod errors + icon disappears...
Hi
I am a rsync (on Mac OS X, RsyncX version with extended HFS+/-eahfs
forks) beginner (I merely use it for backing up my desktop machine to a
bootable
external firewire volume, so that I can resume work in case of a
harddrive disaster)
and I got these messages:
mknod
"/Volumes/backup/Applications/Plone2/Sites/Default/var/zopectlsock"
failed: Invalid argument
mknod
2002 Jan 25
3
suid files and bsd
Currently I only have one machine backing up to another. I am
backing up to a filesystem that is mounted as nosuid. The syncing process
works perfectly except it fails on files that are suid.
Example
proc/
root/
tmp/
mknod tmp/mysql.sock : Invalid argument
mknod tmp/orbit-daud/orb-12573780511489051058 : Invalid argument
mknod tmp/orbit-daud/orb-139425434385535813 : Invalid argument
mknod
2011 Oct 20
2
Agile book apache2.conf: Forbidden You don't have permission to access / on this server.
Appreciate any help -
I am working through Agile web development (4.0) and am stuck on the
deployment using phusion passenger. I get this:
"Forbidden
You don''t have permission to access / on this server."
when I put depot.yourhost.com in the browser.
I have been through various web searches and for file permissions and
suggestions to change the <Files> container.
2007 Nov 25
15
Possible Problem with RSpec and
Sorry to be such a pest but I am trying to learn Ruby, Rails and RSpec all
at one go and it is a bit overwhelming. I have previously completed the
depot tutorial in the Agile Web Dev with rails book and now I am trying do
do it again using RSpec.
What I would like to know now is why I am getting a rake failure error at
the end of every spec:models run. Is this the expected behaviour when a
test
2014 Dec 01
3
Problem with /dev/tty in LXC established with virt-install
I have created a LXC container with debootstrap followed by virt-install
like this:
host=mylxc1
debootstrap wheezy /home/lxc/$host
virt-install -c lxc:// -n $host --filesystem /home/lxc/$host,/ --ram 1024
I am confused about the /dev filesystem in this container. Specifically
the device '/dev/tty'.
>From inside the container:
~# ls -la /dev/tty
ls: cannot access /dev/tty: No such
2010 Apr 15
2
Should umask takes effect when we create device file via mknod?
Hi all,
Currently, umask takes effect when we create device file via mknod, as
bellow commands show:
><fs> mknod-b 0760 8 1 /dev/sdf
><fs> ll /dev/sdf
brwxr----- 1 root root 8, 1 Apr 15 11:10 /sysroot/dev/sdf
But I wonder whether it is reasonable? For mknod(1), when we use option
-m mode, we set file permission bits to MODE, not a=rw - umask. Should
this also be applicable
2004 Sep 22
6
[Bug 1804] FreeBSD's mknod can't create FIFOs and sockets
https://bugzilla.samba.org/show_bug.cgi?id=1804
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From wayned@samba.org 2004-09-22 09:56