Ask Your Question

vtrefny's profile - activity

2019-04-23 09:50:22 -0600 received badge  Nice Answer (source)
2019-04-02 09:09:40 -0600 edited question F29 5.x Kernels and USB drives

F29 5.x Kernels and USB drives I've got a pc with about 5-6 usb drives attached. Since the 5.x kernels have come out, w

2019-02-10 14:22:39 -0600 commented question What is the best tool to add a GUI to Python code and make a Linux application from it?

Very good tutorial for python + GTK3: https://python-gtk-3-tutorial.readthedocs.io/en/latest/

2018-07-08 01:08:48 -0600 received badge  Nice Answer (source)
2018-07-04 01:48:58 -0600 edited answer Low disk space on filesystem root - Fedora 28

You have only 20 GB for both Fedora and your data and that definitely isn't much. Your data (your /home folder) currentl

2018-07-04 01:47:42 -0600 received badge  Rapid Responder (source)
2018-07-04 01:47:42 -0600 answered a question Low disk space on filesystem root - Fedora 28

You have only 20 GB for both Fedora and your data and that definitely isn't much. Your data (your /home folder) currentl

2018-06-23 11:22:45 -0600 received badge  Good Answer (source)
2018-06-23 09:36:23 -0600 received badge  Nice Answer (source)
2018-06-23 00:00:16 -0600 received badge  Rapid Responder (source)
2018-06-23 00:00:16 -0600 answered a question /tmp folder full? Need LVM help

/tmp is by default mounted in tmpfs so files in /tmp are stored in memory and its default size is half of your RAM. If y

2018-03-21 08:42:35 -0600 edited question A don't understand there is space from lvm root partition

a have: Linux 4.3.3-303.fc23.x8664 #1 SMP Tue Jan 19 18:31:55 UTC 2016 x8664 x8664 x8664 GNU/Linux

# sudo df -Th
Filesystem              Type      Size  Used Avail Use% Mounted on
devtmpfs                devtmpfs  5.9G     0  5.9G   0% /dev
tmpfs                   tmpfs     5.9G  8.0K  5.9G   1% /dev/shm
tmpfs                   tmpfs     5.9G  964K  5.9G   1% /run
tmpfs                   tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
**/dev/mapper/fedora-root xfs        50G   49G  2.0G  97% /**
tmpfs                   tmpfs     5.9G   36K  5.9G   1% /tmp
/dev/sda1               ext4      477M  153M  295M  35% /boot
/dev/mapper/fedora-home xfs        55G  7.9G   47G  15% /home
tmpfs                   tmpfs     1.2G     0  1.2G   0% /run/user/0
//10.10.1.22/Z          cifs       71T   71T  786G  99% /mnt/logger

I dont undestand where is my 50gb of root space

#sudo du -sh *
0       bin
151M    boot
184K    conf
16K     conf.rar
8.0K    dev
22M     etc
7.9G    home
0       lib
0       lib64
0       media
72K     MegaSAS.log
70T     mnt
8.0K    monit
367M    opt
du: cannot access ‘proc/19049/task/19049/fd/3’: No such file or directory
du: cannot access ‘proc/19049/task/19049/fdinfo/3’: No such file or directory
du: cannot access ‘proc/19049/fd/3’: No such file or directory
du: cannot access ‘proc/19049/fdinfo/3’: No such file or directory
0       proc
1.3G    root
964K    run
0       sbin
0       srv
1.4M    stalker_db.sql
0       sys
36K     tmp
5.6G    usr
6.6G    var



# sudo du -h -x --max-depth=1 /

22M     /etc
1.3G    /root
6.6G    /var
5.6G    /usr
0       /media
0       /mnt
373M    /opt
0       /srv
184K    /conf
14G     /

I can't undertasand where is 36G of root partition may someone to help me find the lost space thank you

2018-03-16 09:29:24 -0600 answered a question how to use c++ gtk+ in fedora ?

The warning says everything you need -- you are using a deprecated function, you should use gtk_box_new instead. See Gtk documentation for more details: https://developer.gnome.org/gtk3/stab...

And it's just a warning so you can ignore it (but it won't work in future versions of Gtk).

2018-03-08 16:40:01 -0600 commented answer What license does Fedora uses?

The licence is a joke, but is is still valid opensource licence and some projects use it. And the website doesn't claim that Fedora is under WTFPL, it says:

Every major Linux distribution (Debian, Fedora, Arch, Gentoo, etc.) ships software licensed under the WTFPL,

so it just says that there are some packages under WTFPL in Fedora repo and that is true -- we have for example libcaca in our repos and it is licenced under WTFPL.

2018-03-08 13:10:27 -0600 received badge  Good Answer (source)
2018-03-08 12:46:33 -0600 received badge  Great Answer (source)
2018-03-08 12:46:33 -0600 received badge  Guru (source)
2018-03-08 12:26:23 -0600 received badge  Nice Answer (source)
2018-03-08 07:22:55 -0600 commented question I can't install any extensions.

Does it say something more than just "error"? Some error message would be really useful.

2018-03-08 07:21:11 -0600 answered a question What license does Fedora uses?

Software in Fedora is available under various open source licences, probably mostly under GNU GPL.

More information about licences allowed by Fedora can be found here -- https://fedoraproject.org/wiki/Licens...

There probably is some software under WTFPL in Fedora repositories, but Fedora itself is not.

2018-03-07 13:32:06 -0600 answered a question can't find bluetooth/bluetooth.h

The package is called bluez-libs-devel in Fedora.

(Btw. Fedora 21 is unsupported since 2015, you should really upgrade to newer version.)

2018-01-26 14:04:18 -0600 received badge  Nice Answer (source)
2017-12-31 03:28:34 -0600 received badge  Good Answer (source)
2017-12-29 14:10:14 -0600 received badge  Nice Answer (source)
2017-12-29 03:23:14 -0600 answered a question Where is wireshark?

"wireshark" package doesn't contain the GUI, you need to install wireshark-gtk or wireshark-qt if you want an application to run.

2017-10-06 02:14:12 -0600 answered a question Install with /boot in LVM

Anaconda (Fedora installer) currently doesn't support installing with /boot on LVM. You have to create a separate partition for it.

There are some (old) RFEs in bugzilla asking to support this: Anaconda, LVM

2017-08-19 02:32:34 -0600 edited question cups: I can not share printers

Hi All,

 # rpm -qa cups\*
cups-lpd-2.2.2-6.fc26.x86_64
cups-filters-1.13.4-3.fc26.x86_64
cups-filesystem-2.2.2-6.fc26.noarch
cups-2.2.2-6.fc26.x86_64
cups-pdf-2.6.1-12.fc26.x86_64
cups-pk-helper-0.2.6-2.fc26.x86_64
cups-libs-2.2.2-6.fc26.x86_64
cups-filters-libs-1.13.4-3.fc26.x86_64
cups-client-2.2.2-6.fc26.x86_64

 # grep -i share /etc/cups/printers.conf
Shared Yes
Shared Yes
Shared Yes
Shared Yes
Shared Yes

I am replacing a Centos5 server with a Fedora 26 server. i have cups configured for all the printers and they all have printed test pages. All of are set to "shared".

problem: all my clients are XP and none can attach to any of the shared cups printers, neither with lpr or TCP/IP. (They are all XP, so no tests from W7.)

And cups-lpd won't start do to an SELinux error:

 #  systemctl start cups-lpd.socket
● cups-lpd.socket - CUPS LPD Server Socket
   Loaded: loaded (/usr/lib/systemd/system/cups-lpd.socket; enabled; vendor preset: disabled)
   Active: failed (Result: resources)
   Listen: [::]:515 (Stream)
 Accepted: 0; Connected: 0

Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Unit entered failed state.
Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied
Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.

SELinux is preventing systemd from setopt access on the tcp_socket port None. allow this access for now by executing:

 # ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -X 300 -i my-systemd.pp

And the suggested action does not work.

What am I doing wrong?

Many thanks, -T

2017-08-19 02:29:05 -0600 answered a question sudo dolphin: "Executing Dolphin as root is not possible."

This is actually a new "feature" of Dolphin. The check his hard coded in Dolphin source -- https://cgit.kde.org/dolphin.git/comm... -- and it is not possible to change it (without recompiling Dolphin).

Martin Gräßlin's blog explaining this change -- https://blog.martin-graesslin.com/blo... (for Kate, but Dolphin change is result of this).

If you want to run file as root I suggest Midnight Commander.

2017-08-15 09:30:26 -0600 received badge  Good Answer (source)
2017-08-15 09:13:10 -0600 received badge  Nice Answer (source)
2017-08-15 00:15:20 -0600 answered a question Fedora Server Install - This is really bizzare

Fedora uses LVM as default "partitioning" method -- https://docs.fedoraproject.org/en-US/Fedora/14/html/StorageAdministrationGuide/ch-lvm.html

You have one 118 GB LVM Physical Volume that has three "children" (Logical Volumes) -- 4 GB swap, 15 GB root ("/") and ~100 GB /home. You don't see these in GParted becase GParted doesn't support LVM.

Fedora Server edition also uses XFS as default filesystem, EXT4 is used for Workstation.

2017-07-20 13:00:52 -0600 received badge  Good Answer (source)
2017-06-20 14:09:53 -0600 received badge  Nice Answer (source)
2017-06-20 07:04:34 -0600 answered a question dnf install without downloading metadata

You are looking for the -C or --cacheonly parameter:

-C, --cacheonly
              Run entirely from system cache, don't update the cache and use it even in case it is expired.
2017-06-13 02:28:34 -0600 answered a question Where can older Fedora Versions be found ?

Here: https://archives.fedoraproject.org/pu...

Just don't forget this is a 12 years old version and its support ended in 2006.

2017-05-30 18:08:40 -0600 received badge  Nice Answer (source)
2017-05-30 02:57:53 -0600 answered a question blivet-gui option to shrink LUKS partition grayed-out

Hi, thank you for finding this, it is a bug, I've released a new version fixing this -- https://bodhi.fedoraproject.org/updat...

2017-05-14 11:03:16 -0600 commented answer startup script to mount share in fedora 25

You can add it to the fstab with noauto option so the device is skipped during boot, but you can mount it later just by using mount "mountpoint" and if you add option users all users can mount it, so it should work as a autostart script.

2017-04-23 01:18:04 -0600 answered a question How to install python gst module in Fedora 25?

Package is called gstreamer-python

2017-04-10 09:21:42 -0600 answered a question Login issue in generated ISO file using spin-kickstarts workstation of fedora 25

Check the kickstart file for the LiveCD -- it has configuration for autologin of the liveuser -- https://pagure.io/fedora-kickstarts/b...

2017-04-02 00:25:42 -0600 answered a question Can't automount NTFS drive in Fedora 25

Are there any information in journal (after booting with the fstab line uncommented)? Some error message could be helpful.

Try to uncomment the line and run mount /mnt/Data -- doesthis workor does it show an error?

Try to disable the fs check when mounting (change the 0 2 to 0 0 in fstab).

Try to run sudo fsck /dev/sdb2 to check the fs for errors that might be preventing the mount.

2017-03-02 20:56:34 -0600 received badge  Great Answer (source)
2017-03-02 20:56:34 -0600 received badge  Guru (source)
2017-03-02 20:55:59 -0600 received badge  Good Answer (source)
2017-02-14 08:45:29 -0600 received badge  Nice Answer (source)
2017-02-13 16:06:14 -0600 received badge  Good Answer (source)