Bug 699558

Summary: pam_systemd reports "Moving remaining processes of user session ..."
Product: [Fedora] Fedora Reporter: Frank Crawford <frank>
Component: logwatchAssignee: Frank Crawford <frank>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: carl, frank, kklic, richardfearn, varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: logwatch-7.3.6-70.20110203svn25.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 04:53:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frank Crawford 2011-04-26 00:27:05 UTC
Description of problem:
pam_systemd reports message "Moving remaining processes of user session ..." just about every time it is invoked, by cron, password, su, etc, and fills the output with these spurious messages.

Version-Release number of selected component (if applicable):
logwatch-7.3.6-68.20110203svn25.fc15.noarch
Fedora 15 Beta

How reproducible:
100%

Steps to Reproduce:
1. Standard install, just view logwatch output
2.
3.
  
Actual results:
Lots of messages like:
    /USR/SBIN/CROND: pam_systemd(crond:session): Moving remaining processes of user session 61 of root into control group /user/root/master.: 1 Time(s)
    /USR/SBIN/CROND: pam_systemd(crond:session): Moving remaining processes of user session 62 of root into control group /user/root/master.: 1 Time(s)
    /USR/SBIN/CROND: pam_systemd(crond:session): Moving remaining processes of user session 63 of root into control group /user/root/master.: 1 Time(s)
    /usr/sbin/crond: pam_systemd(crond:session): Moving new user session for root into control group /user/root/38.: 1 Time(s)
    /usr/sbin/crond: pam_systemd(crond:session): Moving new user session for root into control group /user/root/39.: 1 Time(s)
    /usr/sbin/crond: pam_systemd(crond:session): Moving new user session for root into control group /user/root/40.: 1 Time(s)

Expected results:
These should be suppressed.

Additional info:
This is suppressed in the upstream SVN, and will try and get into distribution before F15 release.

Comment 1 Fedora Update System 2011-04-26 05:08:58 UTC
logwatch-7.3.6-69.20110203svn25.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/logwatch-7.3.6-69.20110203svn25.fc15

Comment 2 Fedora Update System 2011-04-26 15:35:07 UTC
Package logwatch-7.3.6-69.20110203svn25.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing logwatch-7.3.6-69.20110203svn25.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/logwatch-7.3.6-69.20110203svn25.fc15
then log in and leave karma (feedback).

Comment 3 Carl Byington 2011-04-28 14:31:06 UTC
Does not look fixed:

yum list logwatch 
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
logwatch.noarch     7.3.6-69.20110203svn25.fc15        @updates-testing

grep logwatch /var/log/yum*
Apr 27 10:07:34 Installed: logwatch-7.3.6-69.20110203svn25.fc15.noarch

################### Logwatch 7.3.6 (05/19/07) #################### 
        Processing Initiated: Thu Apr 28 03:46:03 2011
        Date Range Processed: yesterday
                              ( 2011-Apr-27 )
                              Period is day.

....

 **Unmatched Entries**
 pam_systemd(sshd:session): Moving remaining processes of user session 856 of root into control group /user/root/master. : 1 time(s)
 pam_systemd(sshd:session): Moving new user session for root into control group /user/root/708. : 1 time(s)

Comment 4 Frank Crawford 2011-04-29 14:53:21 UTC
Did these occur in the "secure-log" service section or the "sshd" section?  The fix applied so far only applies to the "secure-log" section, but running some additional testing shows that similar messages may be found in other sections.

Having said that, I will look at the other sections to see what else may need fixing.

Comment 5 Carl Byington 2011-04-29 15:26:24 UTC
The secure-log section looks clean. The messages above were in the sshd section.

Comment 6 Frank Crawford 2011-04-30 04:09:19 UTC
Thanks.  We'll look at getting a fix for that in with some others we will get out soon.

Comment 7 Fedora Update System 2011-05-01 03:28:17 UTC
logwatch-7.3.6-69.20110203svn25.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-06 12:03:56 UTC
logwatch-7.3.6-70.20110203svn25.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/logwatch-7.3.6-70.20110203svn25.fc15

Comment 9 Fedora Update System 2011-05-07 15:08:14 UTC
Package logwatch-7.3.6-70.20110203svn25.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing logwatch-7.3.6-70.20110203svn25.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/logwatch-7.3.6-70.20110203svn25.fc15
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-05-19 04:53:43 UTC
logwatch-7.3.6-70.20110203svn25.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.