Questions tagged [udev]
106 questions
0
votes
3 answers
udev: how can I extend a default rule to modify the ownership of a symlink?
I need to get some USB-serial devices into a particular user group to access them from an application. This is straightforward for the /dev/ttyUSB devices, where I can just use KERNEL="ttyUSB*", GROUP:="mygroup". However, for the symlinks like…
![](../../users/profiles/4020.webp)
kdt
- 1,360
- 3
- 22
- 34
0
votes
1 answer
How to whitelist range of MACs in 75-persistent-net-generator.rules?
I have a Debian Squeeze (2.6.32-5) guest in KVM that has all virtio network interfaces, and their MACs are apparently blacklisted by udev as per /lib/udev/rules.d/75-persistent-net-generator.rules such that /etc/udev/rules.d/70-persistent-net.rules…
![](../../users/profiles/52802.webp)
NginUS
- 468
- 1
- 5
- 13
0
votes
1 answer
Debian Squeeze console not working after upgrade
We have upgraded a Debian Squeeze machine recently, which was installed in February 2010 and was never upgraded after that. After the upgrade, while booting the machine prints some messages and after "waiting for /dev with devices" it does not print…
![](../../users/profiles/2417.webp)
hayalci
- 3,611
- 3
- 25
- 37
0
votes
0 answers
Systemd: BindsTo the union of multiple devices
Is it possible to have a systemd unit that binds to the existence of two devices, such that the unit is only started when both of the devices exist? When one or the other disappears, we should stop the resulting unit.
For example, myservice.service…
![](../../users/profiles/89990.webp)
PBJ
- 123
- 3
0
votes
1 answer
During which dracut hook can a PXE client rename predictable interfaces names with a udev rule?
tl;dr: During load of an initramfs (execution of dracut modules) on a PXE client, I need to rename the kernel-given (predictable) interface names (right now they're unpredictable ethX names). This way, the PXE client will always boot from a…
![](../../users/profiles/967833.webp)
brimhalgh
- 1
- 1
0
votes
2 answers
How to deal with dynamic drive name when device mounting hard drives to LXC on Proxmox?
Question
Setup
On a Proxmox server I create an LXC container with:
pct create 101 local:vztmpl/centos-8-default_20201210_amd64.tar.xz --features mknod=1,nesting=1,fuse=1 --ostype centos --storage=CTVM --description "centos glusterfs" --hostname…
![](../../users/profiles/479173.webp)
mikeLundquist
- 101
- 2
0
votes
0 answers
Udisks2 rule to ignore BTRFS-in-LUKS array member disks
On Ubuntu 20.04 PC's with a btrfs (in crypto / LUKS) raid-1 disk array, file managers (nautiuls, thunar, etc) show duplicate entries for the [logically] same disk, and repeatedly mount duplicate /media/User/DiskLabel-N. Request: I'd like to prevent…
![](../../users/profiles/288892.webp)
some bits flipped
- 193
- 8
0
votes
2 answers
Permissions of /dev/null wrong in KVM guest
My host node is RHEL7 running KVM from the 'updates' repo. On the host node, the permissions for /dev/null are:
crw-rw-rw-. 1 root root 1, 3 Dec 18 04:45 /dev/null
In an Alpine KVM guest (5.14, but same behavior on other versions), the permissions…
![](../../users/profiles/251288.webp)
tater
- 1,395
- 2
- 9
- 12
0
votes
0 answers
Remote access to `/dev/input` fails with permission error
I need to open a USB game controller device (joystick) remotely. This device is physically connected to server and is available for local user with permissions:
crw-rw-r--+ 1 root input 13, 0 ** /dev/input/js0
Using sshfs on client side, I mounted…
![](../../users/profiles/770489.webp)
zlg
- 1
- 1
0
votes
0 answers
USB Drive at the same location on FreeBSD
I have a number of USB drives that are attached to a FreeNAS server. These are then used as offline backup targets. One problem is that the order that the drives are plugged into matters.
On a Linux based system, I would use udev rules to ensure…
![](../../users/profiles/532124.webp)
tl8
- 131
- 1
- 4
0
votes
1 answer
Debian/Ubuntu, inconsistency between S-ATA ports numbering and /dev/sdX lettering
The hardware situation is as such :
a motherboard (MSI X99A SLI Plus),
two (2) Samsung 860 Pro SSDs connected on SATA-1 and SATA-2 of the motherboard.
five (5) identical HDDs connected on SATA-3, SATA-4, SATA-5, SATA-6, SATA-7
The BIOS correctly…
![](../../users/profiles/543186.webp)
Annoying Technology
- 111
- 2
0
votes
0 answers
How to populate /dev/input?
I have a fully working (for this part) embedded system based on a rather ancient, vendor-modified, Linux v3.18.29.
To solve other problems I am in the process of upgrading everything to current u-boot/kernel/Buildroot.
Everything seems to work, but…
![](../../users/profiles/293642.webp)
ZioByte
- 246
- 3
- 15
0
votes
1 answer
udev rules not working
sorry for my English....
I am with Linux Mint
I to try to change my interface name but without result...
The steps which I to does...
First search for my interface name and mac from it,
ip a
to come, interface name enp0s3, mac address…
![](../../users/profiles/558125.webp)
dsaj34v
- 3
- 3
- 4
-1
votes
1 answer
Linux "/dev/SDA" goes read only file system on SDB device failure
i have a very peculiar issue that is running in my system.
Using debian linux :
My system boots up very normally with a primary and secondary hard disk.
suddenly my secondary hard disk fails with some I/O Error DRDY UNC errors which tends make my…
![](../../users/profiles/120276.webp)
Ragav
- 115
- 4
-1
votes
1 answer
Why are some of my Secondary IPs missing after a YUM update on Amazon Liunx 2
On Sunday, I did a Yum Update on my Amazon Linux 2 instance (a T2.Medium) and after the update only 2 IP addresses per interface were working. Before the update I had 6 IPs per interface. It looks like either the kernel update or the ec2-net-utils…
![](../../users/profiles/205087.webp)
iewebguy
- 213
- 1
- 3
- 7