Bug 1251693 - etc file f22-kde-theme.sh file is hardlinked
etc file f22-kde-theme.sh file is hardlinked
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: f22-kde-theme (Show other bugs)
22
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-08 16:36 EDT by Martin B.
Modified: 2015-08-08 16:51 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-08 16:51:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed fix of specfile (764 bytes, patch)
2015-08-08 16:41 EDT, Martin B.
no flags Details | Diff

  None (edit)
Description Martin B. 2015-08-08 16:36:12 EDT
Description of problem
======================

Package f22-kde-theme contains file which is hardlinked into 2 places within
/etc. I'm not sure whether hardlinking in /etc is considered a good practice.

Version-Release number of selected component
============================================

f22-kde-theme-22.3-4.fc22.noarch

Steps to Reproduce
==================

1. Install f22-kde-theme
2. Check the following /etc files:

 * /etc/xdg/plasma-workspace/env/f22-kde-theme.sh
 * /etc/xdg/plasma-workspace/shutdown/f22-kde-theme.sh

Actual results
==============

The file is a hard link:

~~~
# ls -l /etc/xdg/plasma-workspace/env/f22-kde-theme.sh 
-rw-r--r--. 2 root root 744 Jun 12 17:39 /etc/xdg/plasma-workspace/env/f22-kde-theme.sh
# ls -l /etc/xdg/plasma-workspace/shutdown/f22-kde-theme.sh
-rw-r--r--. 2 root root 744 Jun 12 17:39 /etc/xdg/plasma-workspace/shutdown/f22-kde-theme.sh
~~~

~~~
# rpm -qf /etc/xdg/plasma-workspace/env/f22-kde-theme.sh
f22-kde-theme-22.3-4.fc22.noarch
# rpm -qf /etc/xdg/plasma-workspace/shutdown/f22-kde-theme.sh
f22-kde-theme-22.3-4.fc22.noarch
~~~

Expected results
================

File f22-kde-theme.sh is not packaged as a hardlink.

Additional info
===============

On my system, all the other files in /etc/xdg/plasma-workspace/env/ are not
hardlinked:

~~~
# ls -l /etc/xdg/plasma-workspace/env
total 20
-rw-r--r--. 1 root root 346 Aug  6  2014 env.sh
-rw-r--r--. 2 root root 744 Jun 12 17:39 f22-kde-theme.sh
-rw-r--r--. 1 root root 644 Mar  3 20:29 gtk2_rc_files.sh
-rw-r--r--. 1 root root 175 Jun 16 22:31 gtk3_scrolling.sh
-rw-r--r--. 1 root root  52 Jun 26 17:09 ksshaskpass.sh
~~~
Comment 1 Martin B. 2015-08-08 16:41:23 EDT
Created attachment 1060660 [details]
proposed fix of specfile
Comment 2 Rex Dieter 2015-08-08 16:51:57 EDT
There's no harm in these being hardlinked (that I'm aware of)

Please correct me if I'm wrong.

Note You need to log in before you can comment on or make changes to this bug.