Hi,
I'm using the client library of avahi, and I want to build my own
dnssd client. I'm using epoll in my eventloop, and never (tried
several times) to make avahi work with my eventloop. Tried several
times, following examples found in the documentation.
Is this possible with systemd?
S. Bon
Hi,
maybe this is a question simple to answer.
I want the user sessions to start in a {mount,user} namespace. How can
I do this? I know there is the command systemd-nspawn. But to use this
I have to adjust the first command to start a session. Or is it
possible by setting parameters in logind?
S
Hi,
I know that I can use a session file, and I know I can use a pamfile
(I've written one myself) but what I want to know is how can I use
systemd for that? Systemd handles the system, sessions and containers,
so is it for example possible to set some parameters and make the pam
module of systemd
Thank you for your answer. Sorry for my late reaction. I've been ill
for some weeks.
You say that starting a new namespace might have problems with
multithreaded programs (and which program isn't??). Can you explain
why and where the problem occurs? Maybe a link with some context. Much
appreciated
Hi,
when I look at the function string_hashsum it looks like the context
is not closed when done.
After a succesfull gcry_md_open the hash context md should be closed
when leaving this function. That does not happen.
Stef
___
systemd-devel mailing list
2018-02-03 19:26 GMT+01:00 Stef Bon :
> Hi,
Oh and this in in file src/basic/gcrypt-util.c.
>
> Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
2018-02-03 20:27 GMT+01:00 :
>
> Nice catch, that indeed looks like a leak. Would you like to prep a
> PR fixing it?
>
PR? I do not know what you mean. A pull request?
I can write a patch.
Stef
___
systemd-devel mailing list
systemd-devel@lists.freed
The testing of the new code requires me too much (meson is required..
and I don't want to replace my existing systemd) and I do not expect
to add more patches is near future.
I've got a patch:
diff --git a/src/basic/gcrypt-util.c b/src/basic/gcrypt-util.c
index 1bfb77672..c7c07e3b7 100644
--- a/s
Same error here:
(gcry_md_open without gcry_md_close)
line 901 in src/resolve/resolved-dns-sec.c
while in the same file at 1227 it's done the good way.
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/
hi,
maybe good to know that libgcrypt provides a function which offers "all in one":
void gcry_md_hash_buffer (int algo, void *digest, const void *buffer,
size_t length)
digest can be an array created earlier using the function gcry_md_get_algo_dlen.
Stef
__
ot of time to this issue.
Maybe in future this service can also provide info about locking too.
What do you think?
Stef Bon
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Hi,
I'm writing a ssh client, and I want it to be able to do a dns lookup of
sshfp records.
The ipv4 address is known, as wel as the hostname.
I've found the code about resolving:
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients/
How can I make it to find sshfp records?
Op zo 22 jul. 2018 om 21:49 schreef Mantas MikulÄ—nas :
> How can I make it to find sshfp records?
>>
>
> From the same page, "Use ResolveRecord() in order to resolve arbitrary
> resource records. The call will return the binary RRset data. This calls is
> useful to acquire resource records for whi
Hi,
I cannot find a header file where DNS_TYPE_SSHFP is defined,
only in the source tree of systemd.
There should be a header file in /usr/include. Where can I find it?
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://list
Hi all,
for some time I have been looking at the issue why fsnotify does not work
with network filesystems and FUSE (with a shared backend).
I've found out that changes initiated on the localhost, on the filesystem
are supported by the fs change subsystems on Linux, and events initiated at
the ba
s
> there a reason why a user-space service is necessary?
>
Like I mentioned in the first post and here again, the filesystems like
FUSE, NFS and CIFS (and other)
are not "contacted" by fsnotify about a watch. This is by design.
So if the kernel does not do this (and beleive me there are
2015-01-30 9:30 GMT+01:00 Simon McVittie :
> In principle, a PAM module or something could ensure that we have a
> dbus-daemon per login session, even tty/ssh/cron login sessions
> (which all go through PAM). In practice, nobody has ever cared enough to
> implement this, so we're left with D-Bus au
Hi,
sorry for the offtopic question here, but I do not know a better place for
it.
I'm building a lockmonitor. I thought that would be just as easy as with
the /proc/self/mountinfo "file".
But that is not the case. It's not pollable, like the mountinfo fle is.
I've looked into the code of the ke
You are sure?? I mean the locks file, not the mounts file.
I think you haven't understood my post very good.
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
No problem. Just a misunderstading or how you want to call it.
Stef
2013/1/2 Dave Reisner
>
> On Jan 2, 2013 5:41 PM, "Stef Bon" wrote:
> >
> > You are sure?? I mean the locks file, not the mounts file.
> > I think you haven't understood my post ver
Well, I'm working on notifyfs, a fuse fs which is a cache for gui clients
and a filesystem event notifier. It uses inotify on linux to notify clients
about changes. I want to be complete and add information about locks as
well (new, changed and removed).
On the localhost this requires monitoring th
Yes, thanks a lot. I've read it, understood, maybe this whole locking thing
should be replaced with a better approach. First you mention in the first
blog entry:
"Mandatory locking is available too. It's based on the POSIX locking API
but not portable in itself. It's dangerous business and should
2013/1/3 Kay Sievers
>
> FWIW, adding poll() support would look like something like this:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=66d7dd518ae413a383ab2c6c263cc30617329842
>
> Kay
>
Thanks a lot. I will try to write a patch with it, although the way linux
h
Hi,
I've read about the possible bugs.
About the combination between mmap and mandatory locks:
of course the mapping of memory is causing troubles when a mandatory lock
is set. The mapped region should or forward the lock to the new memory
location (where remapped) or the mmap should be denied, un
Hi,
I'm experimenting with the plugable ud-160-A as seat extender. I'm
borrowing it from Hans de Goede.
Now it works very good, only with new monitors using the newest EDID
technique it blocks. Hans has already posted a patch.
But with an older monitor it works great!!
Now I would like contribu
Lennart wrote here:
http://0pointer.de/blog/projects/multi-seat.html
(Later on we'll probably have a graphical setup utility for additional
seats, but that's not a pressing issue we believe, as the plug-n-play
multi-seat support with the Plugable devices is so awesomely nice.)
Fourth alinea.
A
Hi,
First I'm talking about ud-160-A.
Second the patch:
https://bugzilla.redhat.com/show_bug.cgi?id=894299
It's a patch for the displaylink driver.
Third:
have you tried to connect the monitor using the vga adapter?
That should work.
Stef
And please do not mail to a lot of people. That does
Hi,
Thanks
what should the gui toolkit be? Gtk3? I prefer that over qt, which is not
my favorite.
And is there a location to store the project? I can of course get one at
github or something like that, but maybe there is a better one?
Stef
___
systemd
ears in the settings only for user on the seat0 if he/she is part of
admin group
c. when the choice is "overtake seat0" the "set behaviour extra seats"
dialog will only appear after the first docking station is plugged in.
d. in the menu, somewhere at settings
2013/1/25 Zbigniew Jędrzejewski-Szmek
> On Fri, Jan 25, 2013 at 02:59:34PM +0100, Stef Bon wrote:
> > 1. When dealing with a docking station (like those from plugable) on a
> > laptop, the reason the user wants to use it, is to use a bigger screen
> and
> > a "real
Defaults? No I don't think so. I think this is a discussion about
flexibility and let users decide what to do with these devices.
Right now in the 71-seat.rules :
# 'Plugable' USB hub, sound, network, graphics adapter
SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]",
ENV{ID_AU
2013/1/29 Lennart Poettering
> On Tue, 29.01.13 13:28, Stef Bon (stef...@gmail.com) wrote:
> > to use an external textfile or db in combination with a specfic script
> for
> > this purpose??
>
> It sounds as if you are asking for the for the udev hardware database
> st
2013/2/4 Lennart Poettering :
> On Fri, 01.02.13 10:27, Stef Bon (stef...@gmail.com) wrote:
>
>> I think I misunderstood the assigning of a device to a seat.
>> The creation of a seat is not done by the udev rules, what I assumed
>> first,
>
> It is done via
2013/2/8 Lennart Poettering :
> On Wed, 06.02.13 14:24, Stef Bon (stef...@gmail.com) wrote:
>
>> Ok, when logind sends out a message (after seat added or removed) it's
>> up to the services like gdm(?) what to do with it: use it as docking
>> station or to start
2013/2/8 Lennart Poettering :
> On Fri, 08.02.13 12:27, Stef Bon (stef...@gmail.com) wrote:
>
>>
>> > No, udev contains the information which devices together make up a
>> > seat. Hence, it is also udev where it is stored whether something is
>> > used in
2013/2/11 Colin Guthrie :
> 'Twas brillig, and Stef Bon at 11/02/13 08:45 did gyre and gimble:
>>>
>> Look this is getting us nowhere.
>>
>> You do not seem to understand my point.
>>
>> How does this rule look like? I'm asking because I can
2013/2/11 Lennart Poettering :
> On Mon, 11.02.13 12:59, Stef Bon (stef...@gmail.com) wrote:
>
>> And since you say it's simple by just make the call, can you just
>> describe what to do to make a plugable device like the UD-160-A/M turn
>> into a dockingstation?
>
Hi,
hoe is het met je?
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
t
I'snt it a bit arrogant to think this?
In my opinion people are can be disappointed by the way we are treated
by another, not by what we do or don't.
I've been called arrogant before, but you are really king here!
Hale king Lennart!
Stef Bon
the Netherlands
> Le
ould be just: I cannot react right now, but this issue
has my interest. I expect to react later..
In communication it's very important to treat each other with respect.
As soccertrainer (and maybe soon teacher mathematics) I really think
that's important when working together.
Stef Bon
Hi,
I would like to try systemd on my machine. As someone who installs
everything from source, I would
like to do that also for systemd. I cannot find a guide anywhere to do
this, as I expect a package as systemd
requires more than just
./configure
make
make install
some addition configuration i
Thanks,
this is a good source of info.
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Hi,
I'm trying to build systemd on a shiny new LFS system. I roughly followed the
instructions here:
http://www.linuxfromscratch.org/lfs/view/development/index.html
Since this is a very minimal system, you have to add extra software:
gperf
libcap
attr
expat
libxml2
dbus
No PAM, no gtk, no tcpw
Thanks a lot,
And how do I select the services to be started at boot time??
I've seen lots of documentation, and possibly I did not read good enough.
Stef
2011/6/20 Maarten Lankhorst :
> Hey Stef,
> sysv init is only used as compatibility. If you have no sysv init scripts,
> nothing will be us
2011/6/20 Christian Hesse :
> Stef Bon on Mon, 20 Jun 2011 15:15:57 +0200:
>> Thanks a lot,
>>
>>
>> And how do I select the services to be started at boot time??
>>
>> I've seen lots of documentation, and possibly I did not read good
>> en
2011/6/20 Marius Tolzmann :
> Hi there..
>
> we are also using a self-maintained LFS based gnu/linux here.
>
> we switched to systemd in Nov 2010 and it worked fine from the start..
>
> since we started a new LFS we decided not to integrate any support for
> sysv anymore by compiling systemd with
>
2011/6/20 Marius Tolzmann :
> Hi there..
>
> we are also using a self-maintained LFS based gnu/linux here.
>
> we switched to systemd in Nov 2010 and it worked fine from the start..
What version are you using?
And what version of kernel? Did you have to tune your kernel?? (for
example devfs..)
S
ted, status=0
Jun 21 18:33:17 systemd[1]: systemd-readahead-collect.service changed
running -> exited
Jun 21 18:33:17 systemd[1]: Accepted connection on private bus.
Jun 21 18:33:17 systemd[1]: Got D-Bus request:
org.freedesktop.systemd1.Agent.Released() on
/org/freedesktop/systemd1/agent
Jun 21
Hi,
I've been able to make my shiny new LFS system boot using systemd, but
still with errors. When the tty's are activated,
Iget the message:
stty: standard input: Inappropriate ioctl for device
When I'm logged in, I see the various tty files have root:tty rights,
but not tty1 - tty6, they have
2011/6/27 Lennart Poettering :
> On Sat, 25.06.11 21:57, Stef Bon (stef...@gmail.com) wrote:
>
>> Hi,
>>
>> I've been able to make my shiny new LFS system boot using systemd, but
>> still with errors. When the tty's are activated,
>> Iget the messa
2011/6/28 Stef Bon :
> 2011/6/27 Lennart Poettering :
>> On Sat, 25.06.11 21:57, Stef Bon (stef...@gmail.com) wrote:
>>
>>> Hi,
>>>
>>> I've been able to make my shiny new LFS system boot using systemd, but
>>> still with errors. When the
Hi,
I think it's ok to only activate the getty programs on demand. Maybe
use only mingetty??
Who works on the serial line these days? mingetty is faster
I would like to add the following:
I had some trouble with logmessages on my screen while the login is
there already.
This has probably som
Ok, I did not expect this. Ok, stupid idea, forget it.
But what about the "log console", redirecting log to one of the
virtual consoles, reachable via alt-fx?
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedeskt
Hi,
what I've read is great, about session support and multiseat. In my
opinion the managment of seats and sessions always could be much
better, and your work looks good.
Futher it's smart to assign a usb hub to a certain seat and let all
devices connected be part of the same seat. In practice th
Hi,
howdo I start scripts at the begin and end of a session??
I used ConsoleKit for that, which launched scripts it finds in
/etc/ConsoleKit/run-session.d
Stef
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop
2011/7/15 Lennart Poettering :
> On Fri, 15.07.11 08:24, Stef Bon (stef...@gmail.com) wrote:
>
>>
>> /etc/ConsoleKit/run-session.d
>
> We currently don't support this in systemd, and right now I see no good
> usecase that might convince us to add that.
>
> C
It looks as if the system dbus is not started at this moment. Anyone has a hint?
Stef Bon
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Yes,
I've installed it on a LinuxFromScratch system, I've mentioned earleir.
I've solved it, indeed the rebuild of dbus with the right parameter
was required. That solved it.
Stef Bon
2011/7/25 Lennart Poettering :
> On Mon, 25.07.11 13:27, Stef Bon (stef...@gmail.com) w
Hi all,
I've been looking into how namespaces work, shared mounted subtrees
and user namespaces using PAM.
My own construction is using a FUSE filesystem, some bind mounts of
system directories and (still) pam_chroot.
and looking to switch to use pam_namespace.
Anyhowe, I see that with using dif
2011/8/3 Kay Sievers :
> On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote:
>> Isn't it a good idea to provide every different namespace a own mtab,
>> containing only the mounts visible for that namespace?
>
> You mean /etc/mtab? Systemd requires that to be symlink to
>
it confucing, since a move of the root, while the
subirectories are already mounted.
It looks more a bit to make the new namespace consistent or something like that.
Can someone explain this?
Thanks in advance.
Stef Bon
the Netherlands
btw I know what a bind mount is, but the combination M
Poettering :
> On Mon, 22.08.11 16:15, Stef Bon (stef...@gmail.com) wrote:
>
>> Why the combination MS_BIND | MS_MOVE here??
>> A move is a little bit confucing, since a move of the root, while the
>> subirectories are already mounted.
>> It looks more a bit to make t
about, using arg_directory
A bind mount I can understand, but a move?? Moving the root to
arg_directory will overwrite the just
created mounts done in line 759?
These mounts are created in this namespace...
Stef
2011/8/24 Lennart Poettering :
> On Wed, 24.08.11 11:41, Stef Bon (stef...@gmail.co
2011/8/24 Lennart Poettering :
> On Wed, 24.08.11 14:38, Stef Bon (stef...@gmail.com) wrote:
>
>>
>> Please let me explain why I think this is strange to me:
>>
>> in line 713 there is a call to clone, so here the cloned child process
>> has it's own name
Hi,
I've rewritten an existing pam module pam_script. What it does:
. runs a script
. unshare the mount namespace (if configured, default yes)
if the directory to chroot to is specfied it does also:
. mount all the required directories like bin, lib, usr etcetera.
. chroot to this directory
Se
No I didn't. I will post it on the pam maillist, see what they think of it.
Stef
2011/10/14 Daniel J Walsh :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 10/14/2011 04:34 AM, Stef Bon wrote:
>> Hi,
>>
>> I've rewritten an existing pam module
Hi,
I'm informing the status of multiseat.
I've read here:
http://fedoraproject.org/wiki/Features/ckremoval
that there is worked on automatic detection of multiseat.
Some notes:
. automatic is only possible for local seats
. maximum local seats is the minimum of terminals and keyboards (=N)
2012/4/13 Kok, Auke-jan H :
> All,
>
> As some of you might know, I've been working on integrating systemd in
> Tizen. While currently the Tizen OS is still using sysvinit, we hope
> to merge systemd in the near future and even expand the use of systemd
> throughout the system beyond what systemd c
Hi,
I've been looking into the code how systemd handles the automounting.
I've got two issues:
a. I've found the handling of the "missing" packet
(autofs_ptype_missing_direct), which triggers the
mounting. But I did not found the handling of the expire packet
(autofs_ptype_expire_direct). Is thi
2012/4/29 Nikolaus Rath :
> Hello,
>
> I am struggling to come up with the correct way to define a unit
> configuration for a FUSE based network file system.
>
> Generally, the file system needs to be mounted and unmounted with its
> own programs (rather than with mount and umount). The main reason
o write my own
autofs implementation using FUSE. The FUSE fs will somehow be what now
is the "browseable" map with indirect maps with the automounter, and
somehow I have to find a way to make a specific directory a direct
autofs mountpoint.
Thanks,
Stef Bon
_
2012/5/2 Nikolaus Rath :
> On 05/02/2012 03:53 PM, Lennart Poettering wrote:
>> On Sat, 28.04.12 20:41, Nikolaus Rath (nikol...@rath.org) wrote:
>> automatically, without any manual kludges. We won't support any other
>> hacks in systemd. Sorry.
>
>
> Ah, ok. Mounting with /bin/mount -t works just
2012/5/3 Nikolaus Rath :
> Stef Bon writes:
>> That's why I advise to use a pidfile systemd can watch.
>
> I believe one of systemd's design goals is to actually get rid of pid
> files and related hacks. If I want to use systemd with a pidfile, I may
> just
o improve , maybe
Shuttleworth means something else. It's better to try to start a
contact him (and the team he refers to) than go into one subject he
mentions, to check what he means.
I can imagine something of what he describes, but I cannot speak for him.
St
Hi,
I'm working on a construction which creates "workspaces" for a user
when he/she logs in.
These workspaces are directories with vritual directories managed by a
FUSE fs, with access to mountable resources like harddisks, usb
sticks, cdroms but also network services like smb shares.
In practic
Yes,
thank you. It looks like a can use that. It just provides what I need.
The monitor sd_login_monitor can provide a fd. What happens with this
fd? Is there data readable?
Stef
2012/6/27 David Herrmann :
> Hi Stef
>
> On Mon, Jun 25, 2012 at 11:27 AM, Stef Bon wrote:
>>
Ok,
forget last message. I've found test-login.c, which gives all answers.
Stef
2012/6/30 Stef Bon :
> Yes,
>
> thank you. It looks like a can use that. It just provides what I need.
>
> The monitor sd_login_monitor can provide a fd. What happens with this
> fd? Is there
Hi,
I'm implementing the sd_get_uids function in my app. It basically
reads the directory /run/systemd/users.
I do not know, is this list already sorted?? this is the same question
as is the readdir function "sort" sensitive?
If not, I have to add a sort function.
Stef
__
2012/7/26 Kay Sievers :
> On Thu, Jul 26, 2012 at 2:16 PM, Stef Bon wrote:
>> I'm implementing the sd_get_uids function in my app. It basically
>> reads the directory /run/systemd/users.
>> I do not know, is this list already sorted?? this is the same question
>>
Hi all,
I understand. I've added some arguments like --fork and
--socketactivation and those work.
Also found, but you probably already know:
https://stackoverflow.com/questions/61753655/is-forking-in-a-daemon-still-necessary-when-using-systemd
Thanks all,
S. Bon
Hi,
I've got a system daemon, and I want to make use of socket activation. It has a
socket /run/osns/system.sock, where clients belonging to user sessions
can connect to.
What I've tried I do not get it to work.
It used to fork, and the forked process created the socket. I've
changed this using t
Op vr 27 jun 2025 om 15:23 schreef Andrei Borzenkov :
>
>
> How do you expect this environment variable to change? It was set when
> systemd invoked your program. How systemd is supposed to change the
> value of this variable inside already started process? How systemd is
> supposed to predict th
Hi,
it's important for a program to detect it has been started by systemd.
For example it does not have to fork since it has already been forked.
I've written a test script, which calls env, and there are a few
unique environment variables which are an indication it has been
started by systemd: S
Yes I see. I understand now. I think - as you suggest - it's best to
stop the service from forking if started by systemd.
S. Bon
Hi,
it is working now. I've disabled the forking of my service. I think
that in general services started by systemd or any other service
manager do not have to fork: they are already forked/exec.
Thanks,
S. Bon
Hi all,
the issue was answered some weeks ago. Please do not react anymore.
S. Bon
86 matches
Mail list logo