home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / popularity-contest / FAQ < prev    next >
Encoding:
Text File  |  2006-11-17  |  3.9 KB  |  96 lines

  1.       Popularity-contest Frequently Asked Questions.
  2.  
  3. Q) What information is reported by popularity-contest ?
  4.  
  5. A) popularity-contest reports the system architecture you use, the version of
  6.    popularity-contest you use and the list of packages installed on your
  7.    system. For each package, popularity-contest looks at the most recently used
  8.    (based on atime) files, and reports the filename, its last access time
  9.    (atime) and last change time (ctime). However, some files are not
  10.    considered, because they have unreliable atime.
  11.  
  12. Q) What is considered a 'vote' for a package ?
  13.  
  14. A) A computer 'vote' for a package if according to the data provided in the
  15.    report, a program provided or depending on the package was used less than
  16.    thirty days ago. This computation is performed by the popcon server.  
  17.  
  18. Q) What are the privacy considerations for popularity-contest ?
  19.  
  20. A) Each popularity-contest host is identified by a random 128bit uuid
  21.    (MY_HOSTID in /etc/popularity-contest.conf). This uuid is used to
  22.    track submissions issued by the same host. It should be kept secret.
  23.    The reports are sent by email or HTTP to the popcon server.  The
  24.    server automatically extracts the report from the email or HTTP and
  25.    stores it in a database for a maximum of 20 days or until the host
  26.    sends a new report. This database is readable only by Debian
  27.    Developers.  The emails are readable only by the server admins.
  28.    Every day, the server computes a summary and post it on
  29.    <http://popcon.debian.org/all-popcon-results.txt.gz>. This summary
  30.    is a merge of all the submissions and does not include uuids.
  31.    
  32.    Known weaknesses of the system:
  33.    
  34.    1) Your email submission might be intercepted. We evaluate the possibility
  35.    to use public-key cryptography to protect the email.
  36.    
  37.    2) Someone who knows that you are very likely to use a particular package
  38.    reported by only one person (e.g. you are the maintainer) might infer you
  39.    are not at home when the package is not reported anymore. However this is
  40.    only a problem if you are gone for more than two weeks if the computer is
  41.    shut-down and 23 days if it is let idle.
  42.    
  43.    3) Unofficial and local packages are reported. This can be an issue
  44.    due to 2) above, especially for custom-build kernel packages.
  45.    We are evaluating how far we can alleviate this problem.
  46.    
  47. Q) /usr is mounted with 'noatime'.
  48.  
  49. A) popularity-contest relies on atime to know what packages were used during
  50.    the last month. This means you will only report the list of packages
  51.    installed without usage information.
  52.  
  53. Q) When does popularity-contest run ?
  54.  
  55. A) popularity-contest is run by the weekly cron job 
  56.    "/etc/cron.weekly/popularity-contest".
  57.  
  58. Under the default configuration of cron, this happens every Sunday
  59. at 6:47 in the morning. This can be changed by editing /etc/crontab
  60. but if your computer is not always turned on, we really recommend you
  61. install the anacron package.
  62.  
  63. Q) I don't want popcon email to be sent by root! How can I change that ?
  64.  
  65. A) To send as user 'myuser', edit the function 'do_sendmail' in
  66. /etc/cron.weekly/popularity-contest to 
  67.  
  68.   do_sendmail()
  69.   {
  70.     su myuser -s /bin/sh -c "/usr/sbin/sendmail -oi \"$MAILTO\""
  71.   }
  72.  
  73. Q) My system is unable to send email out to the Internet.  How can I
  74. participate ?
  75.  
  76. A) Since version 1.30 of popularity-contest, it is possible to use HTTP
  77. as the transport protocol.  This is the default for new installations,
  78. but needs to be manually enabled for old installations.  To enable it,
  79. run this commmand as root:
  80.  
  81.   dpkg-reconfigure popularity-contest
  82.  
  83. Q) How can I convert the timestamps in the popcon report to human-readable 
  84. dates ?
  85.  
  86. A) The timestamps are just the number of seconds since the epoch, namely
  87. 1970-01-01 00:00:00 UTC.  You can convert e.g. 1139229934 to a human-readable
  88. date with
  89.  
  90.   date -d '1970-01-01 UTC 1139229934 seconds'
  91.  
  92. or on Etch and later systems, the following is shorter:
  93.  
  94.   date -d '@1139229934'
  95.  
  96.