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

5
votes
0answers
325 views

Is there a tool(!) to list assigned subuid and subgid values for users?

The question is basically in the title. usermod -v (--add-sub-uids) and usermod -w (--add-sub-gids) can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be ...
4
votes
0answers
38 views

Migrate an unprivileged LXC container between users

I have an Ubuntu 14.04 server installation which acts as an LXC host. It has two users: user1 and user2. user1 owns an unprivileged LXC container, which uses a directory (inside ...
4
votes
0answers
171 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
4
votes
0answers
38 views

Can I limit total cputime used by a cgroup?

Although cgroups seemingly allow to control the CFS bandwidth of a cgroup, I don't see a way of enforcing a cpu time limit on a cgroup. The use case is that I would like to catch student programs that ...
4
votes
0answers
2k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
4
votes
0answers
505 views

How to set up an encrypted directory to be mounted only during samba access?

(This is not about restricting client access, for which ext3 permissions do the trick) I'd like to encrypt the data on my NAS drive (Buffalo LinkStation Pro with SSH access enabled, if that matters) ...
4
votes
0answers
194 views

Socksifying a qemu-kvm using tsocks

I'm trying to socksify a qemu-kvm using tsocks, but I have no success. I don't know if qemu access directly the hardware, skipping the OS or something like that, but I wasn't able to do this feat. ...
4
votes
0answers
383 views

Setting Framebuffer splash resolution when exiting X

I installed a copy of BackTrack 5 R2 (Ubuntu 10.04) to my HDD and dual-booted with Windows 7. After a bit of tweaking I set about updating the native Intel drivers because it was only allowing me to ...
4
votes
0answers
871 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
4
votes
0answers
217 views

fsarchiver error

I'm running the following fsarchiver command: $ fsarchiver restfs /tmp/backup/c0d0p2.fsa id=0,dest=/dev/cciss/c0d0p2 I get the following error: [errno=22, Invalid argument]: ...
3
votes
0answers
24 views

high precision subsecond cronjob replacement

I am looking for a cron replacement which could run subsecond schedule, is there have any "still alive" project which serve this purpose? Currently running Ubuntu 14
3
votes
0answers
40 views

Bad/strange USB device issue: failed to shutdown/restart

On a fresh Arch Linux installation with Intel i7 processor and an Nvidia graphics card, I noticed during boot log messages related to a usb device filled the screen before it reached the graphical ...
3
votes
0answers
34 views

Disable buffering in a VM configuration

I am executing some benchmark using a DBMS and virtual machines. And I am using this command free && sync && echo 3 > /proc/sys/vm/drop_caches && free on each Guest, and ...
3
votes
0answers
64 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
3
votes
0answers
43 views

Does Linux provide Predictive Self-Healing on x86?

Predictive Self Healing is a feature of the OS to predict, detect a fault with one of its components and automatically repair it. MINIX, Solaris OS and Linux on POWER all have this. But is it ...
3
votes
0answers
55 views

How do I temporarily extract a flash drive or HDD in Linux?

Suppose I mounted a disk in this way: mount /dev/sdb /mnt/tmp I have some files opened on this filesystem and don't want to unmount it. However I want to temporarily extract the device, then ...
3
votes
0answers
371 views

Kali Linux USB Live Boot Not Working

I downloaded the Kali Linux ISO 64-bit off of this page: http://www.kali.org/downloads Then, I used the Kali Linux Live USB Install Procedure on this page for Windows. I boot my computer from my ...
3
votes
0answers
49 views

Disable USB drive from sleeping

I am loading fedora20 directly from a SATA drive connected via USB. The problem is that I will be working and all of a sudden the drive seems to have been put to sleep and nothing will work except ...
3
votes
0answers
60 views

Can inotify be used to watch for a specific file to be created without monitoring the entire directory?

I want to be notified when a specific filename is created. I'm looking at inotify. The IN_CREATE flag is available for monitoring a directory for any changes within it, but I'd prefer not to monitor ...
3
votes
0answers
88 views

How to get gnome to run /etc/gdm/PostSession/Default when using XRDP w/ VNC

I use Microsoft's Remote Desktop Client (mstsc.exe) to connect to a linux server with GNOME as my desktop. I've set up /etc/gdm/PostSession/Default to execute some steps on cleanup - which works when ...
3
votes
0answers
36 views

How Does X build its modelist?

I have an embedded board running Linux 3.0.35 and X.Org 1.14.4. I'm modifying an existing framebuffer driver to support a new connector type. I'm reading the EDID, creating a new modelist using the ...
3
votes
0answers
97 views

Why are block sizes limited by page size in Linux?

In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...
3
votes
0answers
53 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
3
votes
0answers
47 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
3
votes
0answers
87 views

Why is my swap not being activated automatically via fstab?

I've got a Linux embedded system that I'm experimenting with (the Elektor Embedded Linux Made Easy board, based on the GNUBLIN http://en.gnublin.org/index.php/GNUBLIN-Elektor). I'm using the 3.3 ...
3
votes
0answers
47 views

Is Watchdog can be disabled if once it is enabled?

I created a watchdog daemon application with time interval of 30 seconds; for every 5 seconds, I am trying to hit the watchdog counter, and it's working fine. If I kill this daemon process it shows ...
3
votes
0answers
70 views

Output shutdown messages to multiple consoles

I have configured my system to direct console output on boot to serial and vga using kernel parameters. Serial is the last argument in the kernel parameters and will be the default used for ...
3
votes
0answers
79 views

Where is the input method configuration file?

My ibus input method was broken after an update. So I switched to fcitx. Actually, there are a handful IMs installed in my Fedora19 system, e.g. fcitx, ibus, yong, etc. However, I don't know how to ...
3
votes
0answers
146 views

What are the differences between rdesktop and xfreerdp?

rdesktop and xfreerdp are both linux clients for RDP. However from their respective websites it is not clear what advantages/drawbacks of using one over other are there. I found one post, which ...
3
votes
0answers
312 views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different MAC addresses all linked to the same physical interface. I see that they can successfully arp for the gateway (gw) and they can ping (the request is ...
3
votes
0answers
98 views

Host system keyboard layout changes when starting LXC container

I successfully created an archlinux container on an archlinux host with lxc. However, whenever I start a container via lxc-start -n GUESTNAME the keyboard layout changes to the default ...
3
votes
0answers
51 views

Merge partitions

Due to some unfortunate partitioning I ended up with the following layout: /dev/sda1 (0-120MB) 128MB (boot) /dev/sda2 (128MB-500GB) 500GB (empty) /dev/sda3 (500GB-1TB) 500GB (zfs) ...
3
votes
0answers
331 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
3
votes
0answers
55 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
3
votes
0answers
3k views

Installing Elementary Isis beta

How can I install Elementary OS Isis Beta? I tried to made a bootable stick using the latest iso builds but for some reason I cannot login. Having elementary OS installed on my machine, how can I ...
3
votes
0answers
94 views

Linux distros wont boot

I haven't been able to find an answer to this problem anywhere so im posting it here. So I'm trying to put a couple Linux distros on a laptop, using xboot and a USB drive, and when the computer ...
3
votes
0answers
153 views

linux io stack analysis

I'm trying to understand the Linux IO stack by analyzing blktrace trace. Below is the trace i captured by executing simple fio sequential write with no Direct IO (5 x 8k request size). 8,16 1 ...
3
votes
0answers
178 views

LXC with both GUI apps and snapshots on unmodified Fedora kernel

I am looking for a tool or library to run LXC that supports: running X applications conveniently snapshotting root filesystems (using a Fedora system with an unmodified kernel), so that I don't have ...
3
votes
0answers
288 views

Corosync/Pacemaker cluster loss of synchronization

I'm facing a problem with the corosync and pacemaker cluster software. I've two virtual nodes (Scientific Linux 6.4) and corosync/pacemaker installed on them: corosync-1.4.1-17.el6.x86_64 ...
3
votes
0answers
131 views

What is the difference between the output of TOP command and Oprofile?

In the top command one of the processes is always showing a CPU usage of 4 to 5%. But in oprofile the CPU usage is 0.004%. I do not understand this. And I also noticed that even when a process is in ...
3
votes
0answers
293 views

What happens if I delete dmraid?

I am new to Linux and am trying to install Ubuntu 12.04.3 LTS from a live-USB and have it run alongside my Windows 7 installation. On the installation screen for Ubuntu, at the partition page, I get ...
3
votes
0answers
33 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
3
votes
0answers
149 views

GNU/Linux swapping blocks system

I have used GNU/Linux on systems from 4 MB RAM to 512 GB RAM. When they start swapping, most of the time you can still log in and kill off the offending process - you just have to be 100-1000 times ...
3
votes
0answers
845 views

Excessively high memory usage reported (3 GB) after reboot

Brief problem description: A 64-bit Gentoo on Intel Core-2 Q6600 reports about 3GB used out of 8GB total memory after reboot. This memory is neither claimed by any process, nor is it used by ...
3
votes
0answers
231 views

Scrolling with a WACOM tablet pen

I've got a wacom pen with a button. How can I trigger scrolling when moving the pen with the button pressed? According to xev, below, the triggering events are MotionNotify with state 0x200. If this ...
3
votes
0answers
671 views

Tune write disk cache flushing algorithm

I would like to use the free memory for write cache. Linux does that automatically, but it has some weird flushing algorithm that I would like tuned for my use. I have recently used ddrescue to copy ...
3
votes
0answers
509 views

How to migrate existing linux system to LVM partitioning

I want to migrate my system to LVM. My current setup is the following: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = ...
3
votes
0answers
143 views

What does hierarchy support do in cgroup?

cgroup has 2 options for memory control: memory.use_hierarchy = 1 : use hierarchy memory.use_hierarchy = 0 : use flat hierarchy, according to this answer What is the difference between the two? I ...
3
votes
0answers
202 views

How to set CONFIG_PREEMPT_NONE in RHEL 6.4 (linux)

I am trying to tune the RHEL6.4 Kernel to handle server style load for of my application. With RHEL 6 scheduler has been changed to CFS and with RHEL 5 my application works fine. I would like change ...
3
votes
0answers
64 views

Is there a tool for seeing audit events as they happen without writing them to the disk?

Linux has an audit system that is usually used together with auditd, a daemon that, as far as I know, is designed for logging all events to the disk. However, I would like a way to directly get the ...