Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
3654 views
How to reset the printing system (CUPS)?
I would like to know how to cleanly reset the printing system (CUPS) to its initial state. Alternatively, it may suffice for me to know how to take a "snapshot" of CUPS configuration and to roll back to it later. This is to debug the following issue, which I could reproduce on several occasions on L...
I would like to know how to cleanly reset the printing system (CUPS) to its initial state. Alternatively, it may suffice for me to know how to take a "snapshot" of CUPS configuration and to roll back to it later. This is to debug the following issue, which I could reproduce on several occasions on Linux Mint 21 and on Ubuntu 22.04. After booting a freshly installed Linux Mint 21 or Ubuntu 22.04 and connecting the machine to my office LAN for the first time, network TOSHIBA e-STUDIO3015AC printers are automatically added to the list of printers as "driverless" and function properly. However, after restarting the machine and after the printers get first removed, then added back to the list, the selection of 2-sided printing in the printing dialog is getting ignored. (The printing becomes one-sided unless changed in the printer options, but if printer option is set to two-sided, then one-sided printing does not work.) I noticed that the second time the automatically generated /etc/cups/printers.conf file contains many extra lines compared to the first time the printers were used, including this one:
Option sides one-sided
*This is basically a duplicate of my question on AskUbuntu.*
Alexey (2310 rep)
Sep 10, 2022, 08:00 AM • Last activity: Aug 1, 2025, 12:03 PM
2 votes
2 answers
3554 views
How do I enable a configuration in a Kernel?
I am trying to enable KASAN in my Manjaro distribution for a project, but I have no idea how to. The documentation here (https://www.kernel.org/doc/html/v4.14/dev-tools/kasan.html) says just to CONFIG_KASAN = y but I have no idea where to do and what steps should I take before that, I haven't config...
I am trying to enable KASAN in my Manjaro distribution for a project, but I have no idea how to. The documentation here (https://www.kernel.org/doc/html/v4.14/dev-tools/kasan.html) says just to CONFIG_KASAN = y but I have no idea where to do and what steps should I take before that, I haven't configured the kernel before, I am a beginner. So far I have found out that I can see what configurations are done by looking at /proc/config.gz Here it says that KASAN is not enabled, but I don't know where to go from here. Should I just do an echo CONFIG_KASAN= y, or do I have to rebuild the Kernel and such? Please help me.
winterlyrock (21 rep)
Apr 18, 2020, 07:23 AM • Last activity: Jul 30, 2025, 04:01 AM
0 votes
1 answers
2483 views
CachyOS - Fastfetch configuration
I am using the fastfetch command in CachyOS. I would like the captions that are on the left to be in the middle. How to do it? My configuration file looks like this: ``` --separator ": " --set-keyless HardwareStart=┌────────── \e[1mSystem Information\e[0m ──────────┐ --set-keyless InformationEnd=└──...
I am using the fastfetch command in CachyOS. I would like the captions that are on the left to be in the middle. How to do it? My configuration file looks like this:
--separator ": "
--set-keyless HardwareStart=┌────────── \e[1mSystem Information\e[0m ──────────┐
--set-keyless InformationEnd=└────────────────────────────────────────┘
--structure HardwareStart:OS:Kernel:Shell:DE:Uptime:InformationEnd:Colors
--set-keyless Colors=            \e[38m \e[37m \e[36m \e[35m \e[34m \e[33m \e[32m \e[31m
I am a novice user of systems based on the arch family. <img src=" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy">
BuBu (1 rep)
Jun 14, 2023, 08:08 AM • Last activity: Jul 26, 2025, 12:04 PM
1 votes
1 answers
2098 views
Manjaro - how to set in routing table that addresses to internet come out by specific IP?
I have a connection via VPN with my work. I know that internet connection (for example to 8.8.8.8) goes through my work network (only when I am connected to VPN). How to configure ip tables to force that connections to internet (for example 8.8.8.8) avoid work network ? Using @Julie help in comments...
I have a connection via VPN with my work. I know that internet connection (for example to 8.8.8.8) goes through my work network (only when I am connected to VPN). How to configure ip tables to force that connections to internet (for example 8.8.8.8) avoid work network ? Using @Julie help in comments I did managed to discover some options: <img src=" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy"> Nevertheless, after checking 'Use this connection only for resources...' I can't ping machines in VPN network. Can you tell me how should I deal with it ? I guess that I should click 'Add' and set: Address = address of some machine in VPN Netmask = I can get it from ifconfig (in VPN interface) Gateway - as in case of netmask Metri - I have no idea ? Am I right ?
user188811
May 19, 2017, 04:25 PM • Last activity: Jul 18, 2025, 07:04 PM
0 votes
1 answers
50 views
finding location of modules shown from "module list"
my `.bashrc` has a `module add shared cmsh cmd slurm` line, followed only by a `module load slurm`. how can I find the underlying configuration of the `module` program and **specifically** where the modules `cmsh` and `cmd` live ? I want to find out where the path `/cm/local/apps/cmd/bin/cmsh` is ge...
my .bashrc has a module add shared cmsh cmd slurm line, followed only by a module load slurm. how can I find the underlying configuration of the module program and **specifically** where the modules cmsh and cmd live ? I want to find out where the path /cm/local/apps/cmd/bin/cmsh is getting added to my PATH.. which somehow gets lost after doing particular yum installs where I think some dependency items come along for the ride and upset this configuration that results in whenever a new terminal is opened that .bashrc *module add items* all fails. I assume the module add cmsh causes that PATH modification how do I find that particular cmsh.? "module" file ?
ron (8647 rep)
Jul 15, 2025, 03:26 PM • Last activity: Jul 15, 2025, 04:02 PM
0 votes
2 answers
3392 views
Where did my network-scripts go?
I am currently trying to set up a network bridge. Basically, I modified some files in `/etc/sysconfig/network-scripts/` and messed something up to the point where I could no longer access the internet with the current ethernet connection I had. So I looked up how to reset my network settings to defa...
I am currently trying to set up a network bridge. Basically, I modified some files in /etc/sysconfig/network-scripts/ and messed something up to the point where I could no longer access the internet with the current ethernet connection I had. So I looked up how to reset my network settings to default and basically said to remove the files in /etc/sysconfig/network-scripts/ (I did back up the folder before doing anything) and then ran $systemctl restart NetworkManager.service Basically it just deleted files like ifcfg-eno1np0, ifcfg-eno2np1,etc. Then I restarted the computer itself and I was able to regain internet service and when I run $ifconfig it looks like all my settings are back and internet service works but when I go back to /etc/sysconfig/network-scripts/, I don't see any of the files, ifcfg-eno1np0, ifcfg-eno2p1, etc back in that directory so where are the current network settings being stored since it apparently did return back to its default state?
CodeRich (177 rep)
Mar 11, 2021, 10:05 PM • Last activity: Jul 15, 2025, 05:06 AM
2 votes
1 answers
3361 views
vsftpd: virtual user not able to upload file or create directory
I created 2 virtual users for ftp (vsftpd): bholu1 and bholu2 I wanted bholu1 to have write access, access to make directory and upload permission. For that I have set up the user bholu1 as below but still he isn't able to upload file or create a directory. ( I have followed [this link][1] to achiev...
I created 2 virtual users for ftp (vsftpd): bholu1 and bholu2 I wanted bholu1 to have write access, access to make directory and upload permission. For that I have set up the user bholu1 as below but still he isn't able to upload file or create a directory. ( I have followed this link to achieve this) See below: I have set per-user configurability for both user :bholu1 and bholu3 ravbholua@ravi:/etc/vsftpd_user_conf$ pwd /etc/vsftpd_user_conf ravbholua@ravi:/etc/vsftpd_user_conf$ cat bholu1 anon_world_readable_only=NO write_enable=YES anon_upload_enable=YES ravbholua@ravi:/etc/vsftpd_user_conf$ cat bholu3 anon_world_readable_only=NO ravbholua@ravi:/etc/vsftpd_user_conf$ Both are able to read the login directory. But as per the configuration for bholu1, he should be able to upload as well as create a new directory but he isn't able to do so. Please see below the conf. file: ravbholua@ravi:/etc$ cat vsftpd.conf pam_service_name=/etc/pam.d/vsftpd.virtual user_config_dir=/etc/vsftpd_user_conf anonymous_enable=NO local_enable=YES #write_enable=NO #anon_upload_enable=NO #anon_mkdir_write_enable=NO #anon_other_write_enable=NO anon_world_readable_only=YES chroot_local_user=YES guest_enable=YES guest_username=virtual listen=YES listen_port=10021 pasv_min_port=30000 pasv_max_port=30999 ravbholua@ravi:/etc$ It doesn't make any difference even if I uncomments all lines which are commented as shown above in the config. file. Also have a look below to see what happens when bholu1 logs in ftp server: ravbholua@ravbholua-Aspire-5315:~$ ftp -p rs 10021 Connected to ravi.com. 220 (vsFTPd 3.0.2) Name (rs:ravbholua): bholu1 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> put soul.txt local: soul.txt remote: soul.txt 227 Entering Passive Mode (109,202,101,166,117,249). 553 Could not create file. ftp> mkdir a 550 Permission denied. ftp> May I request you to say what am I missing in my configuration.
Ravi (3913 rep)
Oct 20, 2013, 06:51 AM • Last activity: Jul 11, 2025, 07:05 AM
0 votes
1 answers
27 views
Where are the original UFW rules sourced from?
I don't mean the files under `/etc/ufw/`, as best I can tell, because I have rules with comments in them and those comments do not exist in any file in that directory. The `.rules` there are the derived commands for iptables, and their comments contain only the app name. Say `ufw status numbered` sh...
I don't mean the files under /etc/ufw/, as best I can tell, because I have rules with comments in them and those comments do not exist in any file in that directory. The .rules there are the derived commands for iptables, and their comments contain only the app name. Say ufw status numbered shows this rule:
To                         Action      From
     --                         ------      ----
[ 1] MyAppName                  ALLOW IN    Anywhere                   # myuniquecomment
MyAppName is defined under /etc/ufw/applications.d/ but I can't find myuniquecomment except in the output of ufw commands. So where are the originals located?
Walf (1567 rep)
Jul 10, 2025, 02:47 AM • Last activity: Jul 10, 2025, 06:03 AM
0 votes
2 answers
88 views
Saving output of `bash --verbose` to a file
### Issue I want to troubleshoot problems with my `bash` environment, therefore I would like to study exactly which config files `bash` is opening and when. ### What I tried ```bash bash --verbose | tee txt.tmp ``` ^^^ this doesn't really work, as bash is creating a sub-shell inside the current one....
### Issue I want to troubleshoot problems with my bash environment, therefore I would like to study exactly which config files bash is opening and when. ### What I tried
bash --verbose | tee txt.tmp
^^^ this doesn't really work, as bash is creating a sub-shell inside the current one. ### PS I feel like the answer to this must be something extremely trivial, yet this is the first time I haven't been able to pipe terminal output to a file, so it strikes me, and I have no idea how I would do it differently!
Signor Pizza (25 rep)
Jul 9, 2025, 09:00 AM • Last activity: Jul 9, 2025, 10:24 PM
0 votes
0 answers
20 views
With the Openbox window manager, can I force a window to have window decorations?
I am running a closed-source Java application in the Openbox window manager. The application runs, but the application's main window is displayed without window decorations. Presumably, the application itself is requesting that its main window be displayed without window decorations. I would prefer...
I am running a closed-source Java application in the Openbox window manager. The application runs, but the application's main window is displayed without window decorations. Presumably, the application itself is requesting that its main window be displayed without window decorations. I would prefer that the application's main window have window decorations. My question is: Is it possible to forcefully add window decorations to an already created and displayed window? If not, why not? Possibly relevant X properties:
$  obxprop  |  grep  DEC
_OL_DECOR_DEL(ATOM) = _OL_DECOR_HEADER, _OL_DECOR_RESIZE, _OL_DECOR_CLOSE
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _OB_WM_ACTION_UNDECORATE
I have tried the following: 1. Selecting Un/Decorate in the window’s Openbox client menu. 2. Setting the following in Openbox’s rc.xml file.
yes
3. Removing the _OL_DECOR_DEL property with xprop -remove _OL_DECOR_DEL. None of the above have had any effect. The window refuses to display decorations.
mpb (1831 rep)
Jul 8, 2025, 08:06 PM
1 votes
2 answers
182 views
Fedora CoreOS: how can I add a user to dialout group?
## Problem Context: Fedora CoreOS operating system (read-only root filesystem). I'm trying to add `myuser` to group `dialout` so I can access `/dev/ttyS1` via its group owner. However, during first boot, Ignition phase keeps failing. **Questions**: - How can I add a custom user to group `dialout`? -...
## Problem Context: Fedora CoreOS operating system (read-only root filesystem). I'm trying to add myuser to group dialout so I can access /dev/ttyS1 via its group owner. However, during first boot, Ignition phase keeps failing. **Questions**: - How can I add a custom user to group dialout? - How is it possible that it fails with the 2 error messages below ("group doesn't exist" and "group already exists")? Docs reference: [Fedora CoreOS Docs | Configuring Groups](https://docs.fedoraproject.org/en-US/fedora-coreos/authentication/#_configuring_groups) ## What I tried ### Adding User to Group It fails with message _**"useradd: group 'dialout' does not exist\n"**_. Butane config:
variant: fcos
version: 1.6.0
passwd:
  users:
    - name: myuser
      # Password: mypassword
      password_hash: "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4"
      groups:
        - sudo
        - dialout
      home_dir: /home/myuser
      shell: /bin/bash
      uid: 1001
Ignition config:
{
  "ignition": {
    "version": "3.5.0"
  },
  "passwd": {
    "users": [
      {
        "groups": [
          "sudo",
          "dialout"
        ],
        "homeDir": "/home/myuser",
        "name": "myuser",
        "passwordHash": "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4",
        "shell": "/bin/bash",
        "uid": 1001
      }
    ]
  }
}
Logs (journalctl):
-none
...
ignition: files: ensureUsers: op(2): [started] creating or modifying user "myuser"
ignition: files: ensureUsers: op(2): executing: "useradd" "--root" "/sysroot" "--home-dir" "/home/myuser" "--create-home" "--password" "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4" "--uid" "1001" "--groups" "sudo,dialout" "--shell" "/bin/bash" "myuser"
ignition: files: ensureUsers: op(2): [failed]   creating or modifying user "myuser": exit status 6: Cmd: "useradd" "--root" "/sysroot" "--home-dir" "/home/myuser" "--create-home" "--password" "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4" "--uid" "1001" "--groups" "sudo,dialout" "--shell" "/bin/bash" "myuser" Stdout: "" Stderr: "useradd: group 'dialout' does not exist\n"
systemd: ignition-files.service: Main process exited, code=exited, status=1/FAILURE
...
systemd: ignition-files.service: Failed with result 'exit-code'.
### Creating Group AND Adding User to Group This time it fails with message _**"groupadd: group 'dialout' already exists\n"**_. Butane config:
variant: fcos
version: 1.6.0
passwd:
  groups:
    - name: dialout
      gid: 18  # Standard dialout GID
  users:
    - name: myuser
      # Password: mypassword
      password_hash: "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4"
      groups:
        - sudo
        - dialout
      home_dir: /home/myuser
      shell: /bin/bash
      uid: 1001
Ignition config:
{
  "ignition": {
    "version": "3.5.0"
  },
  "passwd": {
    "groups": [
      {
        "gid": 18,
        "name": "dialout"
      }
    ],
    "users": [
      {
        "groups": [
          "sudo",
          "dialout"
        ],
        "homeDir": "/home/myuser",
        "name": "myuser",
        "passwordHash": "$y$j9T$tZyPwp1NEbj9P6WAv.F720$Rj9PJnLqoTph5k2Qd5hAPLF6Evsp9TEgCz5ZkmwMHT4",
        "shell": "/bin/bash",
        "uid": 1001
      }
    ]
  }
}
Logs (journalctl):
-none
ignition: files: ensureGroups: op(1): [started] adding group "dialout" 
ignition: files: ensureGroups: op(1): executing: "groupadd" "--root" "/sysroot" "--gid" "18" "--password" "*" "dialout"
ignition: files: ensureGroups: op(1): [failed]   adding group "dialout": exit status 9: Cmd "groupadd" "--root" "/sysroot" "--gid" "18" "--password" "*" "dialout" Stdout: "" Stderr: "groupadd: group 'dialout' already exists\n"
...
systemd: ignition-files.service: Main process exited, code=exited, status=1/FAILURE
systemd: ignition-files.service: Failed with result 'exit-code'.
systemd: Failed to start ignition-files.service - Ignition (files).
mikyll98 (121 rep)
May 15, 2025, 12:55 PM • Last activity: Jul 3, 2025, 02:47 PM
30 votes
9 answers
138854 views
Using OpenVPN with systemd
Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running `CrunchBang Linux 3.2.0-4-amd64 Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux` and I just switched over to us...
Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running CrunchBang Linux 3.2.0-4-amd64 Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux and I just switched over to using systemd. The changeover went smooth enough but now I can't get my OpenVPN client to come up using systemd I've tried following these configuration tutorials, but nothing works. - http://fedoraproject.org/wiki/Openvpn - http://d.stavrovski.net/blog/how-to-install-and-set-up-openvpn-in-debian-7-wheezy - And looked at a bunch of other different guides. I can bring up the tunnel from the command line with openvpn /etc/openvpn/vpn.conf. So I know the config file is good, it was working with sysvinit just fine so I'm not surprised. I then attempt to just do a status with systemctl status openvpn@vpn.service resulting in: $ sudo systemctl status openvpn@vpn.service openvpn@vpn.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) I realized that I need to do some setup for services. I want to be prompted for a password so I followed this guide to create an openvpn@.service in /etc/systemd/system/. But restarting the OpenVPN service still doesn't prompt for a password. $ sudo service openvpn restart [ ok ] Restarting openvpn (via systemctl): openvpn.service. The Fedora tutorials go through the steps of creating symbolic links, but don't create any of the .service files in the walk-throughs. What piece am I missing? Do I need to create an openvpn@vpn.service? If so, where exactly do I place it? I feel like it shouldn't be this difficult, but I can't seem to find any solution that works for me. I'm happy to provide any more information that's needed. ## Solution -rw-r--r-- 1 root root 319 Aug 7 10:42 openvpn@.service [Unit] Description=OpenVPN connection to %i After=network.target [Service] Type=forking ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/etc/openvpn [Install] WantedBy=multi-user.target openvpn@.service (END) Symlink: lrwxrwxrwx 1 root root 36 Aug 7 10:47 openvpn@vpn.service -> /lib/systemd/system/openvpn@.service **Prompt For Password** ----------------------- Everything is working now, except for being prompted for a password to connect. I've attempted this solution . I tweaked the file from above just a bit, and added an Expect script like in the example. Working like a charm! My files are below. Modified lines from the above /lib/systemd/system/openvpn@.service ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --management localhost 5559 --management-query-passwords --management-forget-disconnect --config /etc/openvpn/%i.conf ExecStartPost=/usr/bin/expect /lib/systemd/system/openvpn_pw.exp Expect script /lib/systemd/system/openvpn_pw.exp. Make sure to do the following: - chmod +x on the script. - Have telnet installed Code of the expect script: #!/usr/bin/expect set pass [exec /bin/systemd-ask-password "Please insert Private Key password: "] spawn telnet 127.0.0.1 5559 expect "Enter Private Key Password:" send "password 'Private Key' $pass\r" expect "SUCCESS: 'Private Key' password entered, but not yet verified" send "exit\r" expect eof **It should be noted that the above solution does log your password entered in plaintext in the following logs in /var/log/syslog and /var/log/daemon.log**
RoraΖ (443 rep)
Aug 7, 2014, 01:54 PM • Last activity: Jun 30, 2025, 01:09 AM
0 votes
1 answers
6386 views
vsftpd fails to start due to configuration error: "status=2/INVALIDARGUMENT" in vsftpd.service
I am configuring with Ansible a VM running Ubuntu to run this FTP server: `vsftpd`, however after the installation when I inspect the logs with `journalctl -u vsftpd.service` I see: ``` Nov 20 17:49:58 my-vm systemd[1]: Starting vsftpd FTP server... Nov 20 17:49:58 my-vm systemd[1]: Started vsftpd F...
I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see:
Nov 20 17:49:58 my-vm systemd: Starting vsftpd FTP server...
Nov 20 17:49:58 my-vm systemd: Started vsftpd FTP server.
Nov 20 17:50:06 my-vm systemd: Stopping vsftpd FTP server...
Nov 20 17:50:06 my-vm systemd: Stopped vsftpd FTP server.
Nov 20 17:50:06 my-vm systemd: Starting vsftpd FTP server...
Nov 20 17:50:06 my-vm systemd: Started vsftpd FTP server.
Nov 20 17:50:06 my-vm systemd: vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 20 17:50:06 my-vm systemd: vsftpd.service: Failed with result 'exit-code'.
I am not sure what's wrong with the configuration I am setting at /etc/vsftpd.conf, this:
anonymous_enable=NO        # disable anonymous login
local_enable=YES           # permit local logins
write_enable=YES           # enable FTP commands which change the filesystem
local_umask=022            # value of umask for file creation for local users
dirmessage_enable=YES      # enable showing of messages when users first enter a new directory
xferlog_enable=YES         # a log file will be maintained detailing uploads and downloads
connect_from_port_20=YES   # use port 20 (ftp-data) on the server machine for PORT style connections
xferlog_std_format=YES     # keep standard log file format
listen=NO                  # prevent vsftpd from running in standalone mode
listen_ipv6=YES            # THIS DOES NOT FIX THE FOLLWING: 'journalctl -u vsftpd.service' gives: 'vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT'
pam_service_name=vsftpd    # name of the PAM service vsftpd will use
userlist_enable=YES        # enable vsftpd to load a list of usernames
tcp_wrappers=YES           # turn on tcp wrappers
ls_recurse_enable=YES      # allow to recursively inspect the file system (no problem with heavy I/O)
chroot_local_user=YES      # local users limited to their home directories after login (chroot jail)
allow_writeable_chroot=YES # allow chroot jail for local users to be writable
pasv_enable=YES            # enable passive connections
pasv_min_port=10000        # passive connections port range
pasv_max_port=10100        # passive connections port range
ssl_enable=YES             # enable FTPS
ssl_tlsv1=YES              # only TLS (not old SSL standards)
ssl_sslv2=NO               # only TLS (not old SSL standards)
ssl_sslv3=NO               # only TLS (not old SSL standards)
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
- How can I make that FTP server daemon running without errors? - What's wrong with the configuration file?
TPPZ (637 rep)
Nov 20, 2019, 05:58 PM • Last activity: Jun 27, 2025, 05:02 PM
0 votes
2 answers
1957 views
Fedora - Nginx PHP-FPM - constantly changing FPM Socket to root
Apologies in advance if my terminology is not on par. So I've just setup my work dev machine successfully on Fedora Workstation with Nginx and multiple PHP versions (using Remi Collet's Software Collection). I have PHP-5.6.30 listening on Port 9056 and PHP-7.0.19 listening on Port 9070. This works p...
Apologies in advance if my terminology is not on par. So I've just setup my work dev machine successfully on Fedora Workstation with Nginx and multiple PHP versions (using Remi Collet's Software Collection). I have PHP-5.6.30 listening on Port 9056 and PHP-7.0.19 listening on Port 9070. This works perfectly. This morning I decided to try running both PHP instances using FPM Sockets, which initially worked until I restarted the PHP-FPM service (this resulted in a *502 Bad gateway* in the browser, and *(13) Permission Denied* error in the nginx error.log). So using PHP5.6 as an example ... when I first started the php56-php-fpm service which generated /opt/remi/php56/root/var/run/php-fpm/www.sock, I changed the generated www.sock file's user and group to nginx:nginx. After restarting php56-php-fpm I learned that www.sock was being reset to root:root. Now granted I won't be restarting FPM constantly, but there must be a way to set some defaults on the .sock file?? My fpm conf files looks like this: - **/opt/remi/php56/root/etc/php-fpm.d/www.conf**: https://pastebin.com/EasyHyEs - **/etc/opt/remi/php70/php-fpm.d/www.conf**: https://pastebin.com/dhT8AEJK - **/etc/nginx/nginx.conf**: https://pastebin.com/tMuAFnGM - **/etc/nginx/conf.d/default.conf**: https://pastebin.com/UjkrcaYw I realise that this sounds like a pain to get working correctly, considering that I am just doing this for local development, ***and*** that I did have this all working correctly using ports 9056 & 9070. But I've read that there are some speed benefits using sockets versus TCP, and anything that would speed up my local dev environment is worth making the effort for. So my questions: 1. What in my config is incorrect that is causing www.sock to be reset to root:root after restarting the respective FPM service? 2. Is it really worth moving away from ports in favour of sockets? 3. [slightly off-topic]: using Remi Collet's software collection, I see that the 2 PHP packages install to different locations: /opt/remi/php56 and /etc/opt/remi/php70 ... for the purpose of consistency, should I consider moving either one of these into a more common location? Thank you
maGz (993 rep)
May 25, 2017, 12:23 PM • Last activity: Jun 27, 2025, 12:04 PM
12 votes
5 answers
114297 views
vsftpd won't start: "systemd[1]: vsftpd.service: main process exited, code=exited, status=2/INVALIDARGUMENT"
I have Rapsberry Pi B+ with Arch Linux installation. `uname` reports version: [computer@computer001 ~]$ uname -a Linux computer001 3.18.3-3-ARCH #1 PREEMPT Mon Jan 26 20:10:28 MST 2015 armv6l GNU/Linux I've installed ftp server via `pacman -S vsftpd` and installation has passed without any errors. T...
I have Rapsberry Pi B+ with Arch Linux installation. uname reports version: [computer@computer001 ~]$ uname -a Linux computer001 3.18.3-3-ARCH #1 PREEMPT Mon Jan 26 20:10:28 MST 2015 armv6l GNU/Linux I've installed ftp server via pacman -S vsftpd and installation has passed without any errors. Then I tried to configure it, which resulted in following vsftpd.conf: anonymous_enable=NO local_enable=YES write_enable=YES #local_umask=022 anon_upload_enable=NO anon_mkdir_write_enable=NO dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES chown_uploads=YES chown_username=computer #xferlog_file=/var/log/vsftpd.log #xferlog_std_format=YES #idle_session_timeout=600 #data_connection_timeout=120 #nopriv_user=ftpsecure #async_abor_enable=YES #ascii_upload_enable=YES #ascii_download_enable=YES ftpd_banner=Welcome to personal ftp service. #deny_email_enable=YES #banned_email_file=/etc/vsftpd.banned_emails #chroot_local_user=YES #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd.chroot_list ls_recurse_enable=YES listen=YES #listen_ipv6=YES Now, when I try to restart vsftpd, I get: [computer@computer001 etc]$ sudo systemctl restart vsftpd.service && systemctl status -l vsftpd.service * vsftpd.service - vsftpd daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 1970-01-01 06:32:24 UTC; 112ms ago Process: 350 ExecStart=/usr/bin/vsftpd (code=exited, status=2) Main PID: 350 (code=exited, status=2) Here is also output of sudo journalctl | grep -i vsftp: Jan 01 06:32:24 computer001001 sudo: computer001 : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/usr/bin/systemctl restart vsftpd.service Jan 01 06:32:24 computer001001 systemd: Starting vsftpd daemon... Jan 01 06:32:24 computer001001 systemd: Started vsftpd daemon. Jan 01 06:32:24 computer001001 systemd: vsftpd.service: main process exited, code=exited, status=2/INVALIDARGUMENT Jan 01 06:32:24 computer001001 systemd: Unit vsftpd.service entered failed state. Jan 01 06:32:24 computer001001 systemd: vsftpd.service failed. Here is unit script /usr/lib/systemd/system/vsftpd.service: [Unit] Description=vsftpd daemon After=network.target [Service] ExecStart=/usr/bin/vsftpd ExecReload=/bin/kill -HUP $MAINPID KillMode=process [Install] WantedBy=multi-user.target If I run sudo /usr/bin/vsftpd, I get following error: 500 OOPS: config file not owned by correct user, or not a file I have corrected file permissions for /etc/vsftpd.conf via sudo chown root:root /etc/vsftpd.conf and now manually server gets started. I am also aware date/time is not correct, I haven't setup it yet.What am I missing?
KernelPanic (1276 rep)
Jan 27, 2015, 09:25 PM • Last activity: Jun 22, 2025, 01:51 PM
0 votes
1 answers
3387 views
I can't change the default config of qtile on arch
I have been trying since about a week with installing arch and Qtile, but the problem is that everytime I install it, even if I change the file default_config.py with what i want, when i reboot it shows the default config of qtile. I don't know why it happens cause i tried compiling the file config....
I have been trying since about a week with installing arch and Qtile, but the problem is that everytime I install it, even if I change the file default_config.py with what i want, when i reboot it shows the default config of qtile. I don't know why it happens cause i tried compiling the file config.py and it doesn't show a problem on sintaxis nor anything else. I leave here my config: import os import re import json import socket import subprocess from os import listdir from os import path from typing import List # noqa: F401 from libqtile.command import lazy from libqtile import layout, bar, widget, hook from libqtile.config import Key, Screen, Group, Drag, Click qtile_path= path.join(path.expanduser("~"), ".config", "qtile") icons_path= path.join(qtile_path, "icons") img = {} # map image name to its path img_path = path.join(qtile_path, "img") for i in listdir(img_path): img[i.split(".")] = path.join(img_path, i) mod = "mod4" # Set the mod key as SUPER/WINDOWS myTerm = "alacritty" # My terminal of choice myConfig = path.join(qtile_path, "config.py") # The Qtile config file location #"/home/bluetrainer/.config/qtile/config.py" colors = [ [ "#0f101a", "#0f101a" ], [ "#5c5c5c", "#5c5c5c" ], [ "#f1ffff", "#f1ffff" ], [ "#F07178", "#F07178" ], [ "#a151d3", "#a151d3" ], [ "#282a36", "#282a36" ], # panel background [ "#434758", "#434758" ], # background for current screen tab [ "#ffffff", "#ffffff" ], # font color for group names [ "#ff5555", "#ff5555" ], # border line color for current tab [ "#8d62a9", "#8d62a9" ], # border line color for other tab and odd widgets [ "#668bd7", "#668bd7" ], # color for the even widgets [ "#e1acff", "#e1acff" ] # window name ] keys = [ ### The essentials MOD4 + CONTROL + KEY Key( [mod, "control"], "o", lazy.shutdown(), desc='Shutdown pc' ), Key( [mod, "control"], "k", lazy.window.kill(), desc='Kill active window' ), Key( [mod, "control"], "r", lazy.restart(), desc='Restart Qtile' ), Key( [mod], "Tab", lazy.next_layout(), desc='Toggle through layouts' ), ### Switch focus to specific monitor (out of two) MOD4 + SHIFT + CONTROL + KEY Key([mod, "shift", "control"], "q", lazy.to_screen(0), desc='Keyboard focus to monitor 1' ), Key([mod, "shift", "control"], "w", lazy.to_screen(1), desc='Keyboard focus to monitor 2' ), ### Switch focus of monitors MOD4 + . / MOD4 + , Key([mod], "period", lazy.next_screen(), desc='Move focus to next monitor' ), Key([mod], "comma", lazy.prev_screen(), desc='Move focus to prev monitor' ), ### Treetab controls MOD4 + CONTROL + U /J Key([mod, "control"], "u", lazy.layout.section_up(), desc='Move up a section in treetab' ), Key([mod, "control"], "j", lazy.layout.section_down(), desc='Move down a section in treetab' ), ### Window controls MOD4 + SHIFT + KEY Key( [mod, "shift"], "s", lazy.layout.down(), desc='Move focus down in current stack pane' ), Key( [mod, "shift"], "w", lazy.layout.up(), desc='Move focus up in current stack pane' ), Key( [mod, "shift"], "d", lazy.layout.right(), desc='Move focus right in current stack pane' ), Key( [mod, "shift"], "a", lazy.layout.left(), desc='Move focus left in current stack pane' ), Key( [mod, "shift"], "d", lazy.layout.shuffle_down(), desc='Move windows down in current stack' ), Key( [mod, "shift"], "e", lazy.layout.shuffle_up(), desc='Move windows up in current stack' ), Key( [mod, "shift"], "n", lazy.layout.normalize(), desc='normalize window size ratios' ), Key( [mod, "shift"], "m", lazy.layout.maximize(), desc='toggle window between minimum and maximum sizes' ), Key( [mod, "shift"], "f", lazy.window.toggle_floating(), desc='toggle floating' ), ### Stack controls Key( [mod, "shift"], "space", lazy.layout.rotate(), lazy.layout.flip(), desc='Switch which side main pane occupies (XmonadTall)' ), Key( [mod, "control"], "space", lazy.layour.rotate(), desc='Swap panes of split stack' ), Key( [mod], "space", lazy.layout.next(), desc='Switch window focus to other pane(s) of stack' ), Key( [mod, "control"], "Return", lazy.layout.toggle_split(), desc='Toggle between split and unsplit sides of stack' ), ### Dmenu scripts launched with ALT + CTRL + KEY Key( ["mod1", "control"], "b", lazy.spawn("firefox"), desc='Starts firefox browser' ), Key( ["mod1", "control"], "f", lazy.spawn("thunar"), desc='Starts firefox browser' ), Key( ["mod1", "control"], "Return", lazy.spawn(myTerm), desc='Launches Terminal' ), # ------------ Hardware Configs ------------ # Volume Key([], "XF86AudioLowerVolume", lazy.spawn( "pactl set-sink-volume @DEFAULT_SINK@ -5%" )), Key([], "XF86AudioRaiseVolume", lazy.spawn( "pactl set-sink-volume @DEFAULT_SINK@ +5%" )), Key([], "XF86AudioMute", lazy.spawn( "pactl set-sink-mute @DEFAULT_SINK@ toggle" )), #Brightness Key([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl set +10%")), Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 10%-")) ] #GROUPS groups = [Group(i) for i in ["NET", "DEV", "TERM", "FILE", "MEDIA", "MISC"]] for i, group in enumerate(groups): # Each workspace is identified by a number starting at 1 actual_key = str(i + 1) keys.extend([ # Switch to workspace N (actual_key) Key([mod], actual_key, lazy.group[group.name].toscreen()), # Send window to workspace N (actual_key) Key([mod, "shift"], actual_key, lazy.window.togroup(group.name)) ]) # for i in groups: # keys.extend([ # # mod1 + letter of group = switch to group # Key([mod], i.name, lazy.group[i.name].toscreen()), # # mod1 + shift + letter of group = switch to & move focused window to group # Key([mod, "shift"], i.name, lazy.window.togroup(i.name)), # ]) #LAYOUTS layout_theme = {"border_width" : 1, "margin" : 4, "border_focus" : colors, "border_normal": colors } layouts = [ layout.Max(**layout_theme), layout.MonadTall(**layout_theme), layout.MonadWide(**layout_theme), layout.Matrix(columns=2, **layout_theme), layout.VerticalTile(border_width= 2, margin= 6, border_focus= colors, border_normal= colors, name= "verticaltile" ), layout.Floating(**layout_theme), layout.Tile(shift_windows = True, **layout_theme), layout.Stack(num_stacks = 2) ] #WIDGETS # Reusable configs for displaying different widgets on different screens def base(fg=2, bg=0): return { 'foreground': colors[fg], 'background': colors[bg] } sep={ **base(), 'linewidth': 0, 'padding': 5, } group_box={ **base(), 'font': 'Ubuntu Bold', 'fontsize': 10, 'margin_y': 5, 'margin_x': 0, 'padding_y': 8, 'padding_x': 5, 'borderwidth': 1, 'active': colors, 'inactive': colors, 'rounded': False, 'highlight_method': 'block', 'this_current_screen_border': colors, 'this_screen_border': colors, 'other_current_screen_border': colors, 'other_screen_border': colors } window_name={ **base(fg='primary'), 'font': 'Ubuntu Bold', 'fontsize': 11, 'padding': 5 } systray={ 'background': colors, 'padding': 5 } text_box={ 'font': 'Ubuntu Bold', 'fontsize': 15, 'padding': 5 } pacman={ 'execute' : "alacritty", 'update_interval' : 1800, 'foreground' : colors, 'background' : colors } net={ 'interface' : "wlp2s0", 'format' : "{down} ↓↑ {up}", 'foreground' : colors, 'background' : colors, 'padding' : 5 } current_layout_icon={ 'custom_icon_paths' : [icons_path], 'foreground' : colors, 'background' : colors, 'padding' : 0, 'scale' : 0.7 } current_layout={ 'foreground' : colors, 'background' : colors, 'padding' : 5 } clock ={ 'format' : "%A, %B %d [ %H:%M ]" } def workspaces(): return [ widget.Sep(**separator), widget.GroupBox(**group_box), widget.Sep(**separator), widget.WindowName(**window_name) ] def powerline_base(): return [ widget.CurrentLayoutIcon( **base(bg = 4), **current_layout_icon ), widget.CurrentLayout( **base(bg = 4), **current_layout ), widget.Image( filename = img ), widget.TextBox( **base(bg = 3), **text_box, text = ' 🕒' ), widget.Clock( **base(bg=3), **clock ) ] laptop_widgets = [ *workspaces(), widget.Sep( **separator ), widget.Systray( **systray ), widget.Sep( **separator ), widget.Image( filename = img['bg-to-secondary'] ), widget.TextBox( **base(bg=4), **text_box, text = ' ⟳' ), widget.Pacman( **base(bg=4), **pacman ), widget.Image( filename = img ), widget.TextBox( **base(bg=3), **text_box, text = ' ↯' ), widget.Net( **base(bg=3), **net ), widget.Image( filename = img ), *powerline_base() ] monitor_widgets = [ *workspaces(), widget.Image( filename = img['bg-to-secondary'] ), *powerline_base() ] widget_defaults = { 'font': 'Ubuntu Mono', 'fontsize': 13, 'padding': 2 } extension_defaults = widget_defaults.copy() #SCREENS screens = [ Screen(top=bar.Bar(laptop_widgets, 24, opacity=0.95)) ] # check connected monitors monitors_status = subprocess.run( "xrandr | grep 'connected' | cut -d ' ' -f 2", shell=True, stdout=subprocess.PIPE ).stdout.decode("UTF-8").split("\n")[:-1] if monitors_status.count("connected") == 2: screens.append( Screen(top=bar.Bar(monitor_widgets, 24, opacity=0.95)) ) # screens = [ # Screen( # bottom=bar.Bar( # [ # widget.GroupBox(), # widget.Prompt(), # widget.WindowName(), # widget.TextBox("default config", name="default"), # widget.Systray(), # widget.Clock(format='%Y-%m-%d %a %I:%M %p'), # ], # 24, # ), # ), # ] #MOUSE # Drag floating layouts. mouse = [ Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()), Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), Click([mod], "Button2", lazy.window.bring_to_front()) ] #OTHER STUFF dgroups_key_binder = None dgroups_app_rules = [] # type: List main = None follow_mouse_focus = True bring_front_click = fALSE cursor_warp = False ##### FLOATING WINDOWS ##### floating_layout = layout.Floating(float_rules=[ {'wmclass': 'confirm'}, {'wmclass': 'dialog'}, {'wmclass': 'download'}, {'wmclass': 'error'}, {'wmclass': 'file_progress'}, {'wmclass': 'notification'}, {'wmclass': 'splash'}, {'wmclass': 'toolbar'}, {'wmclass': 'confirmreset'}, # gitk {'wmclass': 'makebranch'}, # gitk {'wmclass': 'maketag'}, # gitk {'wname': 'branchdialog'}, # gitk {'wname': 'pinentry'}, # GPG key password entry {'wmclass': 'ssh-askpass'}, # ssh-askpass ], border_focus=colors ) auto_fullscreen = True focus_on_window_activation = "smart" ##### STARTUP APPLICATIONS ##### @hook.subscribe.startup_once def startup(): #home = os.path.expanduser('~') script = path.join(qtile_path, "autostart.sh") #subprocess.call([home + '/.config/qtile/autostart.sh']) subprocess.call([script]) # XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this # string besides java UI toolkits; you can see several discussions on the # mailing lists, GitHub issues, and other WM documentation that suggest setting # this string if your java app doesn't work correctly. We may as well just lie # and say that we're a working one by default. # # We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in # java that happens to be on java's whitelist. wmname = "LG3D" Can somebody tell me what is the problem? Have I need to install something more than just "qtile" and lightdm lightdm-gtk-greeter lightdm-gtk-greeter-config and begin lightdm.service? Thank you for your time :)
Maria Rosa Cambero (101 rep)
May 10, 2020, 11:56 AM • Last activity: Jun 21, 2025, 10:06 PM
0 votes
2 answers
3717 views
X11 not setting primary monitor according to config file
^\_^ ### Synopsis I want to specify my primary monitor using system-wide X11 configuration files, but my present configuration files don't seem to do anything! 0_0 ### My situation I'm coming from the same place as this question here: https://unix.stackexchange.com/questions/565553/why-doesnt-x11-se...
^\_^ ### Synopsis I want to specify my primary monitor using system-wide X11 configuration files, but my present configuration files don't seem to do anything! 0_0 ### My situation I'm coming from the same place as this question here: https://unix.stackexchange.com/questions/565553/why-doesnt-x11-set-the-only-monitor-as-primary-by-default Namely, I need the only monitor I have connected to be recognized as my primary monitor so that my tray icons in i3 work. That said, I don't want to solve this using using xrandr, because I'm trying to use as much as possible the same dotfiles on two different machines which have different hardware configurations. Therefore, I would like to solve this using the system-wide X11 configuration files. However, it doesn't seem to work as expected. :o ### My present setup At present I have no xorg.conf file, and I do have a xorg.conf.d/10-monitor.conf, the contents of which (following [this Arch Linux wiki page](https://wiki.archlinux.org/index.php/Multihead#Configuration_using_xorg.conf)) are here:
Section "Monitor"
    Identifier  "HDMI2"
    Option      "Primary" "true"
EndSection
In light of this configuration file, here is my xrandr output for a fresh X session:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected primary (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x1200     60.00  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
As you can see, despite having specified HDMI2 in the configuration files as my primary monitor, DP1 is set as the primary. ### Stuff I've tried I've verified that my configuration file is being processed by X11 by introducing typos and observing that X11 fails to launch due to errors. I've tried placing the configuration file above in /etc/X11/xorg.conf instead of /etc/X11/xorg.conf.d/10-monitor.conf. I've tried including the following in an attempt to specify the default primary monitor as not primary:
Section "Monitor"
    Identifier  "DP1"
    Option      "Primary" "false"
EndSection
I've tried launching with the default xorg.conf generated by X -configure alongside my 10-monitor.conf. ### Miscellaneous information
$ uname -a
Linux cheesy-6600k 5.9.8-arch1-1 #1 SMP PREEMPT Tue, 10 Nov 2020 22:44:11 +0000 x86_64 GNU/Linux
$ lscpu | grep name
Model name:                      Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
Aardbei (101 rep)
Nov 14, 2020, 06:15 PM • Last activity: Jun 13, 2025, 03:09 PM
1 votes
1 answers
52 views
show just the “machine name” (hostname) in neofetch
When I run neofetch, I get the first line containing : ``` fauve@katioucha ``` I can silent it by `neofetch --disable title`, it’s fine. But my goal is to hide the user and keep the hostname. I found [here](https://github.com/dylanaraps/neofetch/wiki/Customizing-Info#display-the-current-weather) how...
When I run neofetch, I get the first line containing :
fauve@katioucha
I can silent it by neofetch --disable title, it’s fine. But my goal is to hide the user and keep the hostname. I found [here](https://github.com/dylanaraps/neofetch/wiki/Customizing-Info#display-the-current-weather) how to configure the infonames to show, but theire is no infoname for the “machine name”. host exist but in the neofetch terminology host refer to the model of the machine not to the system name. Also title refer to @ but I didn’t found a way to just display machine name. So, how can I display in one line just the machine name in neofetch?
fauve (1529 rep)
Jun 11, 2025, 08:08 AM • Last activity: Jun 11, 2025, 12:42 PM
0 votes
1 answers
43 views
Force Qutebrowser to close tab and open default one when there is one tab in the window
In Qutebrowser, I try to create the following behavior: `tab-close`, or at least the action associated with it (i.e., pressing d ), should, in all situations where more than one tab is open, close the current tab, as it already does. However, if the window contains only one tab, it should close that...
In Qutebrowser, I try to create the following behavior: tab-close, or at least the action associated with it (i.e., pressing d), should, in all situations where more than one tab is open, close the current tab, as it already does. However, if the window contains only one tab, it should close that tab and open the default tab in its place. Basically, like Firefox does. I made many tries in config.py, creating a smart_tab_close() function which gets the number of opened tabs, but I failed. So how to make Qutebrowser act like that?
fauve (1529 rep)
Jun 4, 2025, 12:33 PM • Last activity: Jun 6, 2025, 06:29 AM
0 votes
1 answers
2038 views
(Buildroot) "silentoldconfig" error on compile
I just moved an old buildroot folder from an old VM to a newer one to consolidate. I thought that simply moving the folder, along with any dependent folders, and making the appropriate path/name changes would be all that is required to get it up and running in the new VM. Unfortunately, this appears...
I just moved an old buildroot folder from an old VM to a newer one to consolidate. I thought that simply moving the folder, along with any dependent folders, and making the appropriate path/name changes would be all that is required to get it up and running in the new VM. Unfortunately, this appears to not be the case as I am greeted with the following error upon attempting to build in this new VM: # # configuration written to /home/mirion/mirion/buildroot-2013.05/.config # /usr/bin/make -j5 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig make: Entering directory '/home/mirion/mirion/buildroot-2013.05' BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/mirion/mirion/buildroot-2013.05/.config /home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/conf --silentoldconfig Config.in *** Error during update of the configuration. Makefile:692: recipe for target 'silentoldconfig' failed make: *** [silentoldconfig] Error 1 make: Leaving directory '/home/mirion/mirion/buildroot-2013.05' Makefile:396: recipe for target '/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf' failed make: *** [/home/mirion/mirion/buildroot-2013.05/output/build/buildroot-config/auto.conf] Error 2 mv: cannot stat 'output/images/rootfs.ubi': No such file or directory Are there any ideas as to what I can do to resolve this? I did some poking around on google but could not find anything conclusive. EDIT: Original VM was running Lubuntu 12.04, the new VM is running Ubuntu 17.10. Thanks.
lukemk1 (39 rep)
Apr 9, 2018, 05:57 PM • Last activity: Jun 1, 2025, 08:04 AM
Showing page 1 of 20 total questions