OT : systemd-udev issue in CentOS 8.5 / Rocky Linux 8.5 / RHEL 8.5
Sorry for being a bit off topic here but I'm hoping some of the clever people on this list can help me out with a systemd-udev issue here.I'm hoping this is a solved issue in fedora that maybe hasn't made its way upstream yet. I have a custom usb devive that I want a certain group of users to have full access to when it is plugged in . For CentOS 6 & 7 I just add a rule to /etc/udev/rules.d like SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2017", GROUP="atmel", MODE="666" and Bob is your uncle. The created usb device ( /dev/bus/usb/.../... gets permissions 666 as user root and group atmel . However, I cannot get this to work the same way with CentOS 8 / Rocky Linux 8 / ( RHEL 8 ) and I cannot figure out why not. The device in /dev/bus/usb is being created but only root can access it as the ownersip is set to root:root and the mode to 664 . The logs report an : unhandled action 'bind' on /sys/devices/pci:00/:00:14.0/usb1/1-1 ( or similar depending on the port used ) and systemd-udev retuns : invalid SUBSYSTEM operation which doesn't tell me a lot. Removing the MODE and GROUP from the rule makes the error messages go away but ownership and permissions are set to the default root and 664 Trying to replace MODE and GROUP ith a RUN=+some_script also fails ( with or without including the ACTION=="add" keyword. The script never starts as far as I can tell. Anybody knows what is going on here ? Does systemd-udevd not have root permissions ? I can of course set the mode as user root or use sudo but really ? systemd is version 239 which is probably outdated by fedora standards but it is what comes with RHEL 8.5 clones. peter ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Run firefox across ssh?
> Hi there, > > > I tried this: > > > > ssh -Y mac_ip > > > > export DISPLAY=:0 > > > > $ /Applications/Firefox.app/Contents/MacOS/firefox > > > > But no joy > > > > Thoughts? Is this possible? > > No idea about the Mac, but the same thing on a Linux box instead of the Mac > works just with > > local$ ssh -X remote_linux_box > remote$ firefox > > I'm not sure anymore about doing something with DISPLAY, on either end... > It just works. > > Stay safe. > > Iosif Fettich This work from Linux box to Linux box . Not sure about Macs : local> ssh -Y remote-ip remote> firefox -no-remote Note the -no-remote . It forces requests to come from the remote box rather than the local one ( which is the default ) peter ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: [F25] issue with SSL connexions: Failure of SSL transaction with
> One thing I know slows down browsing is the way sites outsource much > of their content. The browser has to access many sites on the web to > put together a page for you to view. Blocking this as much as > possible not only speeds up page loading, but also hinders tracking > sites. mvps is your friend here : http://winhelp2002.mvps.org/hosts.htm peter ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: SD cafd read only
> > > On 16/05/15 17:36, Joe Zeff wrote: > >> > >> I really believe this thing has failed. > > > > You're probably right. Still, before tossing it, if toss it you must, > > what do you get from this: > > > > fdisk -l /dev/sdh > > > > Does that show the full size, or just the 3.9GB? If nothing else, we > > might learn something about the card's failure modes. > > -- > . > [root@box10 /]# fdisk -l /dev/sdh > Disk /dev/sdh: 3.7 GiB, 3906453504 bytes, 7629792 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > > Just the 3.9GB, the other 12 is not accessible. > Are you sure this is really a 16GB card ? Lots SD cards and USB cards ( even branded ones ) are fake and do not hold anywhere near the stated capacity. You may want to try to run f3write / f3read ( from http://oss.digirati.com.br/f3/ ) on it to see what the actual capacity is. With a fake card everytig works well until the real capacity is filled at which point it just keeps overwriting itself until completely scrambled. The kernel will usually react to this by remounting it read only. peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: BIOS boot partition, 4x3TB disks, and raid, problems with anaconda
> > On my old system I use 1TB disks, with /boot as raid1, and grub > boot-loader installed on all disks. On that one I can boot the system > from any of disks. Which is quite handy. > > The problem here seem to be that due to the disks being large (larger > than 1TB) they are setup as GPT (GUID Partition Table), and they then > also need a BIOS boot partition to work on non UEFI based systems (if I > have understood it correctly). > > So, to be able to boot from any of the disks, I need a BIOS boot > partition on all disks, but anaconda seem to only install it on one of > the disks (i.e. I want the exactly identical partition tables on all disks). > > Lars gdisk will seamlessly convert an existing DOS partition table made by say fdisk, parted, gparted, ... to GPT format on the fly without disturbing the any actual parttions ( you may want to back up first though ... ) . Additionally, I have not had any problems getting 3-4 year old standard dumb BIOS to boot from a 3TB drive . Never tried with UEFI though. peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: NFS Performance Woes
> > > On 07/21/14 19:59, Ian Chapman wrote: > > Nfsstat, wireshark and the system logs do not show anything which screams > > there's a problem. > > > > The network card in the client machine and the server shows no collisions, > > dropped packets, frame overruns etc. > > > > I've tested with the export that isn't using Kerberos and still have the > > same issue. Messing with the rsize, wsize, async, sync parameters makes no > > difference either. > > > > The server has 32GB RAM, the client 16GB. > > > > For all intents and purpose it looks like its working as it should, it's > > just painfully slow. > > > > Any NFS gurus out there, that can tell me what I'm doing wrong? > > I've been using NFSv4 extensively for several years and I've not had an issue > that you > describe where everything is fine and then suddenly performance goes to hell > in a hand basket. > > It sounds as if you only have 2 systems to work with? No, tiebreaker so to > speak? > > Have you considered running a VM on your client system to see if it is > affected in the same way? > DNS problems can do it . Are your /etc/resolv.conf files correct ? You could try running your own nameserver ( dnsmasq ) if the upstream one is too slow or too busy. peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Xsane only as root
> > > Xsane can only find the scanner as root. > > Bus 001 Device 003: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 > > This is an F-20 64 bit xfce system. I can probably get by this way but > it is inconvenient. > > What do I need to change? > > Bob > It is a udev problem. I had a similar problem with an HP PSC1315 scanner. In that case udev expected to find the rules in /lib/udev/.. but the RPM package put them in /usr/lib/udev/... ( on CentOS6.5 ) Soft linking and running udevadm to reolad the rules fixed the problem. Also, I've seen suggestions that specifically adding an entry to /etc/sane.d/genesys.conf may work ( on Ubuntu at least ) peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: CentOS HowTos
> > No, I'm not trying to build a proper mail-server. > I collect email on my server from various (remote) mail-servers. > This is then processed by postfix/amavis/clamav/spamassassin . > Spam is marked by addition of [SPAM] or ***Spam*** to the Subject header, > as well as addition of several other headers. > > As I understand it, the email is then passed through dovecot(?), > to ~/Maildir/cur/ . Dovecot just does pop/imap _after_ the mail is delivered to mbox or Maildir/... A simple way to do things is postfix->procmail->spamassassin . It works on a per user basis the . And you can tweak spamassassin to sort by score : spam almost-certainly-spam probably-spam mbox With a bit of training ( sa-learn --ham mbox / sa-learn --spam spam say once a month ) you quickly get down to a few false positive/negative per year. All the configuration is done in .forward and .procmailrc Not sure how to do it with Maildir though ... > > This must be a standard setup. > So how normally is spam dealt with, at this stage? > You seemed to be suggesting that it could be dealt with earlier, by amavis? > Or it could be left to the client MUA, KMail in my case? > What is the norm? > Ah - but there are so many "standards" ... peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: can you (theoretically) run only NFSv4 (without earlier versions)?
On 12/24/13 09:12, Robert P. J. Day wrote: > as a quick test, i added "-U" but the only change was that > "rpcinfo -p" showed me that UDP was no longer being accepted > for v4 only: > > 133 tcp 2049 nfs > 1002273 tcp 2049 nfs_acl > 133 udp 2049 nfs > 1002273 udp 2049 nfs_acl > 134 tcp 2049 nfs > > to match what i see under RHEL, i was hoping to see *all* > references to NFSv3 disappear from the output of that command. > i'll test further later. For what it is worth CentOS6.4 reports something similar when running rcpinfo -p on a server with this in /etc/sysconfig/nfs : # Define which protocol versions mountd # will advertise. The values are "no" or "yes" # with yes being the default #MOUNTD_NFS_V1="no" MOUNTD_NFS_V2="no" MOUNTD_NFS_V3="no" # ... RPCNFSDARGS="-N 2 -N 3" However if I try to mount with -t nfs on a client I get a nfs4 type mount ( same as with -t nfs4 ) . On the other hand if I ask for a -t nfs -o nfsvers=3 mount it just hangs forever. Only tcp port 2049 is open in iptables although nmap -sU tells me that various NFS related things are listening locally. On the server itself an attempt to mount version 3 results in a : mount.nfs: Interrupted system call so I guess the extra ( local ) udp stuff doesn't actually do anything . peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: setup nfs w/o synchronizing uids?
Bill Davidsen wrote : > I haven't gotten that working, although I had limited time to look at the > problem. I have one machine with uid issues, so I would like to have a better > fix than a series of one time hacks. On the other hand, I have a bunch of > other > machines which have uid match and take most of my time, so uid fixing has > dropped to my "would be nice" list. I haven't tried this myself but this may be what you're looking for : [Translation] Method = nsswitch ( in idmapd.conf ) It isn't documented in the man pages for CentOS 5.5 ( RHEL 5.5 ) but it showed up in bugzilla under fedora. peter Peter Skensved Email : pe...@sno.phy.queensu.ca Dept. of Physics, Queen's University, Kingston, Ontario, Canada -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines