Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fedora]

Fedora is a Linux distribution with a fast release cycle, maintained by a community and sponsored by Red Hat.

78
votes
3answers
222k 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 ...
32
votes
1answer
13k 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 ...
5
votes
2answers
2k views

How umask works [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 ...
36
votes
3answers
106k views

How to make Fedora user a sudoer?

I want to give a Fedora user sudo privileges. How do I do that?
12
votes
2answers
12k 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 ...
41
votes
8answers
72k 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?
3
votes
1answer
2k 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 ...
12
votes
7answers
6k 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 ...
7
votes
1answer
127 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
9answers
10k 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 (...
4
votes
2answers
391 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 ...
27
votes
4answers
80k 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-...
21
votes
6answers
79k 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 ...
20
votes
3answers
12k 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/...
31
votes
6answers
78k 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 ...
12
votes
4answers
4k 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)
10
votes
1answer
8k 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
5answers
22k 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
3answers
3k 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
1answer
3k 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: '...
3
votes
1answer
2k views

Fedora VM: how to reset forgotten root password?

I have an Oracle VirtualBox VM, with FedoraClient 21 64-bit installed. I cannot remember the root password. As soon as I start up Fedora, I see two options of Fedora: "Client" and "Rescue". Both all ...
3
votes
1answer
434 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-...
46
votes
6answers
23k 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 ...
18
votes
3answers
17k 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 ...
9
votes
4answers
22k 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
2answers
68k 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. ...
17
votes
3answers
8k 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.
9
votes
3answers
14k 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 unusable ...
13
votes
1answer
2k 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 ...
9
votes
3answers
24k 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 ...
8
votes
3answers
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 ...
7
votes
5answers
12k views

How to determine which module taints the kernel?

My kernel keeps panicking when connected to a certain wireless network. I'd like to send a bug report but my kernel is apparently tainted. From /var/log/messages: Apr 17 21:28:22 Eiger kernel: [...
18
votes
3answers
5k 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 ...
3
votes
2answers
3k views

Update yum offline

I've been looking around for a way to update an offline fedora box but haven't found anything. I only have a Windows computer connected to the Internet. I noticed that my yum config is pointed to http:...
2
votes
1answer
2k views

How do I restore default owner of files in /var/ directory? [duplicate]

Accidentally in /var/ directory I ran chown root . -R;chgrp root . -R. Now services like mysql don't start. Is there a way to restore default owner and groups? If there is no way, what is the default ...
2
votes
3answers
13k views

Fedora 18 No Wireless

Just installed Fedora 18 and I can't get the wireless to work. What do I have and what have I done? I have a Broadcom BCM4312 which is supported by the broadcom-wl driver. (link) lspci | grep ...
5
votes
1answer
3k views

How to install Linux distro to a second hdd from within a running Linux Desktop Environment?

The title says it all! 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 ...
4
votes
3answers
6k views

How to whitelist a url/site in privoxy?

I'm using Fedora 14 with privoxy-3.0.16-3.fc14.i686! These sites are blocked by Privoxy: http://somewhere.com/user/11111/track?page=1 http://www.somewhere2.org/popup.asp?pid=114645006&pnr=10001&...
4
votes
2answers
2k views

View all user's printing jobs from the command line

I'm running Fedora 17, Gnome (3?), and using bash from terminal. Whenever I run lpstat I only get a list of my jobs, but every time I go to retrieve my jobs from the printer, somebody else is ...
3
votes
2answers
5k views

tcpdump : lost packets

Running, either in promiscuous mode or not : tcpdump -i "$INTERFACE" -vvv -n -XX -S -s0 -e I got a bunch of lines and this conclusion when I stopped it : 601 packets captured 938 packets received ...
3
votes
1answer
10k views

Getting “cpio: Bad magic” when trying to rpm install into a mounted Logical Volume

I am trying to follow the Xen guide to provision a domU using package installation of the Fedora 15 release (the dom0 is CentOS 5.6). I've run the rpm install command with an alternate root to a ...
3
votes
1answer
4k views

Multiple SSH chaining (tsocks, socksify, proxycommand, etc. )

http://i.stack.imgur.com/YTOvt.png Goal: you need to reach "Server B" from the Client "directly" with SSH, SCP. "Server B" is next to "Server A". E.g.: they're on the same subnet, but only "Server A"...
9
votes
3answers
3k views

Fedora 25 and disabling whatever is listening on port 111

I've got a Fedora 25 x86_64 stand alone workstation. Something is listening on port 111 (identified with an nmap scan): $ sudo lsof -i :111 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ...
6
votes
1answer
350 views

equivalent to Ubuntu's apport-bug in Fedora or Mint?

What is the Fedora equivalent to the Ubuntu command apport-bug to submit bug reports? In Ubuntu, one can use: apport-bug <package-name> For example: apport-bug xorg To submit bug reports ...
4
votes
2answers
1k views

Installed Fedora in dual boot Windows desktop. Now I can't get full monitor resolution with my AMD Radeon HD 6450

I have a 1900x1080 resolution monitor, and after installing Fedora to create a dual boot machine, the maximum resolution Fedora 14 (previously only Windows 7 was installed) can achieve is 1280x1024. ...
4
votes
2answers
1k views

Syntax error unexpected end of file [closed]

I have written a shell script which allows me to create a user and assign them to a group but I keep getting the error line 19: syntax error: unexpected end to file What am I doing wrong? Would it ...
4
votes
1answer
1k views

Can't set extended attributes on ext4 on fedora 22 - operation not supported

I am trying to get extended attributes working on Fedora 22. I can't seem to be able to set the attributes even on my files, but I can read them. Here's how it looks: [jarek@localhost ~]$ cd /tmp/ [...
3
votes
1answer
308 views

What does “org.gnome.Shell.desktop[1711]: ” mean in the systemd journal?

$ journalctl -b ... Mar 23 18:18:50 alan-laptop pkexec[31408]: pam_unix(polkit-1:session): session opened for user root by (uid=1001) Mar 23 18:19:47 alan-laptop org.gnome.Shell.desktop[1711]: ...
3
votes
2answers
5k views

Asus USB N10 wireless adapter works on Ubuntu but not Fedora

I could make it work in Ubuntu, due to this answer. But the same approach shows no result in Fedora 15 (64 bits). The device is an Asus USB N10 (wireless-usb converter): Bus 001 Device 003: ID 0b05:...
3
votes
1answer
2k views

Fedora won't boot. The startup progress bar goes all the way to the right and then everything just freezes

What could the problem be? How do I find out what's going on? EDIT: Hitting f2 when the progress bar is going across the screen shows that booting stops at "Starting atd: [OK]". After it reaches that ...