Score: 0
Anders avatar
How to add a confirmation form to an advanced configurable action?
bo flag

So far I successfully implemented an advanced action (in a custom module) by extending ConfigurableActionBase and implementing ContainerFactoryPluginInterface. As expected, it appears listed in /admin/config/system/actions, where new actions can be created and configured. These actions show up in the bulk action drop down menu in /admin/content. Selecting one or more content items and performing the act ...

Score: 2
kodlu avatar
Best Known Attacks on Discrete Logarithm in Generic Groups
sa flag

This is a followup to my recent question Discrete Logarithm Challenges and Records.

I am interested in confirming my understandings from the answer to that question, stated below:

  1. For a discrete logarithm problem in a generic group of size $N$ with no special algebraic structure, the best known attack is the Pollard's rho method. If memory complexity were not an issue (it is!) then Baby Step Giant Step ...

Score: 0
Brad Mace avatar
Using a variable in the namespace of a generated resource
au flag

I've created a policy that generates Services for every Deployment in a namespace. The one thing I can't figure out is that it's a Policy rather than a ClusterPolicy and I want to make the namespace attribute dynamic. (Because the policy is part of a Kustomize overlay that's used to define qa and prod environments.) It doesn't seem to be intepreting the variables in this field prior to validating the  ...

Score: 0
taiBsu avatar
Unable to recover boot partition after encrypting root system
ke flag

I encrypted my existing NVMe root partition of Xubuntu 22.04.2 LTS using this guide.

Now, when trying to boot, I keep being thrown into the GRUB screen.

I have tried a lot to repair the bootloader using a live USB stick, e.g.

sudo cryptsetup open /dev/nvme0n1p2 rootfs
sudo mount /dev/mapper/rootfs /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /run /sys; do sudo mount -B $ ...
Score: 0
Himadri avatar
Unable to uninstall podman-docker as it's causing hindrance in docker-ce installation in 22.04
so flag
akshitadakahtta-MP-Laptop-18-dixxx1-$ sudo apt-get purge remove podman-docker
Reading package 1ists... Done
Calculating dependency tree... Done 
Reading state information... Done
 You might want to run apt Fix-broken install to correct these. 
The following packages have unmet dependencies
docker-ce Depends: docker-ce-cli but it is not going to be installed
akshitadakahtta-MP-Laptop-18-dixxx1-$ sudo ap ...
Score: 1
varun avatar
Windows option is not showing in the GRUB menu
gp flag

Initially everything was working fine, but suddenly on clicking Windows in the grub menu this error starts showing:

```none
Setting partition type to 0x7
error: failure writing sector 0x0 to 'hd1'
```

(Note : hd0 is my hard drive which doesn't use AND hd1 is my SSD.)

So I ran update-grub on my Ubuntu machine and then the Windows option disappeared from the grub menu.

I tried:

  1. I found that both Wind ...

Score: 0
Dennis Herman avatar
New Install of Ubuntu 22.04
it flag

Had a series of problems. All my folders showed up LOCKED. Every single folder. I searched and tried a few solutions. Figured I would continue in the morning. Next morning booted to a strange screen. Could not get any where. I always have a back up on a thumb drive. So I restarted with a thumb drive to TRY/INSTALL Ubuntu. Did a reinstall. I could see only 128G of my 1TB drive. Same as before, Worked wit ...

Score: 0
KSHMR avatar
Hidden disk usage
ua flag

I have a problem with hidden disk usage on my Ubuntu 22.04. As you can see, the ncdu utility only finds ~30GB on the system:

enter image description here

Whereas Ubuntu's System Monitor finds that 88 GB are being used:

enter image description here

What's going on here?

Output of df -h:

enter image description here

Score: 1
luislhl avatar
Is it safe to ssh-keygen a "ecdsa-sk" or "ed25519-sk" in a potentially compromised environment?
kp flag

I'm wondering whether it would be a good practice to make sure the keys are generated in a safe environment, like a live Linux distribution, instead of just generating them in a day-to-day environment that could be potentially compromised already.

I know the private key will probably be generated only inside the FIDO hardware, but is it enough even in a compromised environment, or are there other ...

Score: 0
ne.dmtro avatar
Charles proxy certificate, import button unactive
gy flag

I have encountered a problem with importing the Charles proxy certificate into the system. When trying to do it from the GUI, the 'Import' button is greyed out, and it displays the message 'Cannot import because there are no compatible importers'. I also tried manually placing the certificate and using 'update-ca-certificate', but it didn't work either.

Ubuntu 23.04

Score: 0
NitzanS avatar
docker ubuntu wont start again on Ubuntu 23.04
dk flag

In an online docker training course, the instructor mentioned that he has an Ubuntu virtual machine installed with Docker So I created via virtual box on my windows 11 host a ubuntu 23.04 VM which for it I allocated 60GB of storage, and pressed the pre-allocate (which I thought will allocate the full 60GB not dynamically) when I run df -h I see only 7about 7gb on my vm...

df -h output After installing do ...

Score: 0
Viesturs avatar
dev/sda2 almost full; Low Disk Space on "Filesystem root"
ng flag

I work in Ubuntu 22 on VirtualBox. /dev/sda3 is almost full:

df -h --total
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           720M  1,6M  718M   1% /run
/dev/sda3        24G   23G  411M  99% /
tmpfs           3,6G     0  3,6G   0% /dev/shm
tmpfs           5,0M  4,0K  5,0M   1% /run/lock
/dev/sda2       512M  6,1M  506M   2% /boot/efi
tmpfs           720M  124K  720M   1% /run/user/100 ...
Score: 0
Tsetsi avatar
Postfix: Can't send mails from another network
uy flag

I recently set a postfix (+dovecot) mail server (on a VPS) and when I am in my own home network, which I put in mynetworks, I can both send and receive mails.

However when I am outside home I can only receive emails, which is not a behaviour I expect, as I probably need to send emails then. Here you have my settings, if you can help me out:

# See /usr/share/postfix/main.cf.dist for a commented, more c ...
Score: 0
user3038672 avatar
Responsive Background Image offers theme code for paragraphs, but I need it in taxonomy
cn flag

Responsive Background Image module offers theme code for paragraphs, but I need it in taxonomy. Taxonomy is a little different in that it is an array inside of an array. How do I change this code to work with Taxonomy instead of Paragraphs?

use Drupal\responsive_background_image\ResponsiveBackgroundImage;

/**
 * Implements hook_preprocess_TEMPLATE().
 *
 * Preprocess paragraph.html.twig.
 */
funct ...
Score: 1
Enum class not found when trying to use it in settings.php
cn flag

I defined an enum in a custom module:

namespace Drupal\my_module\Enum;

enum BuildType: string {
  case Apple = 'apple_build';
  case Orange = 'orange_build';
}

And I want to use it in settings.php to change the config directory of the site:

settings.php:

$build_type = BuildType::from(getenv('build_type'));

$settings['config_sync_directory'] = dirname(DRUPAL_ROOT) . '/config/base_' . $build_type->v ...
Score: 0
quantumized avatar
How can I set a node's nested (address field) value in a custom submit handler?
ng flag

I need to clear any data from an address field's values (administrative area, etc.)

In my custom submit hanlder for node form, I know I can use something like below for a standard field:

<?php
  $form_state->setValue('field_alternate_phone', [['value' => 'NEW VALUE']]);
?>

But I cannot figure out how to change the value of a nested address field where the values are something like:

enter image description here

I ...

Score: 0
Steve G. avatar
Failed verifying certificate revocation for Enterprise certificate from non-domain computer
at flag

We have a typical offline root and issuing intermediate CA Enterprise environment.

My problem is very similar to the one found here: Certificate revocation check fails for non-domain guest in spite of accessible CRL However, I have already tried the solution posted there and it has not fixed my problem. I have tested to make sure both the full and delta CRLs are accessible from non-domain computers. We r ...

Score: 0
liuliang avatar
ipsec package after decrypted can not be recieved by tproxy
im flag

My centos6 machine ipaddress is 192.168.56.10 (eth0). I have installed strongswan and a tproxy like v2ray with iptables:

iptables:

*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:SECGW_IN - [0:0]
-A PREROUTING -j SECGW_IN
-A SECGW_IN -d 127.0.0.1/32 -j RETURN
-A SECGW_IN -d 224.0.0.0/4 -j RETURN
-A SECGW_IN -d 255.255.255.255/3 ...
Score: 1
Biswajit Bimoli avatar
How to install AMD radeon graphic in ubuntu 23.04
us flag

I could not install amd graphic card

hecs@TheCSPC:~$ amdgpu-install
Hit:1 https://repo.radeon.com/amdgpu/5.4.5/ubuntu jammy InRelease              
Hit:2 https://repo.radeon.com/rocm/apt/5.4.5 jammy InRelease                   
Hit:3 https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu lunar InRelease
Hit:4 http://archive.ubuntu.com/ubuntu lunar InRelease     
Hit:5 http://archive.ubunt ...
Score: 0
Manas Mishra avatar
[FAILED]Failed to start dbus.service - D-bus System message Bus
al flag

I don't know how it happened, but this is appearing on my screen when I try to boot Ubuntu from the GRUB menu. I have dual booted Windows 10 and Ubuntu. It was working just fine yesterday. Although just before closing, the battery suddenly went from 100% to 0%, but it was still running( It was still showing battery to be 0% though, which I think was an error) I ignored it at that time, but now it's not  ...

Score: 0
DanielDeur avatar
How to fix a game being invisible when running with DirectX11 in Proton 8.0-2?
cm flag

Here is a video of the issue.

I can't seem to run American Truck Simulator in fullscreen with DirectX11 and Proton 8.0-2. Running natively is not really an option because that doesn't work that well with GSync and running with OpenGL is not really an option either. Does anyone have an idea on how that could be fixed? I have my system info here:

System:
  Host: CHELSEA Kernel: 6.2.9-060209-generic a ...
Score: 0
Yassine Mrabet avatar
wineprefix is not Initializied correctly
cf flag

I m creating a docker image that will install some dependencies and wine to use it after,

FROM ubuntu:latest

 RUN apt-get update && apt-get install -y \
    vim \
    wine \
    net-tools \
    --no-install-recommends && \
    dpkg --add-architecture i386 && \
    apt-get update && \
    apt-get install -y  \
    wine32 xvfb xauth \
    --no-install-recommends \
    ...
Score: 0
Bursuc Sergiu avatar
PHP-FPM unable to find or access status shared memory
us flag

I am running a busy magento 2 load balanced web server with 3 back-end PHP-FPM servers and a shared EFS network filesystem on AWS cloud. There are lots of concurrent users and everything works fine except the fact that randomly, from time to time I see the following errors in the error log:

May 4 15:27:01 app-node php_fpm_error [04-May-2023 15:27:01] WARNING: [pool pool.name] child 135046 said into ...
Score: 0
John Doe avatar
Why does DMARC fail for forwarded emails from this particular domain when it passes for all other domains?
in flag

I run a virtual mail server that forwards emails to my domain to a Gmail address, and I use PostSRSd to rewrite the addresses. For example, if someone sends an email to [email protected], my mail server will rewrite the address (to something like [email protected]) and forward it to my email at [email protected].

This rewriting is essential, because otherwise the forwarded emails  ...

Score: 0
Vikash Yadav avatar
TouchPad becomes unresponsive exactly before installing ubuntu
bz flag

I am using IdeaPad Flex 5 14ALC7 comes with AMD 5500 processor and windows 11 . I tried to dual boot with ubuntu 22.04 LTS version and used rufus to create a bootable pendrive and when I booted from the pen drive a welcome screen opened asking to try or install ubuntu . From here the touchpad become unresponsive and as I can not move the cursor I could not move further .

One More Question :: ther ...

Score: 0
Marvin avatar
How can I configure pg_hba.conf in kubernetes deployment when the ip address of client pods is not known?
ph flag

Suppose I have two backends be1, be2 deployed in pods that use a postgres server in a pod, and I want to use pg_hba.conf to constrain access for better security, like:

hostssl db1  db1user    be1-headless.default.svc.cluster.local  md5
hostssl db2  db2user    be2-headless.default.svc.cluster.local  md5

I created headless services as well as clusterIP services for the backends, since a headless serv ...

Score: 0
AHEK 8 avatar
Can't get resolution higher than 1080×480
gs flag

I use windows 10 before the Ubuntu and in windows my integrated graphics (Intel 82945G) was working fine with 1920×1080 resolution but after Ubuntu the screen is fixed at 1080×480 and everything is messed up now please can anyone help me ?

Score: -3
Rayan Frem avatar
How to open an iframe with a different base URL for "Page Not Found" errors in Drupal?
cn flag

I am working on a Drupal website and I need to implement a functionality where an iframe is opened with a different base URL whenever a "Page Not Found" error occurs. The goal is to display the content from a different website within the iframe.

I have tried implementing a custom module using the hook_preprocess_HOOK() and hook_page_attachments() hooks, but I'm encountering issues with the code n ...

Score: 0
Aleksandarf avatar
Redirect traffic in "sniff/tap?" mode to specific ip address(es), that is: rewrite destination headers to target other machine(s)
in flag

I have incoming traffic on eth1 (vlan id 201) which is emitted by another machine which is doing

sudo tcpreplay -x 0.01 --loop=0 --intf1=eth12 Wireshark_bidirectional_data.pcap

I would like to rewrite the destination to target other devices e.g. 198.19.5.1... connected on eth1.

i've enabled

net.ipv4.ip_forward=1

and been trying to forward the data by doing:

table ip nat {
        chain postrouti ...
Score: 2
OggyP avatar
Issue with NVME controller from kernel 5.18 onwards. What should I do from here?
ne flag

I have an Asus ZenBook Duo (UX481FL) but am having issues with any kernels beyond 5.18, my NVME controller will not work.

After anywhere up to 5 minutes after booting the SSD stops responding and crashes my computer, to try and diagnose the issue here is a live environment's logs. I have tried setting the kernel parameters it has suggested and it still does not work. My SSD is a WDC PC SN520 SDAPNUW- ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.