public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Generic "What installed this?"
@ 2005-07-08 22:18 Mark Knecht
  2005-07-08 22:34 ` kashani
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2005-07-08 22:18 UTC (permalink / raw
  To: gentoo-user

Hi ho,
   What program do I run to determine what emerge operation installed
something on the system, in this specific case /etc/init.d/serial? I
guessed it would be equery but that didn't work.

dragonfly ~ # equery b /etc/init.d/serial
[ Searching for file(s) /etc/init.d/serial in *... ]
dragonfly ~ #

   qpkg didn't seem to go backward from a file name.

   What other program can I run to discover that?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-08 22:18 [gentoo-user] Generic "What installed this?" Mark Knecht
@ 2005-07-08 22:34 ` kashani
  2005-07-08 22:41   ` Mark Knecht
  2005-07-08 22:48   ` Mark Knecht
  0 siblings, 2 replies; 7+ messages in thread
From: kashani @ 2005-07-08 22:34 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> Hi ho,
>    What program do I run to determine what emerge operation installed
> something on the system, in this specific case /etc/init.d/serial? I
> guessed it would be equery but that didn't work.
> 
> dragonfly ~ # equery b /etc/init.d/serial
> [ Searching for file(s) /etc/init.d/serial in *... ]
> dragonfly ~ #
> 
>    qpkg didn't seem to go backward from a file name.
> 
>    What other program can I run to discover that?
> 

qpkg seems to work okay for me.

laxlxns02 ~ # qpkg -f /etc/init.d/serial
sys-apps/baselayout *

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-08 22:34 ` kashani
@ 2005-07-08 22:41   ` Mark Knecht
  2005-07-08 22:48   ` Mark Knecht
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2005-07-08 22:41 UTC (permalink / raw
  To: gentoo-user

On 7/8/05, kashani <kashani-list@badapple.net> wrote:
> Mark Knecht wrote:
> > Hi ho,
> >    What program do I run to determine what emerge operation installed
> > something on the system, in this specific case /etc/init.d/serial? I
> > guessed it would be equery but that didn't work.
> >
> > dragonfly ~ # equery b /etc/init.d/serial
> > [ Searching for file(s) /etc/init.d/serial in *... ]
> > dragonfly ~ #
> >
> >    qpkg didn't seem to go backward from a file name.
> >
> >    What other program can I run to discover that?
> >
> 
> qpkg seems to work okay for me.
> 
> laxlxns02 ~ # qpkg -f /etc/init.d/serial
> sys-apps/baselayout *
> 
> kashani

My bad. I misread the the qpkg --help info page.

Thanks!

- Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-08 22:34 ` kashani
  2005-07-08 22:41   ` Mark Knecht
@ 2005-07-08 22:48   ` Mark Knecht
  2005-07-09  1:38     ` Edward Catmur
  2005-07-09  7:57     ` Richard Fish
  1 sibling, 2 replies; 7+ messages in thread
From: Mark Knecht @ 2005-07-08 22:48 UTC (permalink / raw
  To: gentoo-user

On 7/8/05, kashani <kashani-list@badapple.net> wrote:
> Mark Knecht wrote:
> > Hi ho,
> >    What program do I run to determine what emerge operation installed
> > something on the system, in this specific case /etc/init.d/serial? I
> > guessed it would be equery but that didn't work.
> >
> > dragonfly ~ # equery b /etc/init.d/serial
> > [ Searching for file(s) /etc/init.d/serial in *... ]
> > dragonfly ~ #
> >
> >    qpkg didn't seem to go backward from a file name.
> >
> >    What other program can I run to discover that?
> >
> 
> qpkg seems to work okay for me.
> 
> laxlxns02 ~ # qpkg -f /etc/init.d/serial
> sys-apps/baselayout *
> 
> kashani
> --
> gentoo-user@gentoo.org mailing list
> 
> 

I spoke too quickly. qpkg -f returns nothing for /etc/init.d/serial:

dragonfly ~ # ls -al /etc/init.d/serial
-rwxr-xr-x  1 root root 1104 Mar 11 09:57 /etc/init.d/serial
dragonfly ~ # qpkg -f /etc/init.d/serial
dragonfly ~ #

and qpkg -l doesn't show 'serial' as being installed by baselayout:

dragonfly ~ # qpkg -l sys-apps/baselayout | grep serial
dragonfly ~ #

I use the ~x86 version of baselayout. You are probably not I suspect?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-08 22:48   ` Mark Knecht
@ 2005-07-09  1:38     ` Edward Catmur
  2005-07-09  6:27       ` Rumen Yotov
  2005-07-09  7:57     ` Richard Fish
  1 sibling, 1 reply; 7+ messages in thread
From: Edward Catmur @ 2005-07-09  1:38 UTC (permalink / raw
  To: gentoo-user

On Fri, 2005-07-08 at 15:48 -0700, Mark Knecht wrote:
> On 7/8/05, kashani <kashani-list@badapple.net> wrote:
> > Mark Knecht wrote:
> > > Hi ho,
> > >    What program do I run to determine what emerge operation installed
> > > something on the system, in this specific case /etc/init.d/serial? I
> > > guessed it would be equery but that didn't work.
>
> I spoke too quickly. qpkg -f returns nothing for /etc/init.d/serial:
> 
> dragonfly ~ # ls -al /etc/init.d/serial
> -rwxr-xr-x  1 root root 1104 Mar 11 09:57 /etc/init.d/serial
> dragonfly ~ # qpkg -f /etc/init.d/serial
> dragonfly ~ #

The CVS header on /etc/init.d/serial shows that it is from the
rc-scripts module on gentoo cvs, and rc-scripts is distributed as part
of baselayout indeed.

However it is not installed by baselayout-1.11.12-r4, and in fact it
does nothing as /etc/serial.conf does not exist, so is safe to delete -
but make sure (a) you aren't using it (check /etc/serial.conf) and (b)
you remove it from all runlevels.

Ed

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-09  1:38     ` Edward Catmur
@ 2005-07-09  6:27       ` Rumen Yotov
  0 siblings, 0 replies; 7+ messages in thread
From: Rumen Yotov @ 2005-07-09  6:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

Edward Catmur wrote:

>On Fri, 2005-07-08 at 15:48 -0700, Mark Knecht wrote:
>  
>
>>On 7/8/05, kashani <kashani-list@badapple.net> wrote:
>>    
>>
>>>Mark Knecht wrote:
>>>      
>>>
>>>>Hi ho,
>>>>   What program do I run to determine what emerge operation installed
>>>>something on the system, in this specific case /etc/init.d/serial? I
>>>>guessed it would be equery but that didn't work.
>>>>        
>>>>
>>I spoke too quickly. qpkg -f returns nothing for /etc/init.d/serial:
>>
>>dragonfly ~ # ls -al /etc/init.d/serial
>>-rwxr-xr-x  1 root root 1104 Mar 11 09:57 /etc/init.d/serial
>>dragonfly ~ # qpkg -f /etc/init.d/serial
>>dragonfly ~ #
>>    
>>
>
>The CVS header on /etc/init.d/serial shows that it is from the
>rc-scripts module on gentoo cvs, and rc-scripts is distributed as part
>of baselayout indeed.
>
>However it is not installed by baselayout-1.11.12-r4, and in fact it
>does nothing as /etc/serial.conf does not exist, so is safe to delete -
>but make sure (a) you aren't using it (check /etc/serial.conf) and (b)
>you remove it from all runlevels.
>
>Ed
>
>  
>
Hi,
Previously when i went to baselayout-1.11.12-rX, on startup received a
warning about missing "serial" something.
So just to be on the safe side re-emerged "setserial" and forgot about
this warning. It's: "sys-apps/setserial".
Also think that i don't need serial, but will check this later (when
have enough time ;).
HTH. Rumen

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3397 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Generic "What installed this?"
  2005-07-08 22:48   ` Mark Knecht
  2005-07-09  1:38     ` Edward Catmur
@ 2005-07-09  7:57     ` Richard Fish
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Fish @ 2005-07-09  7:57 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:

>I use the ~x86 version of baselayout. You are probably not I suspect?
>
>  
>

Hi Mark,

Yep, /etc/init.d/serial is gone in the ~x86 version of baselayout.

Note that there is a particular "problem" with /etc/init.d.  Since it is
in /etc, it falls under the CONFIG_PROTECT scheme of not removing
"configuration" files when a package gets updated/removed.  You may want
to add the following to /etc/make.conf:

CONFIG_PROTECT_MASK="/etc/init.d"

This will let portage remove init scripts when they are no longer used. 
But it also means that if you make customizations to the init scripts,
they can be overwritten without going through etc-update.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-09  7:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 22:18 [gentoo-user] Generic "What installed this?" Mark Knecht
2005-07-08 22:34 ` kashani
2005-07-08 22:41   ` Mark Knecht
2005-07-08 22:48   ` Mark Knecht
2005-07-09  1:38     ` Edward Catmur
2005-07-09  6:27       ` Rumen Yotov
2005-07-09  7:57     ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox