Activity log for bug #804008

Date Who What changed Old value New value Message
2011-06-30 18:04:13 Andreas Hasenack bug added bug
2011-06-30 18:04:22 Andreas Hasenack landscape-client: importance Medium High
2011-06-30 18:18:56 Andreas Hasenack tags theme-apt-sources
2011-06-30 18:34:35 Andreas Hasenack tags theme-apt-sources squad-gamma theme-apt-sources
2011-06-30 18:53:06 Andreas Hasenack description If you accept into landscape a computer with a tag, and that tag is associated with a repository profile, the following happens: - two activities are queued: pending computer and apply repository profile - on the client, the package reporter runs as root and creates the following two files with root ownership: /var/log/landscape/package-reporter.log /var/lib/landscape/client/package/reporter.lock - subsequent runs of the package reporter fail: ==> monitor.log <== 2011-06-30 14:01:19,040 WARNING [MainThread] Package reporter output: Traceback (most recent call last): File "/usr/bin/landscape-package-reporter", line 10, in <module> main(sys.argv[1:]) File "/usr/lib/python2.5/site-packages/landscape/package/reporter.py", line 615, in main return run_task_handler(PackageReporter, args) File "/usr/lib/python2.5/site-packages/landscape/package/taskhandler.py", line 246, in run_task_handler lock_path(lock_filename) File "/usr/lib/python2.5/site-packages/landscape/lib/lock.py", line 11, in lock_path fd = os.open(path, os.O_CREAT) OSError: [Errno 13] Permission denied: '/var/lib/landscape/client/package/reporter.lock' As a result, no package is ever reported back to landscape. If I accept the computer without the tag that triggers the repository profile activity, the package reporter files are created with "landscape" as their owner and everything works. client version 11.06~bzr338-0ubuntu0.8.04 If you accept into landscape a computer with a tag, and that tag is associated with a repository profile, the following happens: - two activities are queued: pending computer and apply repository profile - on the client, the package reporter runs as root and creates the following two files with root ownership:  /var/log/landscape/package-reporter.log  /var/lib/landscape/client/package/reporter.lock /var/lib/landscape/client/package/smart-update-stamp - subsequent runs of the package reporter fail:  ==> monitor.log <== 2011-06-30 14:01:19,040 WARNING [MainThread] Package reporter output: Traceback (most recent call last):   File "/usr/bin/landscape-package-reporter", line 10, in <module>     main(sys.argv[1:])   File "/usr/lib/python2.5/site-packages/landscape/package/reporter.py", line 615, in main     return run_task_handler(PackageReporter, args)   File "/usr/lib/python2.5/site-packages/landscape/package/taskhandler.py", line 246, in run_task_handler     lock_path(lock_filename)   File "/usr/lib/python2.5/site-packages/landscape/lib/lock.py", line 11, in lock_path     fd = os.open(path, os.O_CREAT) OSError: [Errno 13] Permission denied: '/var/lib/landscape/client/package/reporter.lock' As a result, no package is ever reported back to landscape. If I accept the computer without the tag that triggers the repository profile activity, the package reporter files are created with "landscape" as their owner and everything works. client version 11.06~bzr338-0ubuntu0.8.04
2011-07-04 06:51:29 Björn Tillenius tags squad-gamma theme-apt-sources squad-gamma story-apt-sources
2011-07-04 06:51:41 Björn Tillenius landscape-client: milestone backlog 11.07.1
2011-07-05 13:01:38 Alberto Donato landscape-client: status New In Progress
2011-07-05 13:01:40 Alberto Donato landscape-client: assignee Alberto Donato (ack)
2011-07-05 16:58:47 Alberto Donato branch linked lp:~ack/landscape-client/package-reporter-permissions
2011-07-07 09:27:53 Alberto Donato landscape-client: status In Progress Fix Committed
2011-07-20 19:04:34 Launchpad Janitor branch linked lp:~ahasenack/landscape-client/landscape-client-11.07.1-0ubuntu0.11.10.0
2011-07-20 20:14:26 Launchpad Janitor branch linked lp:ubuntu/landscape-client
2011-07-22 15:44:32 Launchpad Janitor branch linked lp:~ahasenack/landscape-client/landscape-client-11.07.1.1-0ubuntu0.10.04.0
2011-07-22 15:51:35 Launchpad Janitor branch linked lp:~ahasenack/landscape-client/landscape-client-11.07.1.1-0ubuntu0.11.04.0
2011-07-22 15:53:22 Launchpad Janitor branch linked lp:~ahasenack/landscape-client/landscape-client-11.07.1.1-0ubuntu0.10.10.0
2011-07-27 14:56:50 Andreas Hasenack tags squad-gamma story-apt-sources squad-gamma story-apt-sources verified
2011-07-27 17:59:01 Clint Byrum bug added subscriber Ubuntu Stable Release Updates Team
2011-07-27 17:59:04 Clint Byrum bug added subscriber SRU Verification
2011-07-27 17:59:07 Clint Byrum tags squad-gamma story-apt-sources verified squad-gamma story-apt-sources verification-needed verified
2011-07-27 18:26:09 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/landscape-client
2011-07-28 05:37:31 Chris Halse Rogers tags squad-gamma story-apt-sources verification-needed verified squad-gamma story-apt-sources verification-done verified
2011-09-22 05:01:02 Martin Pitt tags squad-gamma story-apt-sources verification-done verified squad-gamma story-apt-sources verified
2011-09-22 05:01:03 Martin Pitt tags squad-gamma story-apt-sources verified squad-gamma story-apt-sources verification-needed verified
2011-09-22 05:34:08 Launchpad Janitor branch linked lp:ubuntu/maverick-proposed/landscape-client
2011-09-22 05:34:17 Launchpad Janitor branch linked lp:ubuntu/natty-proposed/landscape-client
2011-10-03 19:43:50 Andreas Hasenack landscape-client: status Fix Committed Fix Released
2011-11-21 12:13:52 Launchpad Janitor branch linked lp:landscape-client