Bug 696490

Summary: error reading information on service sssd: No such file or directory
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhlavink, nalin, tmraz
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: authconfig-6.1.15-1.fc16 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 11:34:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jóhann B. Guðmundsson 2011-04-14 07:03:55 UTC
Description of problem:

When running setup and setup ldap auth this what seems to be cosmetic error appears.

# setup
Note: Forwarding request to 'systemctl disable ypbind.service'.
error reading information on service sssd: No such file or directory <---
Note: Forwarding request to 'systemctl enable sssd.service'.
ln -s '/lib/systemd/system/sssd.service' '/etc/systemd/system/multi-user.target.wants/sssd.service'
Redirecting to /bin/systemctl  start sssd.service

Running ldap 

Version-Release number of selected component (if applicable):

setuptool-1.19.11-3.fc15

How reproducible:

always

Steps to Reproduce:
1.run setup
2.select and setup ldap aut
3.
  
Actual results:

error reading information on service sssd: No such file or directory

Expected results:

No error

Additional info:

You guys should consider start looking at making setup use native systemd commands as opposed to be using service $foo and chkconfig $foo which seems to be what you are calling now as in service start/stop $foo == systemctl start/stop $foo.service chkconfig on/off $foo == systemctl enable/disable $foo.service 

As an example service sssd start in systemd world becomes systemctl start sssd.service and service sssd stop becomes systemctl stop sssd.service and chkconfig sssd on becomes systemctl enable sssd.service and chkconfig sssd off become systemctl disable sssd.service

Comment 1 Michal Hlavinka 2011-04-14 07:26:35 UTC
setuptool is just system-config-* launcher reassigning component

Comment 2 Tomas Mraz 2011-04-14 08:31:00 UTC
Patches welcome.

Comment 3 Jóhann B. Guðmundsson 2011-04-14 08:42:09 UTC
Note that sssd has been currently resides in updates testing ( F15 )with native systemd service file https://admin.fedoraproject.org/updates/sssd-1.5.5-2.fc15

Which will take precedence over the old sysv init scripts..

Comment 4 Tomas Mraz 2011-04-14 08:51:18 UTC
I thought that the chkconfig and service commands will be supported for now as a compatibility wrapper.

Comment 5 Jóhann B. Guðmundsson 2011-04-14 09:38:03 UTC
They do up to a certain extent

Service $foo $bar should have one to one mapping to systemctl $bar $foo.service 

But I doubt chkconfig has other than on/off service to systemctl enable/disable since runlevel in the traditional sense dont exist in systemd.

And this "error reading information on service sssd: No such file or directory" is probably because it's trying to do something with /etc/init.d/sssd which no longer exist and no longer is needed since there is a native systemd service file and whatever changes you do to a sysv file in /etc/init.d/ wont be picked up by systemd once systemd has it's own native service file for systemd.

Comment 6 Tomas Mraz 2011-07-22 11:34:54 UTC
Authconfig now properly supports both old sysv utilities and systemctl, which is preferred if exists.

Comment 7 Fedora Update System 2011-07-22 11:46:30 UTC
authconfig-6.1.15-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/authconfig-6.1.15-1.fc15

Comment 8 Fedora Update System 2011-08-02 02:02:47 UTC
authconfig-6.1.15-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.