[systemd-devel] Question

2017-11-25 Thread Peter Diks
Hello Systemd-devel@lists.freedesktop.org,

There is something i do not understand at this point and would like to
solve it.
A brand new Tumbleweed Kubic, has enable repositories and zypper runs fine,
untill it has to install.
Error: Subprocess failed. Error: RPM failed: error: Can 't create
transaction lock on /var/lib/.rpm.lock ( inappropriate ioctl for device )
Earlier i had the same sort of trouble: installing on a read-only fs.
A mount -o remount,rw / does not change that ( although i'm root )
So i can 't run Zypper up.

Thanks
Peter
-- 
Hartelijke Groet
Peter
06-45108537
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Question

2017-11-25 Thread Reindl Harald



Am 25.11.2017 um 16:24 schrieb Peter Diks:
Hello Systemd-devel@lists.freedesktop.org 
,


There is something i do not understand at this point and would like to 
solve it.
A brand new Tumbleweed Kubic, has enable repositories and zypper runs 
fine, untill it has to install.
Error: Subprocess failed. Error: RPM failed: error: Can 't create 
transaction lock on /var/lib/.rpm.lock ( inappropriate ioctl for device )

Earlier i had the same sort of trouble: installing on a read-only fs.
A mount -o remount,rw / does not change that ( although i'm root )
So i can 't run Zypper up


how is that a systemd-question?
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Question about service dependency handling in systemd-228

2017-11-25 Thread Uoti Urpala
On Sat, 2017-11-25 at 12:08 +0700, Bao Nguyen wrote:
> [   41.154231] systemd[1]: nss-lookup.target: Dependency 
> Before=nss-lookup.target dropped
> [   41.297229] systemd[1]: sockets.target: Found ordering cycle on 
> sockets.target/start
> [   41.297236] systemd[1]: sockets.target: Found dependency on 
> asi-My-5101.socket/start
> [   41.297239] systemd[1]: sockets.target: Found dependency on 
> My-sshd.target/start
> [   41.297241] systemd[1]: sockets.target: Found dependency on 
> My-syncd.service/start
> [   41.297244] systemd[1]: sockets.target: Found dependency on 
> My-nfs-client.service/start
> [   41.297246] systemd[1]: sockets.target: Found dependency on 
> My-handling.service/start


> My question is if there are any significant different about building tree 
> dependency and handling cycle dependency between systemd-210 and systemd-228 
> that can lead to my current situation? I have checked the change log, source 
> code but not found any useful info

Rather than start by trying to find differences between systemd
versions, I suggest you first find out exactly what goes wrong under
the newer systemd version. Exactly which dependency is wrong and
shouldn't be there? Where does that dependency come from? A system
where ordering dependencies form a cycle is not valid, so some
dependency explicitly listed in your unit files or implicitly added by
systemd must be wrong. After finding that out, you can then try to find
out what differs under the older systemd if it's still relevant.

In the above log, the most suspicious part is that it seems to say
"asi-My-5101.socket" depends on "My-sshd.target". A socket unit almost
certainly shouldn't have such dependencies, as normally a listening
socket can be opened regardless of the state of the rest of the system
(the main exception I can think of would be a UNIX socket at a
filesystem path that requires mounting something, but normally you
wouldn't do that...).


> And what does the message "nss-lookup.target: Dependency 
> Before=nss-lookup.target dropped" mean? I do not see it in systemd-210.

Apparently the target had a dependency saying that it should be started
before itself, and such a blatantly impossible dependency was ignored.

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] journald: why become tabs to #011

2017-11-25 Thread Reindl Harald

thanks
https://bugzilla.redhat.com/show_bug.cgi?id=1517455

Am 25.11.2017 um 15:22 schrieb Mantas Mikulėnas:

That's done by rsyslogd, not journald.

[pid  3345] recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="<13>Nov 25 16:20:45 grawity: foo bar\tbaz\nquux", 
iov_len=8096}], msg_iovlen=1, msg_control=[...], msg_controllen=64, 
msg_flags=0}, MSG_DONTWAIT) = 45
[pid  3351] write(17, "Nov 25 14:20:45 virgule grawity: foo 
bar#011baz#012quux\n", 56) = 56



On Sat, Nov 25, 2017 at 3:39 PM, Reindl Harald > wrote:


this is terrible ugly and it makes little sense - in doubt please
convert that to a space and not #011

Nov 25 05:45:02 testserver php[16259]: 2017-11-25 04:45:02 [notice]
Daily renewal check started
Nov 25 06:30:02 testserver php[16680]: 2017-25-11
06:30:02#011/cms/temp/ecparams.pem#0110,10 KB
Nov 25 06:30:02 testserver php[16680]: 2017-25-11 06:30:02#0110,10 KB

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] journald: why become tabs to #011

2017-11-25 Thread Mantas Mikulėnas
That's done by rsyslogd, not journald.

[pid  3345] recvmsg(3, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="<13>Nov 25 16:20:45 grawity: foo bar\tbaz\nquux",
iov_len=8096}], msg_iovlen=1, msg_control=[...], msg_controllen=64,
msg_flags=0}, MSG_DONTWAIT) = 45
[pid  3351] write(17, "Nov 25 14:20:45 virgule grawity: foo
bar#011baz#012quux\n", 56) = 56


On Sat, Nov 25, 2017 at 3:39 PM, Reindl Harald 
wrote:

> this is terrible ugly and it makes little sense - in doubt please convert
> that to a space and not #011
>
> Nov 25 05:45:02 testserver php[16259]: 2017-11-25 04:45:02 [notice] Daily
> renewal check started
> Nov 25 06:30:02 testserver php[16680]: 2017-25-11
> 06:30:02#011/cms/temp/ecparams.pem#0110,10 KB
> Nov 25 06:30:02 testserver php[16680]: 2017-25-11 06:30:02#0110,10 KB
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>



-- 
Mantas Mikulėnas 
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] journald: why become tabs to #011

2017-11-25 Thread Reindl Harald
this is terrible ugly and it makes little sense - in doubt please 
convert that to a space and not #011


Nov 25 05:45:02 testserver php[16259]: 2017-11-25 04:45:02 [notice] 
Daily renewal check started
Nov 25 06:30:02 testserver php[16680]: 2017-25-11 
06:30:02#011/cms/temp/ecparams.pem#0110,10 KB

Nov 25 06:30:02 testserver php[16680]: 2017-25-11 06:30:02#0110,10 KB
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel