Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

3
votes
0answers
2k views

All TLS requests giving Peer's certificate issuer has been marked as not trusted by the user

When I try an https request to google.com, I just recently started seeing [root@ip-172-31-47-76 ~]# curl -I -v https://google.com * Rebuilt URL to: https://google.com/ * Trying 216.58.193.78... * ...
3
votes
0answers
617 views

vgrename volume group with root filesystem

I am running Scientific Linux 7.4 I have run vgrename to rename the volume group that contains my root filesystem. I thought this would be easy. $ vgrename old_vg new_vg edit /etc/fstab edit /etc/...
3
votes
0answers
52 views

Which Linux kernels include a particular bug fix?

How do I know which Linux kernels have merged a particular bug fix? For example, as mentioned in this question: Kernel Bug 198357 - iwlwifi: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware ...
3
votes
0answers
99 views

How to open different virtual consoles on different monitors?

I use a 2-display set-up (a laptop with a secondary 1280x1024 SXGA monitor attached to it) and whenever I switch to a virtual console (e.g. by pressing Ctrl+Alt+F2) the secondary monitor switches to ...
3
votes
0answers
362 views

How to combine linux kernel and initrd without compiling?

I know that it's possible to extract from a linux kernel the embedded initramfs cpio. I want to know if the reverse operation is possible; i.e., given both a compiled kernel and initramfs archive, how ...
3
votes
0answers
239 views

How I can improve openstack swift replication speed?

I am using openstack object storage in my production, and faced with big problem - low replication speed. I have cluster with replication factor 3, with 3 zones and 25 hdds per zone. My container ...
3
votes
0answers
199 views

Is it possible to partially recover files from a btrfs raid-0 filesystem with a missing disk?

I've got a bit of a quite terrible situation on my hands and I'm just looking for a bit of insight before calling this a lost cause. To put things into context, I'll just give you my partitioning ...
3
votes
0answers
98 views

Is there a way for a device mapper target to limit the rate at which i/o is sent to it?

I am writing a device mapper target and am having a issue. While running an i/o test, the number of i/o inflight to my target gets very high, presumably from the filesystem paging out the cache. At ...
3
votes
0answers
78 views

Running linux mint with only free software?

Is it possible to strip down linux mint to only use free software and replace the proprietary software with free software and would doing this even make sense?
3
votes
0answers
534 views

Force Arch boot to specific GPU

Arch Linux - kernel 4.13.12-1 (x64) Bootloader - Grub 2 Window Manager: I3-wm. Gpus: AMD 570 (Passthrough), 1080Ti(Passthrough), 1050TI (Host) Misc: Dual-Monitor I have three GPUs in my machine, ...
3
votes
0answers
628 views

How to prevent cgroup: fork rejected

I run a Java application with OpenJDK 8 on Fedora 27, and since some time it logs this from time to time: kernel: cgroup: fork rejected by pids controller in /system.slice/my.service It then also ...
3
votes
0answers
32 views

Can anything from kernel-space defer a transition to S3 power state?

I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine? Picture example scenario: user-space client ...
3
votes
0answers
126 views

A new mount point after every reboot

I have a Raspberry Pi with Arch Linux and Kodi. I tried to make all config by the new ways of Systemd, that is, by creating Systemd units. For instance, instead of configuring the mount points at boot ...
3
votes
0answers
3k views

install linux os on lenovo ideapad miix 310

I already tried to install Ubuntu and Mint on my tablet and it almost worked, I just had problems getting auto rotation to work. The main problem is that there appear some kind of striations, e.g. at ...
3
votes
0answers
142 views

Is there a linux distribution that fully mimics mac keyboard layout?

I know that there are Linux distributions (e.g: ubuntu) that can be partially adapted to physical mac keyboard and its layout but it is clunky and only covers some scenarios. I was hoping there is one ...
3
votes
0answers
995 views

lsof: list only files of a particular type

The lsof man page is a bugger to read. I've tried, but wonder if I've missed something. Is there a way without using pipes to have lsof list only files of a given TYPE? In particular, I'm interested ...
3
votes
0answers
1k views

No buffer space available - ICMP

I'm trying to set up a Heartbeat client on a linux machine (CentOS Linux release 7.3.1611) which is sending ICMP echo requests to roughly 1300 hosts. However, in future this number will be higher. The ...
3
votes
0answers
236 views

USB 3.0 XCHI endpoints

I am having a very hard time finding USB-related debugging utilities or strategies for linux. I have a USB 3.0 device that fails when connected to an EspressoBin 3.0 port with a Not enough host ...
3
votes
0answers
688 views

Steam In Home Streaming from Ubuntu to macOS over VPN

in my office I have an Ubuntu workstation with a decent gaming GPU. At home, I have only a 13" MacBook Pro which is not that much a gaming machine. Fortunately, Steam has this great feature called In ...
3
votes
0answers
672 views

Change GID of system groups (GID 100 - 105 to 200 - 205)

I have an Ubuntu server connected to a Microsoft Active Directory for Authentication with NIS/Unix extentions enabled. Every AD user therefore has an primary group ID (GID), which is 100 for IT staff ...
3
votes
0answers
61 views

Is it crazy to consider keeping my home directory on OpenAFS?

I am a sysadmin by trade, and I do what I do at work at home as well for fun. I have a Gentoo Linux laptop, Raspberry Pis running Raspian, a Gentoo server, ARM devices running Debian and have various ...
3
votes
0answers
166 views

Dual-boot Linux & hiberantion: share swap partition

I am using dual-boot on my laptop, but I only have 1 swap partition which is shared. Hibernation is enabled for both OSes I have installed. All works well except the case when I hibernate, and then ...
3
votes
0answers
51 views

different MTU on a single link

What should be the correct behaviour in Linux, when the same link has different MTUs, e.g. [HostA eth0 MTU 1500] <--> [eth0 MTU 500 HostB] When I do ping -s 1460 HostB from HostA, I don't see ...
3
votes
0answers
619 views

Binding to systemd device units of connected bluetooth devices

When I connect a bluetooth device (e.g. a wiimote) to my machine and list all device units of systemd via systemctl list-units -t device, the device unit shows up as sys-subsystem-bluetooth-devices-...
3
votes
0answers
100 views

How to emulate LAN adresses locally?

I have this situation: a piece of software got hardcoded IP address (let assume it is being 196.10.10.100:20000) to which it binds a socket and sends TCP and UDP traffic to 196.10.10.9:20000 (...
3
votes
0answers
97 views

how to update the firmware of an epson xp 211 printer in linux?

Since the epson utility are available for windows and mac, I was wondering how to update the firmware in Linux. Comment> Using a virtualized windows/mac machine would work?. I remembered , this was ...
3
votes
0answers
136 views

What is the right time when linux suffer drift time?

Supose that a linux server, at startup, report the following btime: boot btime -> 1493875000 This server is virtualized inside a busy box and the I/O load is high, in spite of have ntp running, a ...
3
votes
0answers
1k views

Why does Gnu sort sort differently on my OSX machine and Linux machine?

I have a OSX machine where sort runs GNU sort from coreutils 8.26 (installed from Homebrew), and a Linux machine where sort runs GNU sort from coreutils 8.25. On the Mac: mac$ echo -e "{1\n2" | sort ...
3
votes
0answers
382 views

Documentation on Device Mapper ioctls?

In the Red Hat documentation on Device Mapper, it reads: "the application interface to the Device Mapper is the ioctl system call." So far, I understand that the ioctls are sent to /dev/mapper/...
3
votes
0answers
320 views

Sound output limiter to prevent volume spikes on a Linux desktop?

Is there a way to prevent sudden sound spikes in Chrome browser like those caused by streaming TV commercials? I've Googled for a solution to this but the only thing I've found is a Windows utility ...
3
votes
0answers
408 views

cinnamon resize window to default size by hotkey

I'm using mint 18.1 and searching a way to resize of opened window and center it by hotkey (resize to default value that set up). In cinnamon keyboard preferences I found in shortcuts a way to set ...
3
votes
0answers
876 views

Limit on number of virtual interfaces in linux?

I am running some automated tests with docker containers, and this includes creating a lot of veth interfaces (about 2 per container, ~1000 containers). Whenever I do this, the system shuts down. ...
3
votes
0answers
432 views

How to run kernel in debug mode and wait for KGDB with Virtualbox and Kali Linux?

I am trying to debug a Linux kernel using Virtualbox, but I cannot get it working. Here is what I've done. Compile Kernel with the following configuration CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y ...
3
votes
0answers
121 views

Have a private swap file per process

Is there a way to assign a swap space or swap file JUST to one process or a group of processes while other processes still use normal swap mechanism? Here is some context. I have a process that uses ...
3
votes
0answers
665 views

Understanding Linux software RAID, which devices are connected to my mdadm RAID 1?

I have a RAID 1 which was managed by Intel Rapid Storage Technology drivers. Im migrating this system to Fedora Linux and I ran mdadm --assemble --scan and it seemed like there was an array available ...
3
votes
0answers
205 views

Linux drive not being read anywhere

I installed Manjaro Linux on my new 128GB M.2 SSD. It was all working fine for a week or so. I was then deleting some large files (4+GB) from another 2TB HDD. Each of these deletions took about a ...
3
votes
0answers
182 views

Minimalistic Framebuffer showing text and progress only

I have an embedded linux system with framebuffer only. Normally a Qt Application is running. During update situation the application is stoped and I would like to use the framebuffer device to show ...
3
votes
0answers
298 views

8tb usb drive randomly unmounts

I added a 8tb usb drive to my fstab using the uuid of the drive: UUID=ab38b866-2c81-4a4e-9ff6-79b00049c83c /mnt/ext_backup_8tb ext4 defaults,errors=remount-ro,auto,user,exec,rw But it keeps ...
3
votes
0answers
722 views

Samba Share with OpenLDAP Users

I want to have following Setup: OpenLDAP Server where Users are stored. File Server with Samba Shares, where OpenLDAP Users should have access to. OpenLDAP Users already have access too several ...
3
votes
0answers
124 views

Wrong service startup order when not booting into single-user mode

I'm asking about a Debian Wheezy system running sysvinit and ZFS on Linux. While my problem manifests itself with ZFS, I strongly suspect that the underlying problem is not ZFS-specific. For some ...
3
votes
0answers
549 views

Linux Mint Intel Integrated Graphics Not Working

My computer setup has three monitors, an ASUS motherboard and a NVidia GTX-970 with Linux Mint 18.1 installed on it. Two monitors are connected to the GTX, one through a HDMI connection and the other ...
3
votes
0answers
135 views

How to I can compile the Linux Kernel with GRSecurity and SELinux using the git repositories?

I want compile the Linux kernel with two patches (Grsecurity and SELinux) using the git repositories if theses sources, my problem is in the patch file generation because I unknow how make the patches ...
3
votes
0answers
160 views

setcap on dhclient appears to have no effect

I'm having a rather frustrating time getting dhclient to run from a normal user using setcap. Because of the environment I am working with, adding to sudoers is not an option. My attempt: sudo ...
3
votes
0answers
200 views

Account for missing space as reported by ZFS list

This is a question regarding the available space as reported by zfs list that does not meet user expectations. I have looked at similar questions, but I still don't understand the zfs list output. Let ...
3
votes
0answers
663 views

If I restart xinetd service , does it impact the currently active FTP connections?

In my Linux system FTP server is running from xinetd . I want to make a configuration change inside the /etc/xinetd.d/ directory for the FTP server launch with respect to the arguments passed to the ...
3
votes
0answers
1k views

Sway/Wayland does not activate my second monitor

I was previously using arch linux, lightdm, and sway (an i3 clone for wayland, basically). However, at the time lightdm would not launch sway for me, so I ended up switching to a tty (ctrl+alt+f#) and ...
3
votes
0answers
379 views

Pulseaudio does not register HFP profile in SDP server

I need to pair a headset to a Linux based device over Bluetooth. Actually I want to have mic paired to the device to get raw audio from the mic. The device does not have a sound card. I have ...
3
votes
0answers
502 views

can't delete ARP entry with iproute2

On Ubuntu-14.04.5 I can't delete entry with ip tool from iproute2 package. % ip neigh show 10.0.0.119 dev eth2 lladdr c4:3d:c7:a2:fe:37 REACHABLE fe80::2e0:ecff:fe36:2af6 dev eth2 lladdr 00:e0:ec:36:...
3
votes
0answers
708 views

Check if /dev/urandom has been properly seeded in Linux

Myths about /dev/urandom says that in rare cases very shortly after boot, the CSPRNG may not have had enough entropy to be properly seeded and /dev/urandom may not produce high-quality randomness. ...
3
votes
0answers
1k views

Right-to-left reversed text and alignment issue in mobaxterm on Linux

I have install Wine-1.8.0 on Ubuntu 16.04. The issue is that the text in mobaxterm is displayed right-to-left (reversed), aligned to the right, which the screenshot below shows. Other .exe files ...