LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2021, 06:24 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 231

Rep: Reputation: 45
etc-15.0-x86_64-15 , Is there really a GOOD purpose for this ... ?


Having just had this update my -current system ...

Code:
head -10 /var/log/packages/etc-15.0-x86_64-15 
PACKAGE NAME:     etc-15.0-x86_64-15
COMPRESSED PACKAGE SIZE:     28K
UNCOMPRESSED PACKAGE SIZE:     130K
PACKAGE LOCATION: ./etc-15.0-x86_64-15.txz
PACKAGE DESCRIPTION:
etc: etc (system configuration files)
etc:
etc: System configuration files. The /etc directory is traditionally the
etc: location where configuration files are found.
etc:
... snip ...
Shouldn't the appropriate packages be installing these files ...

Code:
# grep '\.new' /var/log/packages/etc-15.0-x86_64-15        
etc/HOSTNAME.new
etc/csh.login.new
etc/group.new
etc/gshadow.new
etc/hosts.new
etc/inputrc.new
etc/issue.net.new
etc/issue.new
etc/ld.so.conf.new
etc/motd.new
etc/mtab.new
etc/networks.new
etc/nsswitch.conf.new
etc/passwd.new
etc/printcap.new
etc/profile.d/lang.csh.new
etc/profile.d/lang.sh.new
etc/profile.d/z-dot-in-non-root-path.csh.new
etc/profile.d/z-dot-in-non-root-path.sh.new
etc/profile.new
etc/securetty.new
etc/services.new
etc/shadow.new
etc/shells.new
var/log/lastlog.new
var/log/wtmp.new
var/run/utmp.new
I really don't see a reason for the var/log/* stuff . As again they are (iirc) dynamically created by syslog as configured in etc/syslog.conf and login/friends .

Especially when ...

Code:
# grep '\.new' /var/log/packages/etc-15.0-x86_64-15 | sed -e's\^\/\' | xargs ls -alrt
ls: cannot access '/etc/HOSTNAME.new': No such file or directory
ls: cannot access '/etc/csh.login.new': No such file or directory
ls: cannot access '/etc/hosts.new': No such file or directory
ls: cannot access '/etc/inputrc.new': No such file or directory
ls: cannot access '/etc/issue.net.new': No such file or directory
ls: cannot access '/etc/issue.new': No such file or directory
ls: cannot access '/etc/ld.so.conf.new': No such file or directory
ls: cannot access '/etc/motd.new': No such file or directory
ls: cannot access '/etc/mtab.new': No such file or directory
ls: cannot access '/etc/networks.new': No such file or directory
ls: cannot access '/etc/nsswitch.conf.new': No such file or directory
ls: cannot access '/etc/printcap.new': No such file or directory
ls: cannot access '/etc/profile.d/lang.csh.new': No such file or directory
ls: cannot access '/etc/profile.d/lang.sh.new': No such file or directory
ls: cannot access '/etc/profile.d/z-dot-in-non-root-path.csh.new': No such file or directory
ls: cannot access '/etc/profile.d/z-dot-in-non-root-path.sh.new': No such file or directory
ls: cannot access '/etc/securetty.new': No such file or directory
ls: cannot access '/etc/services.new': No such file or directory
ls: cannot access '/etc/shells.new': No such file or directory
ls: cannot access '/var/log/lastlog.new': No such file or directory
ls: cannot access '/var/log/wtmp.new': No such file or directory
ls: cannot access '/var/run/utmp.new': No such file or directory
-rw-r----- 1 root shadow    0 Apr  7  2000 /etc/gshadow.new
-rw-r--r-- 1 root root   2620 Aug 30 10:05 /etc/profile.new
-rw-r----- 1 root shadow  704 Aug 30 10:18 /etc/shadow.new
-rw-r--r-- 1 root root   1620 Aug 30 10:18 /etc/passwd.new
-rw-r--r-- 1 root root    787 Aug 30 10:18 /etc/group.new
 
Old 08-31-2021, 10:38 PM   #2
kaott
Member
 
Registered: Mar 2020
Posts: 63

Rep: Reputation: Disabled
Take a look at the doinst.sh script for the package. I think it might be helpful here. The code and comments should provide some insight into your questions/concerns, especially with respect to the files in var/log.


However, I don't know why this packages contains all the files it does. For some things, like the motd, I think it makes sense because what other package would it go into? But I don't know the merit of having the cshell login script here makes instead of being in the tcsh package.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fit for purpose: The case for the purpose-built database LXer Syndicated Linux News 0 07-26-2021 05:22 PM
[SOLVED] What is the purpose of lib64? How does it serve it's purpose? BMan8577 Linux - Newbie 2 09-20-2011 01:39 PM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM
What is a really good way to Learn Linux? What about a Really Good Linux magazine? Howerton Linux - Newbie 9 09-02-2004 04:59 AM
Is there a REALLY good Linux game out there? opensource Linux - Games 34 02-15-2004 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration