[SOLVED] tmux.service malfunction

Hello, there appears to be a small hiccup in controlling tmux's sessions via systemd services. Namely ExecStop=/usr/bin/tmux kill-session -t ts in the following example kills all tmux sessions instead of only the 'ts' session.
[ll@arch ~]$ cat /usr/lib/systemd/system/tmux.service
[Unit]
Description=Start tmux in detached session
[Service]
Type=forking
ExecStart=/usr/bin/tmux new-session -s ts -d
ExecStop=/usr/bin/tmux kill-session -t ts
User=ll
[Install]
WantedBy=multi-user.target
[ll@arch ~]$ tmux ls
failed to connect to server
[ll@arch ~]$ sudo systemctl start tmux && tmux new -s manual -d && tmux ls
manual: 1 windows (created Sat Mar 16 11:45:26 2013) [104x53]
ts: 1 windows (created Sat Mar 16 11:45:26 2013) [80x23]
[ll@arch ~]$ sudo systemctl stop tmux && tmux ls
failed to connect to server
[ll@arch ~]$
Is it a bug or the service file is missing something?
Last edited by cngn (2013-03-17 11:13:16)

per systemd.kill KillMode=none is the required option, I have edited Services#tmux

Similar Messages

  • How to solve no service in the carrier

    Anyone know how to solve 'no service' in the carrier? I never do jailbreak and encounter this problems frequently. I requested to get replacement of iphone4 and stil having the same problem. I gotta reset all setting frequently as well. Is the sim card, hardware or software cause this problem?

    The "No Service" message appears in the upper left corner of the display
    Try toggling Airplane mode "on" and "off". Wait five seconds between the off and on modes.
    If that doesn't work, try another location.
    If another location works, but the original location still does not, contact your carrier to report the issue.
    If the message is present in all locations, have the iPhone serviced.
    Is a quote from: iPhone: Hardware troubleshooting

  • [solved] "adsl.service" does not start with "netctl" sometimes

    I recently moved from "netcfg" to "netctl".
    Solution. I copied "/usr/lib/systemd/system/adsl.service" into a new service and added a line
    After=[email protected]
    under "[Unit]"

    It goes definitely against any logic.
    The service file looks good, but I've copied it to /usr/lib/systemd/system/bdsl.service. Same contents - and the new one launches succesfully.
    I've deleted the original ...adsl.service file, verified that it disappeared, copied it back from the new bdsl.service file, and it still does not launch.
    [EDIT]
    I've erased the drive, restored the system from a 1 week old backup, started it - everything worked. Then I'v updated the whole system, including the rp-pppoe package, and the adsl service is failing again.
    Downgrading solves the problem. Should I file a bug report?
    Last edited by scar (2013-06-01 10:14:41)

  • [SOLVED] Opendias service doesn't start

    Hello,
    I've just installed the package opendias built from the AUR. But I'm facing 2 problems:
    1) I cannot start the service using systemctl. The binary starts fine by running it directly.
    2) I also have issues finding the scanner that works properly using SANE.
    My user was added to the opendias group. Any idea on how to solve this? Thank you in advance.
    [paulo@SonyVaio ~]$ systemctl status opendias.service -l
    ● opendias.service - OpenDIAS (Document Imaging Archive System)
    Loaded: loaded (/usr/lib/systemd/system/opendias.service; enabled)
    Active: failed (Result: start-limit) since Sáb 2014-05-10 23:24:05 WEST; 1min 32s ago
    Process: 3005 ExecStart=/usr/bin/opendias (code=exited, status=1/FAILURE)
    Mai 10 23:24:05 SonyVaio systemd[1]: Failed to start OpenDIAS (Document Imaging Archive System).
    Mai 10 23:24:05 SonyVaio systemd[1]: Unit opendias.service entered failed state.
    Mai 10 23:24:05 SonyVaio systemd[1]: opendias.service holdoff time over, scheduling restart.
    Mai 10 23:24:05 SonyVaio systemd[1]: Stopping OpenDIAS (Document Imaging Archive System)...
    Mai 10 23:24:05 SonyVaio systemd[1]: Starting OpenDIAS (Document Imaging Archive System)...
    Mai 10 23:24:05 SonyVaio systemd[1]: opendias.service start request repeated too quickly, refusing to start.
    Mai 10 23:24:05 SonyVaio systemd[1]: Failed to start OpenDIAS (Document Imaging Archive System).
    Mai 10 23:24:05 SonyVaio systemd[1]: Unit opendias.service entered failed state.
    [paulo@SonyVaio ~]$ whereis opendias
    opendias: /usr/bin/opendias /usr/lib/opendias /etc/opendias /usr/etc/opendias /usr/share/opendias
    Last edited by BullGates (2014-05-11 00:11:19)

    Update: service start solved. the database and the log files were set as root, after fixing it to the user opendias it works fine.
    Regarding 2) when I use scanimage -L, the output is:
    [paulo@SonyVaio ~]$ scanimage -L
    device `epkowa:net:192.168.1.67:1865' is a Epson Stylus NX330/SX430W/TX430W/ME OFFICE 570W Series flatbed scanner
    but if I issue a command sane-find-scanner it doesn't seem to find the scanner. Seems like a problem from opendias

  • [SOLVED]sensord.service fails to start

    Hi there!
    I made a clean Arch install a couple of days ago and I've had problems trying to get sensord to work apropriately. I've went through the troubleshooting of this particular service and googled a lot the last couple of days about this topic but I found nothing really useful (or nothing that I could really understand. Maybe my search terms are not so effective ).
    # systemctl status sensord -l
    [sudo] password for daniel:
    ● sensord.service - Log hardware monitoring data
    Loaded: loaded (/usr/lib/systemd/system/sensord.service; enabled)
    Active: failed (Result: exit-code) since mié 2014-09-03 09:14:04 CLT; 7min ago
    Process: 4231 ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon (code=exited, status=127)
    sep 03 09:14:04 Ophiel sensord[4231]: /usr/sbin/sensord: error while loading shared libraries: librrd.so.4: cannot open shared object file: No such file or directory
    sep 03 09:14:04 Ophiel systemd[1]: sensord.service: control process exited, code=exited status=127
    sep 03 09:14:04 Ophiel systemd[1]: Failed to start Log hardware monitoring data.
    sep 03 09:14:04 Ophiel systemd[1]: Unit sensord.service entered failed state.
    This is just a minor annoyance. My system performs great and I have no issues with it. It just annoys the heck out of me to see a service failing in my start up screen.
    I don't know if hardware specs or other logs are useful. But if you need more info, just let me know
    Thanks in advance.
    Last edited by Silex89 (2014-09-03 14:16:15)

    Silex89 wrote:My system performs great and I have no issues with it
    Hmmm ...
    Silex89 wrote:This thread is SOLVED.
    Really ? Maybe there are services working but unrequested, have a look here:
    https://bbs.archlinux.org/viewtopic.php?id=186244
    I thought, that you explicitly installed sensord. Do you need a round robin database to visualize graphically your measured values in Nagios e.g. ?
    Last edited by midixinga (2014-09-03 18:06:06)

  • [SOLVED] Netcfg.service not starting with systemd

    I have net-auto-wireless.service enabled and working, but when I try to start netcfg.service, it gives the error:
    Job for netcfg.service failed. See 'systemctl status netcfg.service' and 'journalctl' for details.
    "systemctl status netcfg.service" gives me:
    netcfg.service - Netcfg multi-profile daemon
    Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
    Active: failed (Result: exit-code) since Thu, 04 Oct 2012 13:43:05 -0400; 5min ago
    Main PID: 1510 (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/netcfg.service
    Oct 04 13:43:05 arch systemd[1]: Starting Netcfg multi-profile daemon...
    Oct 04 13:43:05 arch netcfg-daemon[1510]: No recorded netcfg state to restore
    Oct 04 13:43:05 arch systemd[1]: Failed to start Netcfg multi-profile daemon.
    And the output of "journalctl" is:
    Oct 04 13:43:05 arch netcfg-daemon[1510]: No recorded netcfg state to restore
    Oct 04 13:43:05 arch systemd[1]: netcfg.service: main process exited, code=...=1
    Oct 04 13:43:05 arch systemd[1]: Unit netcfg.service entered failed state.
    Am I missing something in setting it up?  I followed the netcfg wiki as closely as I could.
    Last edited by mellowmaroon (2012-10-04 18:46:16)

    Good call, I changed it from "last", to the profile I use in /etc/network.d that net-auto-wireless autoconnects to.  It failed for a different reason after changing the NETWORKS in /etc/conf.d/netcfg, because net-auto-wireless was still running.
    But it works now, thanks for the help!
    I wanted to use netcfg instead of net-auto-wireless because I was unable to find a suitable way to connect to available networks that is non-graphical, and I felt like giving netcfg a try and seeing if it's any easier than running "systemctl restart net-auto-wireless.service" every time I want to reconnect.
    Although my question for this thread is solved, is there any way to have netcfg autoconnect to profiles once I am within range?

  • [SOLVED]systemd service doesn't play sound

    I have a bash script which play via 'sox' a sound file. Something like this:
    play someFile -t alsa -q
    I set up a 'systemd --user' timer which calls this script at certain time. The timer is successfully called and the corresponding service is also successfully called and exits with SUCCESS code. The problem is that sound is not heared.
    When the service is called manually from the bash with
    systemctl start mySoundTimer.service
    the sound is played OK.
    The service file is as follows:
    [Unit]
    Description= A sound timer.
    [Service]
    Type=simple
    ExecStart=/usr/bin/bash /path/to/my/script.sh
    I tried several other combinations in ExecStart:
    ExecStart=/usr/bin/bash -c /path/to/my/script.sh
    ExecStart=/usr/bin/bash "-c /path/to/my/script.sh"
    ExecStart=/usr/bin/bash -c "/path/to/my/script.sh"
    No one is working. What can be the cause of the problem?
    EDIT:
    The cause of this is a different timing behaviour of systemd timer as compared to cron which I used before. (It seemingly takes into account the time of the last run and does not run again if it is called in less than the interval between runs specified in the timer file. And I tested the timer by setting the system date to several seconds before the timer's planned times.)
    Last edited by nbd (2014-08-05 20:23:39)

    msthev wrote:$ man systemd.service
    ExecStart=
    Note that this setting does not directly support shell command
    lines. If shell command lines are to be used they need to be passed
    explicitly to a shell implementation of some kind. Example:
    ExecStart=/bin/sh -c 'dmesg | tac'
    Thanks, changing ExecStart line to
    ExecStart=/bin/bash -c '/bin/echo 100 > /sys/class/backlight/intel_backlight/brightness'
    solved the issue. Though I can recall seeing ExecStart lines with direct shell commands.
    Raynman wrote:
    You should look at tmpfiles.d.
    https://wiki.archlinux.org/index.php/Sy … rary_files
    I'll do that, thanks!

  • [solved] systemd services not starting at boot (or at all)

    On my router, some systemd services fail to start at boot.
    The services are :
    adsl (pppoe connetction on the wan interface)
    shorewall (funny again for a router)
    logind (brings up only tty1, and not the others with a 'timeout' error)
    adsl starts fine manually after booting up
    the others don't work, I have to launch shorewall with the old sysvinit rc script (and it works)
    I really don't know, what happened to logind...
    Last edited by scar (2012-11-30 10:20:44)

    cups: avahi client failed
    adsl: timeout (ppp0 running on eth0, the service did not found eth0)
    shorewall: did not work by the systemctl command, only with the old rc script
    I'm not sure if there was an error with logind, but I've had only tty1, not all the others (I have not touched /etc/inittab)
    since this was a very old install (but up to date), I've decided to reinstall the whole thing,
    Everything works
    (But reinstalling does not solve any problem, it erases the problems...)
    Last edited by scar (2012-11-30 10:21:20)

  • [SOLVED] sshd.service won't wait for interface/netcfg at boot

    Problem summary:
    I have a home server that is configured with a static ip configured using netcfg and ifplugd. In the 'unit' section of sshd.service file I have 'After=sys-subsystem-net-devices-eno1.device' meant to let the service wait before the device is up. Ever since upgrading to systemd however at boot  the sshd.service enters failed state. Only after manually issuing 'systemctl start sshd.service' the service will run and I can connect to it from another machine. I  tried adding 'net-auto-wired.service' to the 'After' line but the result is the same.
    /etc/conf.d/netcfg:
    NETWORKS=(myethernet)
    WIRED_INTERFACE="eno1"
    /etc/network.d/myethernet:
    CONNECTION="ethernet"
    DESCRIPTION="A basic static ethernet connection using iproute"
    INTERFACE="eno1"
    IP="static"
    ADDR="192.168.1.5"
    GATEWAY="192.168.1.254"
    DNS=("83.98.255.11")
    /etc/systemd/system/sshd.service:
    [Unit]
    Description=OpenSSH Daemon
    Wants=sshdgenkeys.service
    #After=net-auto-wired.service sys-subsystem-net-devices-eno1.device
    After=sys-subsystem-net-devices-eno1.device
    [Service]
    ExecStart=/usr/sbin/sshd -D
    ExecReload=/bin/kill -HUP $MAINPID
    KillMode=process
    Restart=always
    [Install]
    WantedBy=multi-user.target
    output of 'systemctl status sshd.service'  after boot:
    sshd.service - OpenSSH Daemon
    Loaded: loaded (/etc/systemd/system/sshd.service; enabled)
    Active: failed (Result: start-limit) since Sat 2013-03-09 22:09:38 CET; 3min 28s ago
    Process: 405 ExecStart=/usr/sbin/sshd -D (code=exited, status=255)
    Mar 09 22:09:38 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:38 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:38 arch-server systemd[1]: Stopping OpenSSH Daemon...
    Mar 09 22:09:38 arch-server systemd[1]: Starting OpenSSH Daemon...
    Mar 09 22:09:38 arch-server systemd[1]: sshd.service start request repeated too quickly, refusing to start.
    Mar 09 22:09:38 arch-server systemd[1]: Failed to start OpenSSH Daemon.
    Mar 09 22:09:38 arch-server systemd[1]: Unit sshd.service entered failed state
    output of 'journalctl -b | grep sshd'
    Mar 09 22:09:36 arch-server sshd[342]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:36 arch-server sshd[342]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:36 arch-server sshd[342]: fatal: Cannot bind any address.
    Mar 09 22:09:36 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:36 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:36 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:36 arch-server sshd[384]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:36 arch-server sshd[384]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:36 arch-server sshd[384]: fatal: Cannot bind any address.
    Mar 09 22:09:36 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:36 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:36 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:36 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:36 arch-server sshd[390]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:36 arch-server sshd[390]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:36 arch-server sshd[390]: fatal: Cannot bind any address.
    Mar 09 22:09:37 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:37 arch-server sshd[393]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:37 arch-server sshd[393]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:37 arch-server sshd[393]: fatal: Cannot bind any address.
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:37 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:37 arch-server sshd[395]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:37 arch-server sshd[395]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:37 arch-server sshd[395]: fatal: Cannot bind any address.
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:37 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:37 arch-server sshd[405]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:09:37 arch-server sshd[405]: error: Bind to port 22 on 192.168.1.5 failed: Cannot assign requested address.
    Mar 09 22:09:37 arch-server sshd[405]: fatal: Cannot bind any address.
    Mar 09 22:09:37 arch-server systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
    Mar 09 22:09:38 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:09:38 arch-server systemd[1]: sshd.service holdoff time over, scheduling restart.
    Mar 09 22:09:38 arch-server systemd[1]: sshd.service start request repeated too quickly, refusing to start.
    Mar 09 22:09:38 arch-server systemd[1]: Unit sshd.service entered failed state
    Mar 09 22:13:19 arch-server sshd[597]: Set /proc/self/oom_score_adj from 0 to -1000
    Mar 09 22:13:19 arch-server sshd[597]: Server listening on 192.168.1.5 port 22.
    Mar 09 22:13:58 arch-server sshd[603]: Set /proc/self/oom_score_adj to 0
    output of 'ip link':
    eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 (...) prefixlen 64 scopeid 0x20<link>
    ether (...) txqueuelen 1000 (Ethernet)
    RX packets 2399 bytes 176947 (172.7 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 846 bytes 112345 (109.7 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 45 base 0x4000
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
    output of 'systemctl' after issuing 'systemctl start sshd.service' :
    UNIT LOAD ACTIVE SUB DESCRIPTION
    proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
    sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1b.0/sound/card0
    sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-eno1.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eno1
    sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-net-wlp2s0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlp2s0
    sys-devices-pci0000:00-0000:...d5:1.0-host6-target6:0:0-6:0:0:0-block-sdc-sdc1.device loaded active plugged U3_Cruzer_Micro
    sys-devices-pci0000:00-0000:...d5:1.0-host6-target6:0:0-6:0:0:0-block-sdc-sdc2.device loaded active plugged U3_Cruzer_Micro
    sys-devices-pci0000:00-0000:...-1\x2d5:1.0-host6-target6:0:0-6:0:0:0-block-sdc.device loaded active plugged U3_Cruzer_Micro
    sys-devices-pci0000:00-0000:00:1f.2-host2-target2:0:0-2:0:0:0-block-sda-sda1.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-pci0000:00-0000:00:1f.2-host2-target2:0:0-2:0:0:0-block-sda-sda2.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-pci0000:00-0000:00:1f.2-host2-target2:0:0-2:0:0:0-block-sda-sda3.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-pci0000:00-0000:00:1f.2-host2-target2:0:0-2:0:0:0-block-sda.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-pci0000:00-0000:00:1f.2-host4-target4:0:0-4:0:0:0-block-sdb-sdb1.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-pci0000:00-0000:00:1f.2-host4-target4:0:0-4:0:0:0-block-sdb.device loaded active plugged FUJITSU_MJA2320BH_G2
    sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devices-pnp0-00:03-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:03/tty/ttyS0
    sys-devices-pnp0-00:04-tty-ttyS1.device loaded active plugged /sys/devices/pnp0/00:04/tty/ttyS1
    sys-devices-virtual-block-dm\x2d0.device loaded active plugged /sys/devices/virtual/block/dm-0
    sys-devices-virtual-block-dm\x2d1.device loaded active plugged /sys/devices/virtual/block/dm-1
    sys-devices-virtual-block-dm\x2d2.device loaded active plugged /sys/devices/virtual/block/dm-2
    sys-subsystem-net-devices-eno1.device loaded active plugged /sys/subsystem/net/devices/eno1
    sys-subsystem-net-devices-wlp2s0.device loaded active plugged /sys/subsystem/net/devices/wlp2s0
    -.mount loaded active mounted /
    dev-hugepages.mount loaded active mounted Huge Pages File System
    dev-mqueue.mount loaded active mounted POSIX Message Queue File System
    home.mount loaded active mounted /home
    media-usbhd\x2dsdc1.mount loaded active mounted /media/usbhd-sdc1
    media-usbhd\x2dsdc2.mount loaded active mounted /media/usbhd-sdc2
    mnt-backup.mount loaded active mounted /mnt/backup
    mnt-data.mount loaded active mounted /mnt/data
    srv.mount loaded active mounted /srv
    sys-kernel-debug.mount loaded active mounted Debug File System
    tmp.mount loaded active mounted /tmp
    var.mount loaded active mounted /var
    systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
    systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
    dbus.service loaded active running D-Bus System Message Bus
    dcron.service loaded active running Periodic Command Scheduler
    [email protected] loaded active running Getty on tty1
    httpd.service loaded active running Apache Web Server
    iptables.service loaded active exited Packet Filtering Framework
    mysqld.service loaded active running MySQL database server
    net-auto-wired.service loaded active running Provides automatic netcfg wired connection
    ntpd.service loaded active running Network Time Service
    rc-local.service loaded active exited /etc/rc.local Compatibility
    rtorrent.service loaded active running rTorrent Service
    sshd.service loaded active running OpenSSH Daemon
    sshguard.service loaded active running Block hacking attempts
    systemd-cryptsetup@luks_backup.service loaded active exited Cryptography Setup for luks_backup
    systemd-cryptsetup@luks_data.service loaded active exited Cryptography Setup for luks_data
    systemd-cryptsetup@luks_swap.service loaded active exited Cryptography Setup for luks_swap
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-modules-load.service loaded active exited Load Kernel Modules
    systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-user-sessions.service loaded active exited Permit User Sessions
    systemd-vconsole-setup.service loaded active exited Setup Virtual Console
    dbus.socket loaded active running D-Bus System Message Bus Socket
    dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
    lvmetad.socket loaded active listening LVM2 metadata daemon socket
    systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active running Journal Socket
    Last edited by rwd (2013-03-10 08:32:59)

    WonderWoofy wrote:Does enabling the socket work? Sshd with systemd has socket activation, which is awesome.
    Nice, this solves it indeed. thanks!
    For anyone with the same problem it was just a matter of:
    # systemctl disable sshd.service
    # systemctl enable sshd.socket
    see https://wiki.archlinux.org/index.php/Se … shd_daemon
    Last edited by rwd (2013-03-10 09:08:43)

  • [SOLVED] tmux ncmpcpp showing solid colors

    I noticed this happening after I switched from xterm to urxvt, and it ONLY happens in urxvt. THIS is what is happening and only happens while scrolling. Any ideas as to what's going on?
    Last edited by Squiddles (2012-03-21 07:14:56)

    Squiddles wrote:Oh man. I don't even know why, but I had "TERM=xterm-256colors" in my .bashrc. Anyways, now tmux dislpays "screen" and plain displays "rvxt-unicode-256color" and the color fills are no more in ncmpcpp! Thanks!
    No problem: please remember to mark the thread as solved. (It might also help to edit the title and stick tmux in there in terms of searchability).
    While I'm here, I might as well ask: Should I be setting TERM manually anywhere at all? And should I be setting $TERM to something to remove any chance of other compatibility breaks? It looks like leaving it this way would prevent that.
    No. Set it in your tmux.conf as per the man page quoted above. Let your terminal and terminfo handle it outside tmux - that will avoid any "irregularities".

  • [SOLVED]intel_backlight service does not set backlight at boot

    Hi everyone,
    I have a Dell inspiron 3542 laptop.The problem is that even though the backlight.service saves and loads the backlight value it does not set it.For example:
    xbacklight -get
    outputs the saved backlight value but on screen it appears around 1-5% and only when i change it,it goes back to normal.According to [email protected] manpage"if udev property ID_BACKLIGHT_CLAMP is not set to false value, the brightness is clamped to a value of at least 1 or 5% of maximum brightness, whichever is greater. This restriction will be removed when the kernel allows user space to reliably set  a brightness value which does not turn off the display."
    My Question is how can i set the udev property
    Thank you for any suggestions
    Last edited by Liberis (2015-05-11 00:49:08)

    I have to admit that the problem and the question was not well stated.I wanted to override backlight clamping because i thought that was the problem.
    Ill try to post the solution as clear as i can (my english knowledge is not the best) .
    The laptop im using has hybrid graphics(nvidia and intel) im using the open source drivers with i915 and nouveau modules and im using lvm2 dm-crypt setup
    I tried the following
    Recompiling systemd trying to revert this patch :https://github.com/systemd/systemd/comm … ca6c595c76
    Setting -no-clamp option (could not make it right i think) in [email protected] with(could not make it work i think i did not do it correct)
    as stated at http://lists.freedesktop.org/archives/s … 27138.html
    systemctl edit [email protected]
    [Service]
    ExecStart=
    ExecStop=
    ExecStart=/usr/lib/systemd/systemd-backlight -no-clamp load %i
    ExecStop=/usr/lib/systemd/systemd-backlight -no-clamp save %i
    I could not find a way to set ID_BACKLIGHT_CLAMP in udev properties i did not quite understand what it was asking to be honest.
    Solution
    EDIT:1 Adding ENV{ID_BACKLIGHT_CLAMP}="0" in backlight section in /usr/lib/udev/rules.d/99-systemd.rules also solves the issue as the man page says.
    Do not judge these might were completely wrong moves but with little to no knowledge only trial and error could help
    I  could also set the saved backlight at boot by blacklisting the i915 module and leaving nouveau.
    The strange thing is that i915 is still being  loaded while using PRIME
    glxinfo | grep "OpenGL renderer"
    OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
    and the lsmod output
    lsmod | grep i915
    i915 1024000 4
    intel_gtt 20480 1 i915
    drm_kms_helper 102400 2 i915,nouveau
    drm 282624 8 ttm,i915,drm_kms_helper,nouveau
    i2c_algo_bit 16384 2 i915,nouveau
    video 24576 2 i915,nouveau
    button 16384 2 i915,nouveau
    i2c_core 53248 10 drm,i915,i2c_i801,i2c_hid,i2c_designware_platform,drm_kms_helper,i2c_algo_bit,v4l2_common,nouveau,videodev
    also journalctl -xe output
    -- Unit systemd-backlight@backlight:intel_backlight.service has begun starting up.
    May 11 02:43:20 archlinux kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
    May 11 02:43:20 archlinux kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input11
    May 11 02:43:20 archlinux kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    May 11 02:43:20 archlinux kernel: [drm] Initialized i915 1.6.0 20150130 for 0000:00:02.0 on minor 1
    May 11 02:43:20 archlinux kernel: [drm:hsw_unclaimed_reg_detect.isra.10 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this proble
    May 11 02:43:20 archlinux kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input9
    May 11 02:43:20 archlinux kernel: input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
    May 11 02:43:20 archlinux kernel: Console: switching to colour frame buffer device 170x48
    May 11 02:43:20 archlinux kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    May 11 02:43:20 archlinux kernel: i915 0000:00:02.0: registered panic notifier
    May 11 02:43:20 archlinux systemd[1]: Found device ST1000LM024_HN-M101MBB sda1.
    -- Subject: Unit dev-disk-by\x2duuid-7D28\x2d5BEB.device has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- The start-up result is done.
    May 11 02:43:20 archlinux systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
    -- Subject: Unit systemd-backlight@backlight:intel_backlight.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit systemd-backlight@backlight:intel_backlight.service has finished starting up.
    EDIT:2 Avoided the blacklisting by setting nouveau early KMS to boot earlier at mkinitcpio.conf and the result is the same
    I think nouveau has to be loaded before i915 otherwise intel_backlight service is not working even though
    systemctl status systemd-backlight@intel_backlight.service
    shows no errors
    I have to say that i have not quite understood why this is working like this but i would love if anyone can explain it.
    i can provide more info if needed
    Last edited by Liberis (2015-05-12 00:51:38)

  • [solved] tmux rebinding prefix doesn't work?

    Hi everybody,
    I decided to try tmux out, so I installed it and played around with it abit ... okay, it's pretty neat, but I've got to bind the keys to the same way I bound them for screen or I will go insane, so copy and paste, from the man page:
    Commands to be run when the tmux server is started may be placed in the ~/.tmux.conf configuration file. Common examples include:
    Changing the default prefix key:
    set-option -g prefix C-a
    unbind-key C-b
    bind-key C-a send-prefix
    So I stick
    set-option -g prefix C-a
    unbind-key C-b
    bind-key C-a send-prefix
    in ~/.tmux, that unsets the "C-b" binding, (so I can't do anything), but it doesn't bind "C-a" successfully.  Has anybody here successfully rebound their prefix?
    Last edited by pseudonomous (2010-04-09 22:16:14)

    Hi, Jasonwryan.  Thanks for your response.
    It turns out the problem was tmux wasn't automatically reading ~/.tmux, if I pass
    tmux -f ~/.tmux
    then I can get your config to work, I'll be the example from the man page works too.
    Edit:
    To elaborate on this problem, the file is supposed to be called "tmux.conf", not tmux.  This is what I get for not reading carefully enough.
    Last edited by pseudonomous (2010-04-09 22:22:20)

  • [SOLVED]pgl service error

    I'm on a fresh Arch installation that I set up yesterday. I installed KDE and a few applications, including pgl-cli.
    When I run systemctl start so that pgl starts working, it hangs for a minute and then errors out with "Job for pgl.service failed."
    I tried deleting my settings and using the default ones from the package, but the same thing happens.
    Every other service I enabled worked just fine (kdm, networkmanager, etc). Only pgl has this error. The wiki and AUR comments don't mention this error, so I'm stuck.
    Does anyone have this issue as well?
    Thanks in advance.
    Last edited by GRem (2013-06-14 23:02:53)

    It doesn't hang, it’s working really hard to download all the block lists you have selected (or not, the defaults are pretty extensive). You can see it chugging along by taking periodic peeks at “systemctl status pgl.service” to see the different wget being executed.
    Anyway, I’ve updated the pgl packages to deactivate the source of the problem (i.e. systemd 90s time out) while I work on a more elegant solution.

  • Sync Services malfunction: attempt to insert nil

    I've been using Entourage (Office 2008) and iCal for years, with calendar entries in Entourage syncing to iCal (and thence to my iPhone and back again).
    Recently, the syncing process has gone haywire.  By and large, Sync Services is only updating old calendar entries (2008 and earlier) into iCal.  Some (but not all) repeating events get synced, so I see a handful of birthdays in 2011 and beyond in Cal. But nothing else more recent than 2008. It appears that the syncing process starts, but then aborts for reasons unknown.
    The console log is chock full of Sync Services errors. The following is but a snippet.
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.066 iCalExternalSync[4950:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]#2  0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
    #3  0x00007fff88e3e564 in +[NSException raise:format:] ()
    #4  0x00007fff894ffe53 in -[NSCFSet addObject:] ()
    #5  0x0000000100015eec in ?? ()
    #6  0x000000010000fc7d in ?? ()
    #7  0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
    #8  0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
    #9  0x000000010000f0ec in ?? ()
    #10 0x000000010001e9d0 in ?? ()
    #11 0x0000000100001e50 in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.257 iCalExternalSync[4950:903] [ICalExternalSync ]#2  0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #3  0x00007fff88e3e564 in +[NSException raise:format:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #4  0x00007fff894ffe53 in -[NSCFSet addObject:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #5  0x0000000100015eec in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #6  0x000000010000fc7d in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #7  0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #8  0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #9  0x000000010000f0ec in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #10 0x000000010001e9d0 in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #11 0x0000000100001e50 in ?? ()
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.258 iCalExternalSync[4950:903] [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:32 AM          iCalExternalSync[5076]          [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
    9/30/11 9:56:32 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:32.531 iCalExternalSync[5076:903] [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
    9/30/11 9:56:35 AM          iCalExternalSync[5076]          [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:35 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:35.319 iCalExternalSync[5076:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    The repeated messages about "attempt to insert nil" seems suspect, but I'm not sure what to do about it.
    Syncservices is generating many megabytes of log files, starting a few days ago.
    My troubleshooting so far:
    reboot OSX
    disable the Sync preference in Entourage ('Synchronize events and tasks'), and re-enable
    quit/ relaunch Entourage (many times)
    quit/relaunch iCal (many times)
    rebuild the Entourage database (in case it had become corrupted)
    delete the iCal prefs and database, per an article at http://www.office.mvps.org/syncservices/ical.html which said:Deleting these files should restore your default iCal calendars:
    ~/library/preferences/com.apple.iCal.AlarmScheduler.plist
    ~/library/preferences/com.apple.iCal.helper.plist
    ~/library/preferences/com.apple.iCal.plist
    and delete the contents of
    ~/Library/Calendars/Calendar Cache
    re-enable the Sync preference in Entourage. After doing so, The Entourage calendar in iCal reappeared, but once again, only really old calendar entries from Entourage were transferred over. Sync Services announced there was a large number of conflicts that needed to be resolved.  I granted permission, but the listed events didn't appear.
    I don't have MobileMe. I don't sync to Google Calendars or anything else.
    My iPhone is now stranded - I don't dare sync it with iTunes as the calendar information which is in it will get clobbered.
    Any ideas on how to restore proper syncing?

    OP reporting more information.
    I used Time Machine to go back to last week when syncing was working, and restored all the sync-related files that I could find:
    ~/Library/Application Support/Calendars
    ~/Library/Application Support/iSync
    ~/Library/Application Support/SyncServices
    ~/Library/Application Support/iCal
    ~/Library/Application Support/PreferencesSync
    ~/Library/Preferences/iCal.plist
    ~/Library/Preferences/iSync.plist
    This had the beneficial effect of restoring most of my event data from iCal into Entourage. (it's pretty much the view in iCal that I had last week). However, syncing is still not working. Any changes made to events on either side (Entourage or iCal) don't get synced across.
    Every time SyncServices runs, it generates thousands of errors in the log. It seems to be logging in Debug mode, as if it knows there's something wrong. I've scanned through the logged messages, but nothing jumps out as being the cause of the non-syncing.
    Perhaps I'll have to reinstall OSX from scratch :-(

  • [Solved]Web Service Data Control operation not visible in Data Controls

    Hi!
    I've created Web Service Data Control (named MyDataControl ) in my DataModel project for my web application (ADF BC 10.1.3.3). I've finished the wizard successfully (added initiate operation to the right side in step 2: Data Control Operations) but when the wizard finishes the initiate operation is not visible in the Data Controls (MyDataControl is visible without the operation). I'm using CVS so I think maybe some files were write protected while creating the control.
    These are the files where Data Control is written to:
    DataControls.dcx:
      <AdapterDataControl id="MyDataControl" FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
                          ImplDef="oracle.adfinternal.model.adapter.webservice.WSDefinition" SupportsTransactions="false"
                          SupportsSortCollection="false" SupportsResetState="false" SupportsRangesize="false"
                          SupportsFindMode="false" SupportsUpdates="false" Definition="MyDataControl"
                          BeanClass="MyDataControl" xmlns="http://xmlns.oracle.com/adfm/datacontrol">
        <Source>
          <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice" name="MyDataControl" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="my_wsdl_location">
            <service name="MyService" namespace="urn:eu.emsa.ssn" connection="MyDataControl">
              <port name="MyServicePort">
                <operation name="initiateMyService">
                  <dataformat format="XML"/>
                </operation>
              </port>
            </service>
          </definition>
        </Source>
      </AdapterDataControl>and MyDataControl.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.41.57" id="MyDataControl"
              BeanClass="MyDataControl" isJavaBased="false">
      <MethodAccessor id="initiateMyService">
        <ParameterInfo id="ReplyTo_Address" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="ReplyTo_PortType" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="ReplyTo_ServiceName_PortName" Type="java.lang.Object" isStructured="false"/>
        <ParameterInfo id="ReplyTo_ServiceName" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="MessageID" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="payload" Type="java.lang.String" isStructured="false"/>
      </MethodAccessor>
    </JavaBean>A couple of days ago I've created a Data Control for another BPEL process the same way and everything was OK.
    Any ideas why this is not working?
    Regards!
    BB
    Message was edited by:
    Brokenbone

    Found out the reason. The problem was in ...MyApp\.adf\META-INF\connections.xml file which had write protection.
    BB

Maybe you are looking for