can't see level in yast

Hello

it will be more easier with the picture attached to the post

in yast system services i can’t see and modify level for starting services as usual ??
i am in suse 12.3

have you an idea and how i can put it right ?

regards

http://dl.free.fr/mon.pl?i=344555&h=BklVr64l

edit i can’t added image no url for the file

On 2013-09-12 09:46, Enthalpie wrote:
>
> Hello
>
> it will be more easier with the picture attached to the post
>
> in yast system services i can’t see and modify level for starting
> services as usual ??

Does not work, AFAIK.
You have to change this:


> Telcontar:~ # l /etc/systemd/system/default.target
> lrwxrwxrwx 1 root root 40 Jun  7 15:09 /etc/systemd/system/default.target -> /usr/lib/systemd/system/runlevel3.target
> Telcontar:~ #

If that’s not what you mean, sorry, I can not see the photo. Please use
susepaste.org

> [image: http://dl.free.fr/mon.pl?i=344555&h=BklVr64l]

I get:

Etat de l’émission de INCONNU

Session inexistante.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Great the link to susepast !! it will be easier with a picture instead a text

SUSE Paste

regards

On 2013-09-12 11:46, Enthalpie wrote:
>
> Great the link to susepast !! it will be easier with a picture instead a
> text
>
> ‘SUSE Paste’ (http://susepaste.org/82668547)

The module is partly broken, I understand. YaST has not catched up with
systemd. I think there is a native systemd tool that does some of it,
but I can’t find my note about it.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

In addition to Carlos’ post:

su -c systemadm

The old runlevels are disappearing and replaced by systemd targets. This tool allows you to control systemd. If the command is unknown, do

su -c 'zypper in systemd-ui'

openSUSE has moved on from init to systemd,hence you are not able to see levels

OK may be BUT …

I have 3 PC at home. Only one under 12.3 (i prefer before to change every machine)
So on this PC ; CUPS did’nt start automaticaly and in system services simple mode CUPS is ON but with an star and DOES’NT run !! and on level advanced mode CUPS is not running

I am Tired to be obliged to run yast to start CUPS each time i boot the PC

SUSE Paste

regards

Systemd-ui will be in yast or out of it ?

If you run the command from a terminal zypper will tell you whether it’s installed. You won’t see an entry in Yast since it’s not a yast module but a GUI to control systemd.

I look at systemd-ui

CUPS is running !!! but my printer is not ON, and when i go to yast/printer i got and errormessage cups is not running as usual !! )

SUSE Paste

SUSE Paste

On 2013-09-12 13:06, Knurpht wrote:
>
> In addition to Carlos’ post:
>
>
> Code:
> --------------------
> su -c systemadm
> --------------------

Thanks, that’s the tool I could not remember the name.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-09-12 13:36, Enthalpie wrote:

> I am Tired to be obliged to run yast to start CUPS each time i boot the
> PC
>
>
> ‘SUSE Paste’ (http://susepaste.org/61493956)

Forget yast. It is broken.


systemctl status cups.service
systemctl enable cups.service
systemctl start cups.service


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Yast is broken ?? Opensuse change somes rules and don’t put then in yast !!!

do you mean i will be obliged to launch theses commands each time i will start the PC ??

Nope, F.e.

systemctl enable nfs.service

will start NFS (client side) at boot, each time.

In systemadm you can easily enable / disable services.

Another thing: Yast is currently being ported from it’s own programming language to Ruby. A module to control / administer systemd is being worked on, but will not be backported to the “old Yast”.

I suggest you first have a look at systemadm, it will serve your needs in a comfortable way.

1°)
I Have tested and at the reboot CUPS is not running ??

2°) where is the nice IU foir all modules of systemd ? It is only systemadmin ? poor will not replace yast at all

Ad. 1: Have a look at this, it may explain things

systemctl status cups.service

. Here’s the output from my laptop, which prints fine:

# systemctl status cups.service                                                                                                   cups.service - CUPS Printing Service                                                                                                                         
          Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)                                                                                     
          Active: inactive (dead)                                                                                                                            
          CGroup: name=systemd:/system/cups.service

As you see, it’s dead. When I do


# systemctl restart cups.service                                                                                                  # systemctl status cups.service                                                                                                  
cups.service - CUPS Printing Service                                                                                                                         
          Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)                                                                                     
          Active: active (running) since Thu, 2013-09-12 16:29:42 CEST; 1s ago                                                                               
        Main PID: 5391 (cupsd)
          CGroup: name=systemd:/system/cups.service
                  └ 5391 /usr/sbin/cupsd -f


Sep 12 16:29:42 laptop.knurpht systemd[1]: Started CUPS Printing Service.



But now, look at this:


# systemctl stop cups.service 
Warning: Stopping cups.service, but it can still be activated by:
  cups.path
  cups.socket
# systemctl status cups.service 
cups.service - CUPS Printing Service
          Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
          Active: inactive (dead) since Thu, 2013-09-12 16:30:10 CEST; 3min 0s ago
         Process: 5391 ExecStart=/usr/sbin/cupsd -f (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/cups.service

Ad. 2: no comment, see my previous post

Hello
First thank’s a lot to answer so fast

please look at the commande status

  HP620-linux:/home/bernard # systemctl status cups.service
cups.service - CUPS Printing Service
          Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/cups.service

Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No limit for Validate-Job defined in policy allowall...nd.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No limit for Cancel-Jobs defined in policy allowallf...nd.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No limit for Cancel-My-Jobs defined in policy allowa...nd.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No limit for Close-Job defined in policy allowallfor...nd.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No limit for CUPS-Get-Document defined in policy all...nd.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No JobPrivateAccess defined in policy allowallforany...ts.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No JobPrivateValues defined in policy allowallforany...ts.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No SubscriptionPrivateAccess defined in policy allow...ts.
Sep 12 16:33:15 HP620-linux.arrow-breizh cupsd[2536]: No SubscriptionPrivateValues defined in policy allow...ts.
Sep 12 16:34:38 HP620-linux.arrow-breizh systemd[1]: Stopped CUPS Printing Service.
HP620-linux:/home/bernard # 


If I start or restart no problems but after reboot CUPS does’nt start automaticly

see the results for last commands

systemctl stop cups.service
Warning: Stopping cups.service, but it can still be activated by:
cups.path
cups.socket
HP620-linux:/home/bernard #
HP620-linux:/home/bernard # systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: inactive (dead) since Thu, 2013-09-12 16:44:43 CEST; 7s ago
Process: 2092 ExecStart=/usr/sbin/cupsd -f (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/cups.service

Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No limit for Cancel-Jobs defined in policy allowallforanybody and no suitable template found.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No limit for Cancel-My-Jobs defined in policy allowallforanybody and no suitable template found.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No limit for Close-Job defined in policy allowallforanybody and no suitable template found.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No limit for CUPS-Get-Document defined in policy allowallforanybody and no suitable template found.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No JobPrivateAccess defined in policy allowallforanybody - using defaults.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No JobPrivateValues defined in policy allowallforanybody - using defaults.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No SubscriptionPrivateAccess defined in policy allowallforanybody - using defaults.
Sep 12 16:43:08 HP620-linux.arrow-breizh cupsd[2092]: No SubscriptionPrivateValues defined in policy allowallforanybody - using defaults.
Sep 12 16:44:42 HP620-linux.arrow-breizh systemd[1]: Stopping CUPS Printing Service…
Sep 12 16:44:43 HP620-linux.arrow-breizh systemd[1]: Stopped CUPS Printing Service.

On 2013-09-12 16:46, Enthalpie wrote:
> If I start or restart no problems but after reboot CUPS does’nt start
> automaticly

So, you have to enable it. I told you how this morning:


systemctl enable cups.service
systemctl start cups.service

And post the result back here inside code tags.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

HI

i allready did what you said , but I still get CUPS not starting at boot

and now when i launch the command I don’t have any more error message but CUPS still not available at boot ???

HP620-linux:/home/bernard # systemctl enable cups.service
HP620-linux:/home/bernard # systemctl start cups.service