Questions tagged [fedora]
Fedora is a Linux distribution with a fast release cycle, maintained by a community and sponsored by Red Hat.
321
questions
109
votes
4
answers
401k
views
How can I make a script in /etc/init.d start at boot?
I think I read something a while back about this, but I can't remember how it's done. Essentially, I have a service in /etc/init.d which I'd like to start automatically at boot time. I remember it ...
130
votes
2
answers
126k
views
What is this folder /run/user/1000?
What is this folder: /run/user/1000 on my Fedora system and what does it do?
~ $ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.2G 20K 1.2G 1% /run/user/1000
EDIT: 7 ...
73
votes
1
answer
27k
views
Why doesn't my systemd user unit start at boot?
I'm trying to create a systemd user unit and have it start when the system boots. The service does start manually, however it does not start at boot.
From searching the Internet I learned that in ...
59
votes
11
answers
199k
views
Equivalent of update-grub for RHEL/Fedora/CentOS systems?
In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the grub configuration file.
Is there any ...
8
votes
2
answers
5k
views
Why doesn't umask set the execute bit? [duplicate]
I'm new to Linux. I have been practicing a few commands. My question is about when I'm creating different files using a different umask. For example:
umask 222, as I understand it, is the same as 777 ...
63
votes
9
answers
37k
views
Who's consuming my inotify resources?
After a recent upgrade to Fedora 15, I'm finding that a number of tools are failing with errors along the lines of:
tail: inotify resources exhausted
tail: inotify cannot be used, reverting to ...
37
votes
5
answers
143k
views
yum installs kernel-devel different from my kernel version
I am attempting to install the VMWare player in Fedora 19. I am running into the problem that multiple users have had where VMware player cannot find the kernel headers. I have installed the kernel-...
47
votes
10
answers
91k
views
How can I remove Orphan Packages in Fedora?
I just switched from Ubuntu to Fedora14. In Ubuntu we had the apt-get autoremove thing to remove orphan/unused packages. What is the counterpart in Fedora?
44
votes
3
answers
117k
views
How to make Fedora user a sudoer?
I want to give a Fedora user sudo privileges. How do I do that?
23
votes
6
answers
93k
views
How can I change the default "ens33" network device to old "eth0" on Fedora 19?
I've just installed a Fedora 19 on VMware workstation 9.
The default network device is "ens33" instead of "eth0" on RHEL.
The reason I have to use "eth0" is that the license component of one of our ...
25
votes
2
answers
27k
views
service vs. systemctl scripts -- which to use
In Fedora we have 'systemctl' and 'service' scripts. It seems that service internally calls systemctl. So what is the correct/right way on Fedora to start or stop services -- via systemctl or service ...
14
votes
2
answers
6k
views
How do I look at the source code for a command? [closed]
I suddenly decided I'd like to look at the source code for 'echo'
$ which echo
/usr/bin/echo
so
$ ls -al /usr/bin/echo
-rwxr-xr-x. 1 root root 32536 Oct 31 2016 /usr/bin/echo
so
$strings /usr/...
19
votes
7
answers
10k
views
How to replicate installed package selection from one Fedora instance to another?
I have a Fedora system (A) where I have installed some packages over the time. Now I want to install Fedora on another computer (B) and I want to install the same packages on it.
In Debian terms I ...
20
votes
2
answers
22k
views
ulimit PICKLE: "Operation not permitted" and "Command not found"
I'm trying to increase the maximum number of open files for the current user
> ulimit -n
1024
I attempt to increase and fail as follows
> ulimit -n 4096
bash: ulimit: open files: cannot ...
8
votes
11
answers
50k
views
File /etc/resolv.conf deleted on every reboot, why or what?
I am having an issue where DHCP (I though as I read in other similar topics) is clearing the /etc/resolv.conf file on each boot. I am not sure about how to deal with this since the post I have found (...
7
votes
3
answers
4k
views
How to disable Internal Keyboard on Fedora 26 (Wayland)?
I installed Fedora 26 and noticed that the Internal keyboard is behaving a bit weird. Keys are getting pressed all the time.
I use an external keyboard, so I can do without the built-in one.
P.S : ...
3
votes
1
answer
4k
views
Getting capabilities of my CD/DVD drive when wodim --devices doesn't work
I used to be able to run either commands successfully on my Fedora 14 Thinkpad T410 laptop:
$ wodim --scanbus
$ wodim --devices
However since upgrading to Fedora 19 this no longer seems to work and ...
7
votes
1
answer
212
views
bash 4.3 "multiple dot" commands fails silently on Fedora
I just noted this on bash 4.3; exact version number is 4.3.42(1)-release (x86-redhat-linux-gnu).
$ ..
$ ...
$ ....
$ .....
Why do the "command not found" is not prompted ?
$ ...
$ echo $?
$ 127
...
5
votes
1
answer
2k
views
journalctl shows very old boots which are not recycled
The system has very old boots (2 and 3 years old), which are not recycled and I haven't been able to vacuum them:
$ journalctl --list-boots --no-pager
-16 53baf678f0d749d6b390afea4a3ef96b Wed 2014-04-...
4
votes
2
answers
624
views
Prompt for sudo password rather than give access error
Can I configure Fedora 22 so anything needing root privileges asks for a password, rather than giving an error, and needing me to re-run with sudo? I wouldn't even mind having to type my password ...
20
votes
3
answers
13k
views
Flash plugin up to date but Firefox keeps telling me that I have the old version
According to my browser (Firefox 34.0) the installed version of the Shockwave Flash plugin appears to be 11.2.202.424. This version is considered to be insecure:
https://helpx.adobe.com/security/...
18
votes
2
answers
34k
views
Change default port for PulseAudio (line out, not headphones)
When I boot, PulseAudio defaults to sending output to Headphones. I'd like it to default to sending output to Line Out. How do I do that?
I can manually change where the output is current sent as ...
15
votes
4
answers
7k
views
dnf equivalent of "yum update --security"
yum update --security installs only security updates. I think it's an extension from the yum-security plugin.
Is there an equivalent dnf command? (dnf replaced yum in Fedora 22)
13
votes
1
answer
10k
views
How can I trigger the screensaver's locking feature using D-BUS from the command line?
How can I trigger the screen saver manually from the command line? I'm using GNOME 3.8.4 on Fedora 19, but the solution should not necessarily be specific to this distro.
6
votes
5
answers
27k
views
Fedora won't boot after installing Nvidia drivers
I followed this tutorial about Nvidia drivers installation and I accidentally forget to do 5th point (disabling nouveau drivers), so now I can't boot my system. I know I am idiot but is there anything ...
7
votes
4
answers
4k
views
What is the Fedora equivalent to the Debian/Ubuntu package search pages?
The Debian/Ubuntu package search pages are very useful to look up what version of a program is available in what distribution series, how programs are split along multiple packages etc.
For example I ...
4
votes
1
answer
4k
views
Fedora's command-not-found doesn't work
I've recently installed Fedora 19. Packagekit-command-not-found is installed. But its own examples don't work. When I enter gedti the output is:
bash: gedti: command not found... Similar command is: '...
9
votes
2
answers
3k
views
Linux console Shift + PgUp not working anymore
I run Fedora 24 and sometimes use a virtual console.(I use Ctrl+Alt+F3 to switch to the virtual console, so it's not a terminal in X).In the past I could use Shift+PgUp or Shift+PgDown to scroll but ...
26
votes
4
answers
8k
views
Why a long delay after command not found?
Often when I mistype a command such as ls (e.g. I hit ENTER before I type 's') there is a long (~2s) delay after the terminal displays:
bash: l: command not found...
I can understand the reasons for ...
5
votes
0
answers
10k
views
Fedora not detecting my Hard Drive when installing (Fedora 27) [closed]
I am trying to install Fedora as my primary OS (Completely get rid of Windows), here are the steps I have done:
Put the ISO on to my 128GB USB.
Booted into the USB and clicked Install to Hard Drive
I ...
63
votes
7
answers
55k
views
Fedora 23 -- Can I safely delete files in /var/cache/PackageKit/metadata/updates/packages?
I noticed that the folder referenced in the subject line is taking up 1.5 GB. Can I run the below to clear it without causing permanent damage to my system?
rm -rf /var/cache/PackageKit/metadata/...
16
votes
2
answers
17k
views
Dual Boot Bluetooth LE (low energy) device pairing
I'm trying to pair two bluetooth devices, a mouse and a keyboard on fedora 26. I also have Windows 10 installed. What I did was: pair them on linux then on Windows, but when I tried to insert the key ...
31
votes
7
answers
30k
views
Pairing Bose QC 35 over Bluetooth on Fedora
I am running Fedora 24 with Gnome Shell. I try to pair my new Bose QuietComfort 35 over Bluetooth.
I started using the Gnome interface. Unfortunately, the connection seems not to hold. It appears as ...
24
votes
3
answers
30k
views
Where does Chrome gets its list of certificate authorities from?
On Fedora, I'm talking about the list displayed when you go to settings > manage certificates > authorities tab.
I've read that it should be in the NSS shared DB, but this command returns an empty ...
19
votes
3
answers
23k
views
Reinstalling packages with missing/corrupt files
Following an unclean shutdown and a colourful fsck, a whole bunch of files have gone missing. The output of 'rpm -Va' is several hundred lines long (mostly missing files but also some checksum and ...
14
votes
3
answers
35k
views
How to add more /dev/loop* devices on Fedora 19
How to add more /dev/loop* devices on Fedora 19? I do:
# uname -r
3.11.2-201.fc19.x86_64
# lsmod |grep loop
# ls /dev/loop*
/dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 /...
9
votes
2
answers
36k
views
SELinux httpd write access to a directory
I am new to SELinux. came from debian. I want to give httpd access to a directory.
SELinux Alert Browser suggests:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp ...
14
votes
4
answers
31k
views
What is the prefered way of updating all software in a Fedora installation?
When I install some system, I usually look for a bulk update method, one that will update my recently-installed software.
For example, in Debian, that would be changing the sources.list to point to ...
35
votes
2
answers
69k
views
How to permanently change hostname in Fedora 21
I've heard that changing the hostname in new versions of fedora is done with the hostnamectl command. In addition, I recently (and successfully) changed my hostname on Arch Linux with this method. ...
24
votes
4
answers
14k
views
Is there a way to install and remove packages in a single yum command?
Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.
8
votes
4
answers
70k
views
Enable remote desktop for Gnome from command line?
I am trying to set up some automation scripts to set up a Linux environment. I would like to enable remote desktop sharing without the user having to actually use the GUI to do so. My plan is to write ...
21
votes
3
answers
33k
views
How to disable useless "audit success" log entries in dmesg
Short version: How to disable audit messages (dmesg) on a Fedora system?
A Fedora system keeps logging "audit: success" messages in dmesg - in such an extreme way that dmesg has become ...
15
votes
1
answer
3k
views
Can I restrict a user to use special programs?
Is it possible to add a user and restrict him to run special programs?
For example after this user logs in, he can only open Firefox to use Internet and no other programs can be run by this user.
For ...
10
votes
3
answers
30k
views
How to run 32 bit programs on 64 bit Fedora 17?
Although the Android Development Tools (ADT) bundle is available as a zip package for 'Linux 64 Bit' it states following requirements:
64-bit distributions must be capable of running 32-bit ...
36
votes
3
answers
21k
views
finding systemd unit 'owning' a running daemon process
To debug a JACK/Pulseaudio issue, I want to understand when and why the pulseaudio daemon is started by systemd (on Fedora).
Using:
$ ps -o'pid,ppid,args' `pgrep pulse`
I see that the pulseaudio ...
16
votes
1
answer
8k
views
What is the purpose of /usr/lib/.build-id/ dir?
After a fresh inst of f27 (netinstall) I noticed that many pkgs place tiny files in /usr/lib/.build-id/ dir. At 1st I thought I somehow had enabled some obscure "debug" mode for dnf, but even
$ dnf ...
12
votes
4
answers
15k
views
Low sound volume on Lenovo laptop under Fedora
I'm having trouble hearing anything at all under Fedora 16 on this Lenovo T520. Everything in alsamixer is at 100% (both pulseaudio and card). I installed Windows 7 on the laptop to check if the same ...
8
votes
3
answers
13k
views
Fedora 25 is NOT using wayland by default!
For some reason my Fedora 25 FRESH install is not using wayland by default. I know this because of
$: loginctl show-session 3 -p Type
Type=x11
If I was using Wayland by default that should say ...
8
votes
1
answer
7k
views
How to install Linux distro to a second hdd from within a running Linux Desktop Environment?
More specifically, I am running Fedora18 on my main HDD. I have a second HDD in the "UltraBay" slot of my ThinkPad W520--eSata connection.
Is there a possibility to avoid creating a LiveCD/USB, ...
7
votes
4
answers
28k
views
Unrar multiple parts
I need to unrar a file consisting of multiple parts.
The folder structure looks like this:
file.part01.rar
file.part02.rar
file.part03.rar
I've installed p7zip. When I try:
7z e file.part01.rar
I ...