First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 156183
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 156183 depends on: Show dependency tree
Show dependency graph
Bug 156183 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-25 01:08 0000
Now the ebuild downloads pci.ids in src_unpack. I think it would be a better
idea to setup a cron.weekly or cron.monthly job to keep the system updating
even if pciutils itself does not update.

------- Comment #1 From SpanKY 2006-11-26 11:57:09 0000 -------
why not do both ... i'd opt for cron.monthly myself

------- Comment #2 From Petteri Räty 2006-11-26 12:11:09 0000 -------
Same thing applies to sys-apps/usbutils. In the cron we should probably account
for the fact that /usr could be mounted read-only. We should have a copy of the
files in the tarball so there isn't any pressing need to update it in the
ebuild. 

------- Comment #3 From SpanKY 2006-11-26 15:05:42 0000 -------
the bundled one in the tarball probably is newer than the snapshot we've been
including historically ... in the past this made a lot more sense since the
packages were never actually updated (took years between 2.1.11 and 2.2.0)

fixed in cvs with monthly cronjobs

------- Comment #4 From Martin Väth 2007-01-03 04:23:01 0000 -------
Since pciutils-2.2.3-r2 became just stable here, I did not hear about this
change before.

For people without flatrate or e.g. with an on-demand internet connection, it
is not a good idea to have a cron-job checking for updates, in particular, if
the hardware is fixed and so there is no real reason to update. Moreover, it
was very strange to me that I was not even informed about the fact that my
computer is now going to connect the internet automatically in a regular
manner: If one does not read every single ChangeLog, one can only realize this
by accident or by paranoic test programs.

Of course, if the ebuild would print a corresponding message, one could delete
the cron-job manually, but this is easily forgotten if e.g. pciutils is
recompiled in an emerge -e world (e.g. for a gcc update).

Therefore, I strongly suggest to make the installation of the cron-job
dependent of some useflag.

(BTW: Wouldn't it be more efficient and clearer to make a symbolic link in
/etc/cron.monthly instead of a "dummy" script which just executes one command?)

------- Comment #5 From SpanKY 2007-01-03 08:57:20 0000 -------
did you read the ChangeLog ?  because it says moving the pci ids update to cron

------- Comment #6 From Martin Väth 2007-01-03 11:51:02 0000 -------
(In reply to comment #5)
> did you read the ChangeLog ?  because it says moving the pci ids update to cron

>> "If one does not read every single ChangeLog" ...

IMHO things like an automatic connection to the internet should not be hidden
in a ChangeLog. In particular, pciutils used to be a "harmless" small package
which probably many people installed "just for the case that someday more
information is needed": Most people will just assume small bugfixes or
supplements in the upgrade (who has the time to read every entry in every
ChangeLog?) and not such a dramatic functionality change like a regular
internet connection.

------- Comment #7 From SpanKY 2007-01-03 17:07:55 0000 -------
my bad, i'll rename the package to
"pciutils-now-fetches-from-the-internet-via-a-cronjob" so hopefully users will
realize that pciutils now fetches from the internet via a cronjob

------- Comment #8 From Robin Johnson 2007-01-03 19:08:54 0000 -------
vapier: to stop the whiners, and help those that don't have always-on internet,
could you move the cronjob to a new package, and provide occasional updates of
that package with copies of the pci.ids and usb.ids?

This is the route I use to maintain spamassassin-rulesdujour. The auto-updater
is there, and I update the bundled rules every 6 months too.

------- Comment #9 From Martin Väth 2007-01-04 01:19:39 0000 -------
I did not want to attack anybody, I really just wanted to help improve.

What is so bad about my suggestion for a "cronjob-fetch" USE-Flag
(or - if you prefer - a "no-cronjob-fetch" USE-Flag)?
Then the behavior is much more visible and simply (and permanently)
customizable, and no additional package would be necessary.
(Moreover, the same flag might also be used for other similar situations - I
cannot judge whether it would even be reasonable for spamassassin - so the flag
might even become global eventually.)

In any case, an occasional update - as Robin suggested - might be useful: There
are Gentoo systems which are e.g. behind a firewall or on a laptop or with only
sporadic internet connection (no dial-on-demand) for which the cron-job might
always fail.

Concerning the sarcastic remark about information policy: My experience is
that people read pkg_postinst() { einfo "..." } rather often, but it is hard to
judge how reliable this experience is.

------- Comment #10 From SpanKY 2007-01-04 19:36:42 0000 -------
i'm not forking a package just for the cronjob file

a generic USE flag like "networked-cronjob" for all packages to leverage would
be ideal ... we just default it to on and people can put it in their global USE
to turn it off

------- Comment #11 From SpanKY 2007-01-10 14:22:14 0000 -------
*** Bug 161296 has been marked as a duplicate of this bug. ***

------- Comment #12 From Jakub Moc (RETIRED) 2007-02-01 17:16:37 0000 -------
*** Bug 164875 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc (RETIRED) 2007-02-23 09:07:22 0000 -------
*** Bug 168003 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug