| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 5 months |
| seen | Apr 6 at 8:24 | |
| stats | profile views | 2 |
|
Jan 18 |
awarded | Scholar |
|
Jan 18 |
accepted | How to write a systemd .service file running systemd-tmpfiles |
|
Jan 18 |
comment |
How to write a systemd .service file running systemd-tmpfiles Thank you, very useful answer and problem solved. Just a note, in my distro (Chakra Linux) default.target is not in /etc/systemd/system, but it's only in /usr/lib/systemd/system |
|
Jan 15 |
awarded | Supporter |
|
Jan 15 |
comment |
How does systemd-tmpfiles work? Bad news :( If I run systemd-tmpfiles --create, all the directives in /etc/tmpfiles.d/ and /usr/lib/tmpfiles.d/ files are processed. This means that /run/nologin is re-created (by /usr/lib/tmpfiles.d/systemd.conf) and any not-root user can't login anymore. (bbs.archlinux.org/viewtopic.php?pid=1175975) This is a problem, for example when I suspend my pc.
I should remove /run/nologin explicity, but this is becoming too much hackish. I think that the echo solution within a script called by a .service is a better solution. |
|
Jan 15 |
asked | How to write a systemd .service file running systemd-tmpfiles |
|
Jan 15 |
comment |
How does systemd-tmpfiles work? We got the point! Running systemd-tmpfiles --create works. I'll start a new question for the .service file. Thank you. |
|
Jan 14 |
comment |
How does systemd-tmpfiles work? I have edited the first post with another test and some hypothesis. |
|
Jan 14 |
revised |
How does systemd-tmpfiles work? added 554 characters in body |
|
Jan 14 |
comment |
How does systemd-tmpfiles work? Using echo -n disabled > /sys/... works, so probably the newline presence doesn't care in this case. But tmpfiles is still not working, I've tried both disabled\n and "disabled\n" |
|
Jan 14 |
comment |
How does systemd-tmpfiles work? I don't think that systemd can't write on virtual file systems. Using tmpfiles on /proc/acpi/wakeup works fine, for example (wiki.archlinux.org/index.php/Systemd#Temporary_files) |
|
Jan 13 |
asked | How does systemd-tmpfiles work? |
|
Dec 20 |
comment |
Why I have two /dev/sdx entries with a single disk? Kernel 3.6, my laptop is a ThinkPad Edge E130 and yes, it has a card reader. Thank you. |
|
Dec 20 |
comment |
Why I have two /dev/sdx entries with a single disk? @gertvdijk Edited first post. So I have an empty SCSI port on my laptop? |
|
Dec 20 |
revised |
Why I have two /dev/sdx entries with a single disk? added 886 characters in body |
|
Dec 20 |
asked | Why I have two /dev/sdx entries with a single disk? |
|
Dec 15 |
awarded | Editor |
|
Dec 15 |
revised |
How to change a keycode using setkeycodes added 2 characters in body |
|
Dec 15 |
awarded | Student |
|
Dec 15 |
asked | How to change a keycode using setkeycodes |