@bdrung Sure, I've proposed the fix for resolute and added the SRU bug
template. Let me know if there is further impact/justification I could
add to it.

** Description changed:

+ [ Impact ]
+ 
+  * base-files accidentally install duplicate configuration and profile
+ files directly into /usr/share, violating Debian policy and cluttering
+ the directory.
+ 
+  * In addition, it is helpful, but not required, to include an
+    explanation of how the upload fixes this bug.
+ 
+  * While the impact itself is minor, I am still proposing it for
+ resolute to include it before the point release and reduce the
+ likelihood of other tools or script to start depending on the existence
+ of these files.
+ 
+ [ Test Plan ]
+ 
+  * Run dpkg -L base-files to verify that the files
+ 
/usr/share/{dot.bashrc,dot.profile,dot.profile.md5sums,info.dir,motd,networks,profile,profile.md5sums}
+ are not listed anymore
+ 
+  * Verify that the files listed above are actually removed from
+ /usr/share and still in /usr/share/base-files
+ 
+  * Verify that other directories such as /usr/share/man or
+ /usr/share/doc still exist
+ 
+ [ Where problems could occur ]
+ 
+  * Any script depending on these files (which have existed since
+ kinetic) will break. I did a few searches across dcs, github and
+ grep.app and couldn't find any major consumers.
+ 
+ [ Other Info ]
+ 
+  * Thanks to Tobias Heider for raising this.
+ 
+  * This change landed in stonking(-proposed) as part of 14.2ubuntu1.
+ 
+ ---
+ 
  Letting lintian speak:
  
  E: base-files: file-directly-in-usr-share [usr/share/dot.bashrc]
  E: base-files: file-directly-in-usr-share [usr/share/dot.profile.md5sums]
  E: base-files: file-directly-in-usr-share [usr/share/dot.profile]
  E: base-files: file-directly-in-usr-share [usr/share/info.dir]
  E: base-files: file-directly-in-usr-share [usr/share/motd]
  E: base-files: file-directly-in-usr-share [usr/share/networks]
  E: base-files: file-directly-in-usr-share [usr/share/profile.md5sums]
  E: base-files: file-directly-in-usr-share [usr/share/profile]
  
  Those files are duplicates: they are also installed in the right
  location, see e.g.:
  
- $ dpkg -L base-files | grep dot.bashrc                                        
                                                                                
                                              
+ $ dpkg -L base-files | grep dot.bashrc
  /usr/share/base-files/dot.bashrc
  /usr/share/dot.bashrc
  
  I believe this is when the bug got introduced:
  
  https://git.launchpad.net/ubuntu/+source/base-
  files/commit/?h=applied/ubuntu/resolute-
  updates&id=98a2554b049fe85b6ba371ca2b42d9676a99677b
  
  In particular I believe the problem is with this added line:
  
  +       install -p -m 644 share/*    $(DESTDIR)/usr/share/
  
  Thanks Tobias Heider for raising this.

** Changed in: base-files (Ubuntu Resolute)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160023

Title:
  stray, duplicate files installed under /usr/share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2160023/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to