Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

2
votes
1answer
40 views

Checking Boot Volume

Programmatically, how can I check whether the lun node is a boot volume or not (the lun node is created under /dev/ on Linux systems (such as RHEL or Ubuntu or any other linux flavour). To my ...
1
vote
1answer
68 views

NFS file owner(uid) = 4294967294, can't do much with my mount, How do I fix this?

I have a somewhat strange setup going on here, I have Android as the client and it's kernel does not support NFSv4, also my /etc/exports file on the server side has no NFSv4 style entries. I am ...
0
votes
1answer
37 views

How can I prevent my wifi driver from going catatonic?

I'm using a Lenovo T430s with an Intel(R) Centrino(R) Ultimate-N 6300 wireless chipset. On certain wireless networks, I experience frequent wifi lockups, which require me to reload the wireless ...
2
votes
0answers
36 views

SSD seems full, but file system says otherwise [duplicate]

I'm running CentOS and have a 100GB Micron RealSSD P300. It appears that the drive is almost full, as noted by running df: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 ...
2
votes
0answers
26 views

Screencast on a virtual monitor

is it possible to create virtual monitor (virtual area) and cast it to LAN? I would like to have something like external monitor, like Miracast, but not mirror. I think it is possible to create ...
0
votes
0answers
21 views

CLI Video Driver for Ubuntu 10.04

I am running a Linaro Arm version of Ubuntu 10.04. I switched the runlevel to 1 which should be command line with no GUI but I am however being presented with a black screen with a blinking cursor on ...
0
votes
1answer
27 views

Locating the /dev entry to make partitions on an SD card

I am trying to create partition of SD card, for this I am following this tutorial. When I type the command ll /dev/mmcblk* I got this ls: cannot access /dev/mmcblk*: No such file or directory ...
0
votes
0answers
140 views

Debian wheezy FN key inverted after resume from suspend

I have debian wheezy installed on my new laptop (Toshiba Satellite L70), with Kernel 3.14 from backports. After I resume from suspend, all function keys (F1 - F12) behaviour is inverted, for example, ...
0
votes
0answers
35 views

Root able to login but non root users are denied - PAM

One of our servers is not letting non-root users login, but root can login without any issues. The following are the messages from /var/log/secure: Jun 24 18:08:43 jonnserver sshd[14470]: debug1: ...
1
vote
1answer
55 views

login scenario and root ssh access block

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0. The problem is ...
2
votes
2answers
53 views

How do I configure logging for ulimits?

I was wondering if anything gets logged when any ulimits are hit (open files, etc). If so, where is this logged, and what should I be looking for? I'm using CentOS 6.
1
vote
2answers
76 views

Why are custom programs always installed in /opt, /srv, /usr/local, etc. and not in ~/ (home) folder?

The LTS repo is pretty good, but for some reason I prefer the "build from source" method for some programs. One reason is that I get the preferred version (PHP on LTS is on 5.3, whereas I can compile ...
3
votes
1answer
46 views

Init-systems and service management on different distributions

Is there some overview which Linux distribution comes with which (default) init system and uses which tool for starting/stopping services? Is there some distribution independent way to ...
3
votes
3answers
108 views

Implementing load balancing on any Linux distro

I am thinking of implementing a load balancing solution for personal use. What I want to do, is to maximize data throughput over mobile phone Internet connections. Let me be clear: I have data plan ...
3
votes
1answer
54 views

Monitoring filesystem activity

Say, I have a program, and I want to monitor its filesystem activity (what files/directories are created/modified/deleted etc.) This program may be capable of spawning further processes, and thus, I ...
2
votes
1answer
40 views

How to name network adapters created with virt-install?

In order to test preseeded installation, I want to create a virtual machine as close as possible to an actual server I use in production. The server has two network adapters: p1p1 and p2p1. When ...
0
votes
1answer
38 views

Corsair Vengeance K-95 Keyboard & Linux

I've been thinking that I want a mechanical keyboard, currently I'm using a logitech G510 which is perfect with it's 18 programmable keys (I'm using it with this) but I hear a lot of people drooling ...
0
votes
0answers
16 views

NFS Automount/HARD mount sharing top directory

In Linux, is it possible to "hard mount" a directory under an automounted directory? For example: /top_dir/fred (automounted) /top_dir/jane (automounted) /top_dir/software (hard mounted) ...
1
vote
2answers
115 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
4
votes
1answer
55 views

How to dump USB traffic?

I got an USB gamepad and I would like to see and inspect the signals and commands that this peripherals is actually sending to my PC/kernel: how I can do that ? I was assuming that something like ...
0
votes
0answers
17 views

Start Netbeans as super user as a shortcut with password embedded

For my work purposes, I need to start netbeans in super user mode. I find it quite irritating to have to type this : su then enter the password ./netbeans everytime I want to start netbeans. How ...
1
vote
1answer
24 views

Un-archiving single file hanging

I am trying to unarchive a very large directory. Here is what works to untar the entire thing: $ sudo tar -xjf itunes20140618.tbz --verbose x itunes20140618/ x itunes20140618/genre_artist x ...
2
votes
2answers
40 views

Is it possible to obtain OS X versions of Unix tools on modern Linux distributions (like Ubuntu or RedHat)?

I have observed that there are often subtle and often annoying differences between the default versions of certain command line tools like paste and sed on modern distributions of Linux versus OSX. ...
3
votes
1answer
55 views

bcache on md or md on bcache

bcache allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower hard disk drives. If I understand correctly, an SSD* could be ...
1
vote
1answer
106 views

Debian + Linux kernel 3.12.22: “Kernel module loader” option is not available

The Debian guide for compiling a kernel says: Do not forget to select “Kernel module loader” in “Loadable module support” (it is not selected by default). If not included, your Debian installation ...
0
votes
1answer
32 views

Debian: GPG cannot fetch Linux Kernel key

I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key: # ...
0
votes
0answers
18 views

The Case of the Conflicting Bootloaders

A server with a 2-disk RAID array (mirrored) is serviced by a 4-port 3Ware controller. Recently it became inaccessible after a restart. At the console it asked for the runlevel. Indeed, the /etc ...
2
votes
1answer
37 views

Samba write permission problem

I use Samba to share printers, files, etc. But I have a problem. The place to share not writable. Writable is only user directory. I attach the smb.conf file. smb.conf # # Smb.conf file by PepinCZ ...
0
votes
0answers
28 views

i3 HDMI output sometimes shows black screen after startup

I have the i3 window manager configured to use HDMI-0 as its main output and DVI-0 to use as a secondary screen. The dualscreen configuration is done via an xrandr entry in the i3 config file. ...
2
votes
0answers
16 views

Takeover delay in Heartbeat HA cluster

I have set up a heartbeat HA two node cluster. And both of server have same configuration of ha.cf #cat /etc/ha.cf logfile /var/log/ha-log autojoin none bcast eth1 warntime 20ms deadtime 40ms ...
2
votes
1answer
35 views

Automatized kernel upgrade

I am writing a BASH script that automatically configures, builds and installs the most recent kernel image. The generated kernel should include the grsecurity patchset. It would use the previous ...
1
vote
1answer
32 views

How to discard/TRIM a range in an open file ?

For an SSD, I can open the row device and discard a range of pages using ioctl() with BLKDISCARD command. My question is for an open file, how to discard a range of data? and Is that depends on the ...
1
vote
1answer
29 views

Backup LUKS (cryptsetup Command) partition or volume

Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup ...
2
votes
0answers
51 views

kernel build: why does 'make install' complain about missing modules?

I'm building a 3.2.x kernel on a RedHat Enterpise system. During 'make install' it takes a very long time and is complaining : ERROR: modinfo: could not find module xxx I assume its probing ...
5
votes
1answer
327 views

I changed /etc/sudoers, and now I can't run as sudo

I messed around with the sudoers file without really knowing what I was doing using this link. Assume I did everything that was in the top answer along with editing it with vim and not visudo. How do ...
2
votes
0answers
21 views

CGroup Processes Not Terminated even when main process has been killed through Systemctl stop command

I am running systemctl stop process command for some process. Please find the output for systemctl status process below: Loaded: loaded Active: deactivating (stop-sigterm) CGroup: ...
1
vote
1answer
226 views

No usb 3 Arch linux 3.15.1

Up until my last reboot, I had the ability to use my usb 3 port. I just got the system installed not that long ago, so up until then I'd been configuring and installing drivers, but that was the ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
3
votes
3answers
218 views

Changing user password through GUI app

I was making a GUI application to manage users and groups in Linux! I'm done with the part where it creates a new user, but stuck with the part where it gives the newly created user a new password. ...
0
votes
1answer
56 views

What do these errors mean in sysbench disk test?

I have been running a continuous test of sysbench disk tests on my Linux system that uses compact flash. I am seeing some errors in the output, as shown below. What do these errors mean exactly? Do ...
5
votes
1answer
115 views

Strange kind of “stealth” directory on Linux

I am in a Linux machine and am working with a directory that is aptly named "stealth", because it runs and hides! Take a look at this behavior: bash-3.2$ ls /net bash-3.2$ ls -la /net total 4 ...
3
votes
1answer
78 views

What's the difference between ULOG and NFLog?

Various places suggest to use ULOG or NFLOG instead of LOG for getting dedicated netfilter logging (see for example here or here). From looking at man iptables those two look quite alike. Except that ...
1
vote
1answer
103 views

GNU/Linux: “device mapper: create ioctl failed” “device or resource busy”

I can't mount my encrypted devices anymore. The error is: device mapper: create ioctl failed device or resource busy This error arises both with two different programs to access TrueCrypt ...
3
votes
3answers
48 views

linux interface to get connected IPs

Is there an interface to get the currently connected IPs and their state in Linux? I am aware of ss and netstat, but I want to use /proc/ or some other "official" kernel interface that already has ...
5
votes
1answer
42 views

Can “find” command preserve access-time

I'm running the following command which is supposed to find specific directories according to their Access-Time metadata detail however for some reason the find command changes the access time of ...
0
votes
1answer
50 views

Gnome3-like alternatives [closed]

Since I discovered gnome3-shell I really appreciated the different Dekstop-type to work with, and I'm still using it. But, I'm battery-addict (using a laptop) and I'm feeling poor performances and ...
0
votes
0answers
35 views

DNS server design

Currently my company is deploying SIP phones in different locations from different boroughs. I've been asked to create static DNS records for each of the phones with the following format: ...
1
vote
0answers
38 views

How does an X86 Linux system maintain the system time, when no NTP etc. is in play?

When an x86 Linux system is powered up and running, how does it keep track of software time? E.g. is it incrementing a software counter based on hardware interrupts from the RTC, or is there some ...
8
votes
3answers
315 views

How does make continue compilation?

I know that I can interrupt a make process anytime without having to recompile the entire source tree again. As I know, make only compiles a target if it's not compiled yet, or the source code is ...
2
votes
2answers
56 views

How to do domain filtering in Linux?

Preferably something similar to iptables. Basically, I want to do domain filtering/whitelisting/blacklisting like I would with IPs in iptables. Are there any recommendations on how to do this?