LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-06-2018, 10:11 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu
Posts: 273

Rep: Reputation: 39
Current64: /etc/rc.d/rc.S still refers to /var/log/setup/tmp


Current64: /etc/rc.d/rc.S at line 395 still refers to /var/log/setup/tmp instead of /var/lib/pkgtools/setup/tmp.
For as far as I am aware we should not depend on whether or not the user has the convenience symlinks set.


Edit Aug 7, 2018: Corrected the "target" path.

Last edited by burdi01; 08-07-2018 at 03:07 AM.
 
Old 08-06-2018, 10:30 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,418

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
If I remember correctly the convenience symlink is for /var/log/packages and friends, not /var/log/setup: /var/log/setup and the files it contents stay where they are. These files are needed during installation as for running the scripts called by pkgtools.
 
Old 08-06-2018, 10:34 AM   #3
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,283

Rep: Reputation: Disabled
I don't even have this directory.

Code:
$ ls /var/lib/setup/
ls: cannot access '/var/lib/setup/': No such file or directory
 
Old 08-06-2018, 10:36 AM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,573

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
Code:
/var/lib/pkgtools/setup
Code:
bash-4.4# ls -l /var/lib/pkgtools/setup
total 100
-rwxr-xr-x 1 root root 1012 Mar 23  2007 setup.04.mkfontdir
-rwxr-xr-x 1 root root  657 Apr 13 19:04 setup.05.fontconfig
-rwxr-xr-x 1 root root  130 Apr 13 17:29 setup.07.update-desktop-database
-rwxr-xr-x 1 root root  116 Apr 13 18:22 setup.07.update-mime-database
-rwxr-xr-x 1 root root  638 Apr 13 17:49 setup.08.gtk-update-icon-cache
-rwxr-xr-x 1 root root  128 May 17 23:48 setup.11.cacerts
-rwxr-xr-x 1 root root  170 Feb 16  2003 setup.70.install-kernel
-rwxr-xr-x 1 root root 9164 Jun 19 22:28 setup.80.make-bootdisk
-rwxr-xr-x 1 root root  121 Feb  3  2016 setup.cups-genppdupdate
-rwxr-xr-x 1 root root 1062 Apr 28 22:12 setup.htmlview
-rwxr-xr-x 1 root root  105 Mar  9  2002 setup.liloconfig
-rwxr-xr-x 1 root root  105 Oct  6  2013 setup.ll.eliloconfig
-rwxr-xr-x 1 root root 5661 Apr 28 22:24 setup.mouse
-rwxr-xr-x 1 root root  349 Feb 19  2003 setup.netconfig
-rwxr-xr-x 1 root root 8875 Jun 19 22:28 setup.services
-rwxr-xr-x 1 root root  283 May 14  2009 setup.setconsolefont
-rwxr-xr-x 1 root root   66 Feb 16  2003 setup.timeconfig
-rwxr-xr-x 1 root root  358 Aug 10  2006 setup.xwmconfig
-rw-r--r-- 1 root root 3331 Jul  8  1994 text.lilohelp
drwx------ 2 root root 4096 Aug  6 14:48 tmp
 
Old 08-06-2018, 10:54 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,418

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
One more thing to take care of when upgrading from 14.2 to 15 then... Did we really need that change ???
 
Old 08-06-2018, 11:01 AM   #6
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,283

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
Code:
/var/lib/pkgtools/setup
Code:
bash-4.4# ls -l /var/lib/pkgtools/setup
total 100
-rwxr-xr-x 1 root root 1012 Mar 23  2007 setup.04.mkfontdir
-rwxr-xr-x 1 root root  657 Apr 13 19:04 setup.05.fontconfig
-rwxr-xr-x 1 root root  130 Apr 13 17:29 setup.07.update-desktop-database
-rwxr-xr-x 1 root root  116 Apr 13 18:22 setup.07.update-mime-database
-rwxr-xr-x 1 root root  638 Apr 13 17:49 setup.08.gtk-update-icon-cache
-rwxr-xr-x 1 root root  128 May 17 23:48 setup.11.cacerts
-rwxr-xr-x 1 root root  170 Feb 16  2003 setup.70.install-kernel
-rwxr-xr-x 1 root root 9164 Jun 19 22:28 setup.80.make-bootdisk
-rwxr-xr-x 1 root root  121 Feb  3  2016 setup.cups-genppdupdate
-rwxr-xr-x 1 root root 1062 Apr 28 22:12 setup.htmlview
-rwxr-xr-x 1 root root  105 Mar  9  2002 setup.liloconfig
-rwxr-xr-x 1 root root  105 Oct  6  2013 setup.ll.eliloconfig
-rwxr-xr-x 1 root root 5661 Apr 28 22:24 setup.mouse
-rwxr-xr-x 1 root root  349 Feb 19  2003 setup.netconfig
-rwxr-xr-x 1 root root 8875 Jun 19 22:28 setup.services
-rwxr-xr-x 1 root root  283 May 14  2009 setup.setconsolefont
-rwxr-xr-x 1 root root   66 Feb 16  2003 setup.timeconfig
-rwxr-xr-x 1 root root  358 Aug 10  2006 setup.xwmconfig
-rw-r--r-- 1 root root 3331 Jul  8  1994 text.lilohelp
drwx------ 2 root root 4096 Aug  6 14:48 tmp
Yes I see now, thanks.

Code:
$ ls -l /var/log/setup
lrwxrwxrwx 1 root root 21 Jul  7 06:22 /var/log/setup -> ../lib/pkgtools/setup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Patch for /var/log/setup/setup.mouse (package gpm) Didier Spaier Slackware 2 12-16-2016 01:03 AM
Bad exit status from /var/tmp/rpm-tmp.Cs9Mt5 (%build) imbrij Linux - Virtualization and Cloud 11 10-27-2012 10:55 AM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
how to securing /tmp , /var/tmp and /dev/shm hackintosh Linux - Security 7 10-17-2007 11:26 PM
/var/log/packages and /var/log/setup sunny_5252 Slackware 4 05-17-2007 08:17 PM

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

All times are GMT -5. The time now is 07:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration