Bug 770182

Summary: Option nautovt in systemd-logind.conf works not corretct, only Koncole 1-12 works
Product: [openSUSE] openSUSE 12.1 Reporter: Klaus Wetzel <info>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: info
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: example for tty1

Description Klaus Wetzel 2012-07-06 08:39:38 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0

The Option nautovt=24 in systemd-logind.conf will be ignored. Only Konsole 1-12 works. 

Konsole 13-15 can be started manualy with extra Command like "systemd restart getty@tty13.service" but all Konsoles greater then 15 , systemd say "Excess arguments".

Reproducible: Always

Steps to Reproduce:
1.edit systemd-logind.conf nAutovt=24
2.restart system
3.
Actual Results:  
Only Konsole 1 to 12 works
Comment 1 Frederic Crozat 2012-07-09 12:36:57 UTC
out of curiosity, how do you use tty > 12 ? (I had to use chvt to access them)

could you test home:fcrozat:systemd / systemd ( http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/ ), it should fix your issue.
Comment 2 Klaus Wetzel 2012-07-10 18:09:31 UTC
Created attachment 498036 [details]
example for tty1
Comment 3 Klaus Wetzel 2012-07-10 18:14:56 UTC
(In reply to comment #1)
> out of curiosity, how do you use tty > 12 ? (I had to use chvt to access them)
> 
> could you test home:fcrozat:systemd / systemd (
> http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/
> ), it should fix your issue.


Hello,

i use Alt+F1 ..F12 for tty1 ..12 and AltGr+F1 ..F12 for tty13 ..24.

I have installd your Version and it Work partially. Now i have 24 Konsoles but i can not use as such getty@tty1.service to start mingetty.

If i start manualy with "systemd restart getty@tty1.service", systemd say "Excess arguments" now for every Konsole, the Konsole remains black.

I have send my getty@tty1.service as attachment.

Thanks in advance
Comment 4 Bernhard Wiedemann 2012-07-13 17:00:26 UTC
This is an autogenerated message for OBS integration:
This bug (770182) was mentioned in
https://build.opensuse.org/request/show/127853 Factory / systemd
Comment 5 Frederic Crozat 2012-07-16 13:36:23 UTC
your issue is because you tried to patch getty@tty1.service which is an instance of getty@.service.

if you really want to patch something, copy getty@.service to /etc/systemd/system
and change symlinks in /etc/systemd/system/getty.target.wants/ to symlink to this modified file.
Comment 6 Klaus Wetzel 2012-07-25 22:23:19 UTC
I have done exactly, but the result is the same.

/var/log/messages say

---
Jul 25 23:59:24 klausprg systemd[1]: Job dev-tty1.device/start timed out.
Jul 25 23:59:24 klausprg systemd[1]: Job getty@tty1.service/start failed with result 'dependency'.
Jul 25 23:59:24 klausprg systemd[1]: Job dev-tty1.device/start failed with result 'timeout'.

---

when i use the Original systemd from opensuse 12.1 the autologin works.

Have you an other idea??
Comment 7 Frederic Crozat 2012-07-26 07:52:05 UTC
you must use the package and file from home:fcrozat:systemd as basis. There shouldn't be a dependency against dev-tty1.device anymore 

closing bug as fixed
Comment 8 Klaus Wetzel 2012-08-01 22:11:37 UTC
Thank's Mr. Crozat!

The Error was, I had updated systemd whith yast. Now i have uninstall systemd, than delete the remaining files manualy and install you Version.

Now it Works.
Comment 9 Frederic Crozat 2013-03-07 13:12:44 UTC
mr #157832 for openSUSE 12.1
Comment 10 Bernhard Wiedemann 2013-03-07 14:00:25 UTC
This is an autogenerated message for OBS integration:
This bug (770182) was mentioned in
https://build.opensuse.org/request/show/157832 Maintenance /
Comment 11 Swamp Workflow Management 2013-03-13 12:04:52 UTC
openSUSE-RU-2013:0443-1: An update that has four recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 731601,751253,770182,801423
CVE References: 
Sources used:
openSUSE 12.1 (src):    systemd-37-3.17.1, systemd-gtk-37-3.17.1