LINUX.ORG.RU

Сообщения mnxamoto

 

Gentoo обработка двух входящих vlan на одном интерфейсе

Форум — General

Здравствуйте. Ранее на физический интерфейс приходил только один vlan с внешним адресом.

config_enp3s2="X.X.X.10/24"
routes_enp3s2="default via X.X.X.1"

Мне выделили в этот же интерфейс еще один vlan с другой сетью, к которой тоже нужно иметь доступ и выделили ip, но следующая конфигурация не работает.

config_enp3s2="X.X.X.10/24"
routes_enp3s2="default via X.X.X.1"

config_enp3s2n1110="Y.Y.Y.8/21"
routes_enp3s2n1110="default via Y.Y.Y.1"
...# ln -s net.lo net.enp3s2n1110
...# rc-service net.enp3s2n1110 start
 * Bringing up interface enp3s2n1110
 *   ERROR: interface enp3s2n1110 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.enp3s2n1110 failed to start

Как поднять 2 сетевых интерфейса для 2 vlan приходящих в 1 физический интерфейс?

 ,

mnxamoto
()

Gentoo emerge virtualbox

Форум — General

И снова обновление пакетов генту и снова конфликты. Научите разрешать такие конфликты.

emerge -1p =app-emulation/virtualbox-modules-6.1.38

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-emulation/virtualbox-modules-6.1.38 [6.1.32]
[ebuild     U  ] app-emulation/virtualbox-6.1.38 [6.1.32-r1] USE="sdl%*" PYTHON_SINGLE_TARGET="python3_10* -python3_9*"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-emulation/virtualbox:0

  (app-emulation/virtualbox-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="headless java opus pam sdk sdl udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" pulled in by
    =app-emulation/virtualbox-6.1.38 (Argument)

  (app-emulation/virtualbox-6.1.32-r1:0/6.1::gentoo, installed) USE="headless java opus pam sdk udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8" pulled in by
    =app-emulation/virtualbox-6.1.32* required by (app-emulation/virtualbox-extpack-oracle-6.1.32:0/6.1::gentoo, installed) USE="" ABI_X86="(64)"
    ^                         ^^^^^^^

app-emulation/virtualbox-modules:0

  (app-emulation/virtualbox-modules-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="-dist-kernel (-pax-kernel)" ABI_X86="(64)" pulled in by
    ~app-emulation/virtualbox-modules-6.1.38 required by (app-emulation/virtualbox-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="headless java opus pam sdk sdl udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
    ^                                 ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    (and 1 more with the same problem)

  (app-emulation/virtualbox-modules-6.1.32:0/6.1::gentoo, installed) USE="-dist-kernel (-pax-kernel)" ABI_X86="(64)" pulled in by
    ~app-emulation/virtualbox-modules-6.1.32 required by (app-emulation/virtualbox-6.1.32-r1:0/6.1::gentoo, installed) USE="headless java opus pam sdk udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
    ^                                 ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- sys-devel/binutils-2.37_p1-r2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

 ,

mnxamoto
()

postfix+dovecot+roundcube+postfixadmin не дает войти новым пользователям

Форум — Admin

Создал пользователя как обычно через postfixadmin, папка для почты создалась, но под новым пользователем не дает зайти через roundcube (под старыми все нормально). В чем может быть проблема?

... ~ # tail -n 10000 /var/log/dovecot-debug.log | grep test5
Aug 05 12:51:32 auth: Debug: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Performing passdb lookup
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32693>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Performing passdb lookup
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32693>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): query: SELECT username AS user, password FROM mailbox WHERE username = 'test5@domain.ru' AND active = 1
Aug 05 12:51:32 auth-worker(3324): Debug: mysql(localhost): Finished query 'SELECT username AS user, password FROM mailbox WHERE username = 'test5@domain.ru' AND active = 1' in 0 msecs
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32693>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Finished passdb lookup
Aug 05 12:51:32 auth: Debug: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Finished passdb lookup
Aug 05 12:51:32 auth: Debug: auth(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Auth request finished
Aug 05 12:51:32 auth: Debug: client passdb out: OK      4713    user=test5@domain.ru
Aug 05 12:51:32 auth: Debug: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Performing userdb lookup
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32694>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Performing userdb lookup
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32694>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): SELECT CONCAT('/srv/vmail/',maildir) AS home, 5000 AS uid, 5000 AS gid FROM mailbox WHERE username = 'test5@domain.ru' AND active= 1
Aug 05 12:51:32 auth-worker(3324): Debug: mysql(localhost): Finished query 'SELECT CONCAT('/srv/vmail/',maildir) AS home, 5000 AS uid, 5000 AS gid FROM mailbox WHERE username = 'test5@domain.ru' AND active= 1' in 0 msecs
Aug 05 12:51:32 auth-worker(3324): Debug: conn unix:auth-worker (pid=3320,uid=97): auth-worker<32694>: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Finished userdb lookup
Aug 05 12:51:32 auth: Debug: sql(test5@domain.ru,127.0.0.1,<YW3/aHvleIF/AAAB>): Finished userdb lookup
Aug 05 12:51:32 auth: Debug: master userdb out: USER    3819569153      test5@domain.ru      home=/srv/vmail/domain.ru/test5/     uid=5000        gid=5000        auth_mech=PLAIN auth_token=50d2757e1cab5b8de39c94f06744cedde2f569d4
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: Loading modules from directory: /usr/lib64/dovecot
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: Effective uid=5000, gid=5000, home=/srv/vmail/domain.ru/test5/
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: quota: No quota setting - plugin disabled
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/srv/vmail/domain.ru/test5
Aug 05 12:51:32 imap(test5@domain.ru)<17862><YW3/aHvleIF/AAAB>: Debug: maildir++: root=/srv/vmail/domain.ru/test5, index=, indexpvt=, control=, inbox=/srv/vmail/domain.ru/test5, alt=
... ~ # doveconf
# 2.3.18 (9dd8408c18): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.18 (0bc28b32)
# OS: Linux 5.10.61-gentoo-x86_64 x86_64 Gentoo Base System release 2.8 ext4
# Hostname: srv.domain.ru
# NOTE: Send doveconf -n output instead when asking for help.
auth_anonymous_username = anonymous
auth_cache_negative_ttl = 1 hours
auth_cache_size = 0
auth_cache_ttl = 1 hours
auth_cache_verify_password_with_worker = no
auth_debug = yes
auth_debug_passwords = yes
auth_default_realm = domain.ru
auth_failure_delay = 2 secs
auth_gssapi_hostname =
auth_krb5_keytab =
auth_master_user_separator =
auth_mechanisms = plain login
auth_policy_check_after_auth = yes
auth_policy_check_before_auth = yes
auth_policy_hash_mech = sha256
auth_policy_hash_nonce =
auth_policy_hash_truncate = 12
auth_policy_log_only = no
auth_policy_reject_on_fail = no
auth_policy_report_after_auth = yes
auth_policy_request_attributes = login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s session_id=%{session}
auth_policy_server_api_header =
auth_policy_server_timeout_msecs = 2000
auth_policy_server_url =
auth_proxy_self =
auth_realms =
auth_socket_path = auth-userdb
auth_ssl_require_client_cert = no
auth_ssl_username_from_cert = no
auth_stats = no
auth_use_winbind = no
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth_username_format = %Lu
auth_username_translation =
auth_verbose = yes
auth_verbose_passwords = yes
auth_winbind_helper_path = /usr/bin/ntlm_auth
auth_worker_max_count = 30
base_dir = /run/dovecot
config_cache_size = 1 M
debug_log_path = /var/log/dovecot-debug.log
default_client_limit = 1000
default_idle_kill = 1 mins
default_internal_group = dovecot
default_internal_user = dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_flush_socket =
director_mail_servers =
director_max_parallel_kicks = 100
director_max_parallel_moves = 100
director_output_buffer_size = 10 M
director_ping_idle_timeout = 30 secs
director_ping_max_timeout = 1 mins
director_servers =
director_user_expire = 15 mins
director_user_kick_delay = 2 secs
director_username_hash = %Lu
disable_plaintext_auth = yes
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_api_key =
doveadm_http_rawlog_dir =
doveadm_password =
doveadm_port = 0
doveadm_socket_path = doveadm-server
doveadm_ssl = no
doveadm_username = doveadm
doveadm_worker_count = 0
dsync_alt_char = _
dsync_commit_msgs_interval = 100
dsync_features =
dsync_hashed_headers = Date Message-ID
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -U
first_valid_gid = 1
first_valid_uid = 500
haproxy_timeout = 3 secs
haproxy_trusted_networks =
hostname =
imap_capability =
imap_client_workarounds =
imap_fetch_failure = disconnect-immediately
imap_hibernate_timeout = 0
imap_id_log =
imap_id_retain = no
imap_id_send = name *
imap_idle_notify_interval = 2 mins
imap_literal_minus = no
imap_logout_format = in=%i out=%o deleted=%{deleted} expunged=%{expunged} trashed=%{trashed} hdr_count=%{fetch_hdr_count} hdr_bytes=%{fetch_hdr_bytes} body_count=%{fetch_body_count} body_bytes=%{fetch_body_bytes}
imap_max_line_length = 64 k
imap_metadata = no
imap_urlauth_host =
imap_urlauth_logout_format = in=%i out=%o
imap_urlauth_port = 143
imapc_cmd_timeout = 5 mins
imapc_connection_retry_count = 1
imapc_connection_retry_interval = 1 secs
imapc_features =
imapc_host =
imapc_list_prefix =
imapc_master_user =
imapc_max_idle_time = 29 mins
imapc_max_line_length = 0
imapc_password =
imapc_port = 143
imapc_rawlog_dir =
imapc_sasl_mechanisms =
imapc_ssl = no
imapc_ssl_verify = yes
imapc_user =
import_environment = TZ CORE_OUTOFMEM CORE_ERROR
info_log_path = /var/log/dovecot-info.log
instance_name = dovecot
last_valid_gid = 0
last_valid_uid = 0
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lda_original_recipient_header =
libexec_dir = /usr/libexec/dovecot
listen = *
lmtp_add_received_header = yes
lmtp_client_workarounds =
lmtp_hdr_delivery_address = final
lmtp_proxy = no
lmtp_proxy_rawlog_dir =
lmtp_rawlog_dir =
lmtp_rcpt_check_quota = no
lmtp_save_to_detail_mailbox = no
lmtp_user_concurrency_limit = 0
lmtp_verbose_replies = no
lock_method = fcntl
log_core_filter =
log_debug =
log_path = /var/log/dovecot.log
log_timestamp = "%b %d %H:%M:%S "
login_access_sockets =
login_greeting = Dovecot ready.
login_log_format = %$: %s
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c session=<%{session}>
login_plugin_dir = /usr/lib64/dovecot/login
login_plugins =
login_proxy_max_disconnect_delay = 0
login_proxy_max_reconnects = 3
login_proxy_notify_path = proxy-notify
login_proxy_rawlog_dir =
login_proxy_timeout = 30 secs
login_source_ips =
login_trusted_networks =
mail_access_groups =
mail_always_cache_fields =
mail_attachment_detection_options =
mail_attachment_dir =
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
mail_attachment_min_size = 128 k
mail_attribute_dict =
mail_cache_fields = flags
mail_chroot =
mail_debug = yes
mail_fsync = optimized
mail_full_filesystem_access = no
mail_gid = 5000
mail_home =
mail_location = maildir:/srv/vmail/domain.ru/%n
mail_log_prefix = "%s(%u)<%{pid}><%{session}>: "
mail_max_keyword_length = 50
mail_max_lock_timeout = 0
mail_max_userip_connections = 10
mail_never_cache_fields = imap.envelope
mail_nfs_index = no
mail_nfs_storage = no
mail_plugin_dir = /usr/lib64/dovecot
mail_plugins =
mail_prefetch_count = 0
mail_privileged_group = vmail
mail_save_crlf = no
mail_server_admin = mailto:admin@domain.ru
mail_server_comment = mail.domain.ru server
mail_shared_explicit_inbox = no
mail_sort_max_read_count = 0
mail_temp_dir = /tmp
mail_temp_scan_interval = 1 weeks
mail_uid = 5000
mail_vsize_bg_after_count = 0
mailbox_idle_check_interval = 30 secs
mailbox_list_index = yes
mailbox_list_index_include_inbox = no
mailbox_list_index_very_dirty_syncs = no
maildir_broken_filename_sizes = no
maildir_copy_with_hardlinks = yes
maildir_empty_new = no
maildir_stat_dirs = no
maildir_very_dirty_syncs = no
managesieve_client_workarounds =
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_logout_format = bytes=%i/%o
managesieve_max_compile_errors = 5
managesieve_max_line_length = 64 k
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
master_user_separator =
mbox_dirty_syncs = yes
mbox_dotlock_change_timeout = 2 mins
mbox_lazy_writes = yes
mbox_lock_timeout = 5 mins
mbox_md5 = apop3d
mbox_min_index_size = 0
mbox_read_locks = fcntl
mbox_very_dirty_syncs = no
mbox_write_locks = dotlock fcntl
mdbox_preallocate_space = no
mdbox_rotate_interval = 0
mdbox_rotate_size = 10 M
mmap_disable = no
namespace inbox {
  disabled = no
  hidden = no
  ignore_on_failure = no
  inbox = yes
  list = yes
  location =
  mailbox Drafts {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Trash
  }
  order = 0
  prefix =
  separator =
  subscriptions = yes
  type = private
}
old_stats_carbon_interval = 30 secs
old_stats_carbon_name =
old_stats_carbon_server =
old_stats_command_min_time = 1 mins
old_stats_domain_min_time = 12 hours
old_stats_ip_min_time = 12 hours
old_stats_memory_limit = 16 M
old_stats_session_min_time = 15 mins
old_stats_user_min_time = 1 hours
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  auth_verbose = default
  default_fields =
  deny = no
  driver = sql
  master = no
  mechanisms =
  name =
  override_fields =
  pass = no
  result_failure = continue
  result_internalfail = continue
  result_success = return-ok
  skip = never
  username_filter =
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  auth_verbose = default
  default_fields =
  deny = no
  driver = ldap
  master = no
  mechanisms =
  name =
  override_fields =
  pass = no
  result_failure = continue
  result_internalfail = continue
  result_success = return-ok
  skip = never
  username_filter =
}
plugin {
  recipient_delimiter = +
  sieve = file:/srv/vmail/%Ld/%n/sieve;active=/srv/vmail/%Ld/%n/active.sieve
  sieve_after = /srv/sieve/after.d
  sieve_before = /srv/sieve/before.d
}
pop3_client_workarounds =
pop3_delete_type = default
pop3_deleted_flag =
pop3_enable_last = no
pop3_fast_size_lookups = no
pop3_lock_session = no
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_no_flag_updates = no
pop3_reuse_xuidl = no
pop3_save_uidl = no
pop3_uidl_duplicates = allow
pop3_uidl_format = %08Xu%08Xv
pop3c_features =
pop3c_host =
pop3c_master_user =
pop3c_password =
pop3c_port = 110
pop3c_quick_received_date = no
pop3c_rawlog_dir =
pop3c_ssl = no
pop3c_ssl_verify = yes
pop3c_user = %u
postmaster_address = postmaster@domain.ru
protocols = imap pop3
quota_full_tempfail = no
rawlog_dir =
recipient_delimiter = +
rejection_reason = Your message to <%t> was automatically rejected:%n%r
rejection_subject = Rejected: %s
replication_dsync_parameters = -d -N -l 30 -U
replication_full_sync_interval = 1 days
replication_max_conns = 10
replicator_host = replicator
replicator_port = 0
sendmail_path = /usr/sbin/sendmail
service aggregator {
  chroot = .
  client_limit = 0
  drop_priv_before_exec = no
  executable = aggregator
  extra_groups =
  fifo_listener replication-notify-fifo {
    group =
    mode = 0600
    user =
  }
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener replication-notify {
    group =
    mode = 0600
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service anvil {
  chroot = empty
  client_limit = 0
  drop_priv_before_exec = no
  executable = anvil
  extra_groups =
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 1
  process_min_avail = 1
  protocol =
  service_count = 0
  type = anvil
  unix_listener anvil-auth-penalty {
    group =
    mode = 0600
    user =
  }
  unix_listener anvil {
    group =
    mode = 0600
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service auth-worker {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = auth -w
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type = worker
  unix_listener auth-worker {
    group =
    mode = 0600
    user = $default_internal_user
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service auth {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = auth
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-client {
    group =
    mode = 0600
    user = $default_internal_user
  }
  unix_listener auth-login {
    group =
    mode = 0600
    user = $default_internal_user
  }
  unix_listener auth-master {
    group =
    mode = 0600
    user =
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  unix_listener login/login {
    group =
    mode = 0666
    user =
  }
  unix_listener token-login/tokenlogin {
    group =
    mode = 0666
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service config {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = config
  extra_groups =
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type = config
  unix_listener config {
    group =
    mode = 0600
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service dict-async {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = dict
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener dict-async {
    group = $default_internal_group
    mode = 0660
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service dict {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = dict
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service director {
  chroot = .
  client_limit = 0
  drop_priv_before_exec = no
  executable = director
  extra_groups =
  fifo_listener login/proxy-notify {
    group =
    mode = 00
    user =
  }
  group =
  idle_kill = 4294967295 secs
  inet_listener {
    address =
    haproxy = no
    port = 0
    reuse_port = no
    ssl = no
  }
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener director-admin {
    group =
    mode = 0600
    user =
  }
  unix_listener director-userdb {
    group =
    mode = 0600
    user =
  }
  unix_listener login/director {
    group =
    mode = 00
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service dns-client {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = dns-client
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener dns-client {
    group =
    mode = 0666
    user =
  }
  unix_listener login/dns-client {
    group =
    mode = 0666
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service doveadm {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = doveadm-server
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 1
  type =
  unix_listener doveadm-server {
    group =
    mode = 0600
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service health-check {
  chroot =
  client_limit = 1
  drop_priv_before_exec = yes
  executable = script -p health-check.sh
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service imap-hibernate {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = imap-hibernate
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = imap
  service_count = 0
  type =
  unix_listener imap-hibernate {
    group = $default_internal_group
    mode = 0660
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service imap-login {
  chroot = login
  client_limit = 0
  drop_priv_before_exec = no
  executable = imap-login
  extra_groups =
  group =
  idle_kill = 0
  inet_listener imap {
    address =
    haproxy = no
    port = 143
    reuse_port = no
    ssl = no
  }
  inet_listener imaps {
    address =
    haproxy = no
    port = 993
    reuse_port = no
    ssl = yes
  }
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = imap
  service_count = 0
  type = login
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service imap-urlauth-login {
  chroot = token-login
  client_limit = 0
  drop_priv_before_exec = no
  executable = imap-urlauth-login
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = imap
  service_count = 1
  type = login
  unix_listener imap-urlauth {
    group =
    mode = 0666
    user =
  }
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service imap-urlauth-worker {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = imap-urlauth-worker
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1024
  process_min_avail = 0
  protocol = imap
  service_count = 1
  type =
  unix_listener imap-urlauth-worker {
    group =
    mode = 0600
    user = $default_internal_user
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service imap-urlauth {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = imap-urlauth
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1024
  process_min_avail = 0
  protocol = imap
  service_count = 1
  type =
  unix_listener token-login/imap-urlauth {
    group =
    mode = 0666
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service imap {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = imap
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1024
  process_min_avail = 0
  protocol = imap
  service_count = 1
  type =
  unix_listener imap-master {
    group =
    mode = 0600
    user =
  }
  unix_listener login/imap {
    group =
    mode = 0666
    user =
  }
  user =
  vsz_limit = 512 M
}
service indexer-worker {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = indexer-worker
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 10
  process_min_avail = 0
  protocol =
  service_count = 0
  type = worker
  unix_listener indexer-worker {
    group =
    mode = 0600
    user = $default_internal_user
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service indexer {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = indexer
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener indexer {
    group =
    mode = 0666
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service ipc {
  chroot = empty
  client_limit = 0
  drop_priv_before_exec = no
  executable = ipc
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener ipc {
    group =
    mode = 0600
    user = $default_internal_user
  }
  unix_listener login/ipc-proxy {
    group =
    mode = 0600
    user = $default_login_user
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service lmtp {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = lmtp
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = lmtp
  service_count = 0
  type =
  unix_listener lmtp {
    group =
    mode = 0666
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service log {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = log
  extra_groups =
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type = log
  unix_listener log-errors {
    group =
    mode = 0600
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service managesieve-login {
  chroot = login
  client_limit = 0
  drop_priv_before_exec = no
  executable = managesieve-login
  extra_groups =
  group =
  idle_kill = 0
  inet_listener sieve {
    address =
    haproxy = no
    port = 4190
    reuse_port = no
    ssl = no
  }
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = sieve
  service_count = 1
  type = login
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service managesieve {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = managesieve
  extra_groups =
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = sieve
  service_count = 1
  type =
  unix_listener login/sieve {
    group =
    mode = 0666
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service old-stats {
  chroot = empty
  client_limit = 0
  drop_priv_before_exec = no
  executable = old-stats
  extra_groups =
  fifo_listener old-stats-mail {
    group =
    mode = 0600
    user =
  }
  fifo_listener old-stats-user {
    group =
    mode = 0600
    user =
  }
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener old-stats {
    group =
    mode = 0600
    user =
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service pop3-login {
  chroot = login
  client_limit = 0
  drop_priv_before_exec = no
  executable = pop3-login
  extra_groups =
  group =
  idle_kill = 0
  inet_listener pop3 {
    address =
    haproxy = no
    port = 110
    reuse_port = no
    ssl = no
  }
  inet_listener pop3s {
    address =
    haproxy = no
    port = 995
    reuse_port = no
    ssl = yes
  }
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = pop3
  service_count = 1
  type = login
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service pop3 {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = pop3
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1024
  process_min_avail = 0
  protocol = pop3
  service_count = 1
  type =
  unix_listener login/pop3 {
    group =
    mode = 0666
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service replicator {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = replicator
  extra_groups =
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener replicator-doveadm {
    group =
    mode = 00
    user = $default_internal_user
  }
  unix_listener replicator {
    group =
    mode = 0600
    user = $default_internal_user
  }
  user =
  vsz_limit = 18446744073709551615 B
}
service stats {
  chroot =
  client_limit = 0
  drop_priv_before_exec = no
  executable = stats
  extra_groups =
  group =
  idle_kill = 4294967295 secs
  privileged_group =
  process_limit = 1
  process_min_avail = 0
  protocol =
  service_count = 0
  type =
  unix_listener login/stats-writer {
    group =
    mode = 0600
    user = $default_login_user
  }
  unix_listener stats-reader {
    group = vmail
    mode = 0660
    user = vmail
  }
  unix_listener stats-writer {
    group = vmail
    mode = 0660
    user = vmail
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
service submission-login {
  chroot = login
  client_limit = 0
  drop_priv_before_exec = no
  executable = submission-login
  extra_groups =
  group =
  idle_kill = 0
  inet_listener submission {
    address =
    haproxy = no
    port = 587
    reuse_port = no
    ssl = no
  }
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = submission
  service_count = 1
  type = login
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service submission {
  chroot =
  client_limit = 1
  drop_priv_before_exec = no
  executable = submission
  extra_groups = $default_internal_group
  group =
  idle_kill = 0
  privileged_group =
  process_limit = 1024
  process_min_avail = 0
  protocol = submission
  service_count = 1
  type =
  unix_listener login/submission {
    group =
    mode = 0666
    user =
  }
  user =
  vsz_limit = 18446744073709551615 B
}
shutdown_clients = yes
ssl = yes
ssl_alt_cert =
ssl_alt_key =
ssl_ca =
ssl_cert = </etc/letsencrypt/live/mail.domain.ru/fullchain.pem
ssl_cert_username_field = commonName
ssl_cipher_list = DEFAULT:!EXPORT:!LOW:!MEDIUM:!MD5
ssl_cipher_suites =
ssl_client_ca_dir =
ssl_client_ca_file =
ssl_client_cert =
ssl_client_key =
ssl_client_require_valid_cert = yes
ssl_crypto_device =
ssl_curve_list =
ssl_dh =
ssl_key = # hidden, use -P to show it
ssl_key_password =
ssl_min_protocol = TLSv1
ssl_options =
ssl_prefer_server_ciphers = no
ssl_require_crl = yes
ssl_verify_client_cert = no
state_dir = /var/lib/dovecot
stats_http_rawlog_dir =
stats_writer_socket_path = stats-writer
submission_client_workarounds =
submission_host =
submission_logout_format = in=%i out=%o
submission_max_mail_size = 0
submission_max_recipients = 0
submission_relay_command_timeout = 5 mins
submission_relay_connect_timeout = 30 secs
submission_relay_host =
submission_relay_master_user =
submission_relay_max_idle_time = 29 mins
submission_relay_password =
submission_relay_port = 25
submission_relay_rawlog_dir =
submission_relay_ssl = no
submission_relay_ssl_verify = yes
submission_relay_trusted = no
submission_relay_user =
submission_ssl = no
submission_timeout = 30 secs
syslog_facility = mail
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  auth_verbose = default
  default_fields =
  driver = sql
  name =
  override_fields =
  result_failure = continue
  result_internalfail = continue
  result_success = return-ok
  skip = never
}
userdb {
  args = uid=5000 gid=5000 home=/srv/vmail/domain.ru/%n mail=maildir:/srv/vmail/domain.ru/%n
  auth_verbose = default
  default_fields =
  driver = static
  name =
  override_fields =
  result_failure = continue
  result_internalfail = continue
  result_success = return-ok
  skip = never
}
valid_chroot_dirs =
verbose_proctitle = no
verbose_ssl = yes
version_ignore = no
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_max_userip_connections = 120
  mail_plugins = " quota imap_quota"
}
protocol sieve {
  managesieve_max_line_length = 64 k
}

Вывод postconf: https://pastebin.com/3B53npQ9

 , , ,

mnxamoto
()

Samba не вытягивает пароль пользователя из ldap

Форум — Admin

OS: Gentoo.

Поставил LDAP, подключил к ней nextcloud за пару минут через веб-интерфейс. Но вот уже неделю пытаюсь подключить samba к ldap. Для тестирования поставил samba на том же хосте, что и ldap. Группа samba это группа внутри ldap, чтобы понимать каким пользователям давать доступ к samba. test2 - тестовый пользователь. Так же поставил и настроил smbldap-tools. Она нормально получает список пользователей и изменяет их в ldap.

Но все равно не могу зайти в папку test под пльзователем test2 из под Windows 10, пишет не правильный пароль (сложно ошибиться в пароле «1234»). В чем может быть проблема?

Из под root или создавал отдельно пользователя test на самом хосте Gentoo, с них нормально заходит. Но не хочу хранить кучу пользователей на сервере, в ldap безопаснее.

... # testparm
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "idmap backend" option is deprecated
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying /etc/openldap/ldap.conf
ldap_init: using /etc/openldap/ldap.conf
ldap_url_parse_ext(ldap://127.0.0.1:389/)
ldap_init: HOME env is /root
ldap_init: trying /root/ldaprc
ldap_init: trying /root/.ldaprc
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
Loaded services file OK.
Weak crypto is allowed

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        add machine script = /usr//sbin/smbldap-useradd -w "%u"
        add user script = /usr/sbin/smbldap-useradd -m "%u"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
        dns proxy = No
        idmap backend = ldap:ldap://192.168.2.7
        ldap admin dn = cn=admin,dc=srd,dc=ru
        ldap debug level = 1
        ldap group suffix = ou=groups
        ldap idmap suffix = ou=idmap
        ldap machine suffix = ou=computers
        ldap passwd sync = yes
        ldap suffix = dc=srd,dc=ru
        ldap user suffix = ou=people
        log file = /var/log/samba/log.%m
        max log size = 50
        passdb backend = ldapsam:ldap://192.168.2.7
        password server = 192.168.2.7
        security = USER
        server string = Samba Server
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        wins support = Yes
        idmap config * : backend = ldap:ldap://192.168.2.7

[test]
        comment = Test dir
        force group = users
        force user = nobody
        path = /srv/test
        read only = No
        valid users = @samba test2 root
        write list = @samba test2
... # smbldap-userlist
uid  |username

   0  |root                 |
 999  |nobody               |
10000 |test2                |
... # pdbedit -L -v
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying /etc/openldap/ldap.conf
ldap_init: using /etc/openldap/ldap.conf
ldap_url_parse_ext(ldap://127.0.0.1:389/)
ldap_init: HOME env is /root
ldap_init: trying /root/ldaprc
ldap_init: trying /root/.ldaprc
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
---------------
Unix username:        root
NT username:          root
Account Flags:        [U          ]
User SID:             S-1-5-21-795321463-2392883250-3341194798-500
Primary Group SID:    S-1-5-21-795321463-2392883250-3341194798-513
Full Name:            Netbios Domain Administrator
Home Directory:       \\POWSRV\root
HomeDir Drive:        S:
Logon Script:
Profile Path:         \\POWSRV\root\profile
Domain:               POWSRV
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Вт, 19 янв 2038 06:14:07 MSK
Kickoff time:         Вт, 19 янв 2038 06:14:07 MSK
Password last set:    Ср, 17 ноя 2021 14:34:24 MSK
Password can change:  Ср, 17 ноя 2021 14:34:24 MSK
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
---------------
Unix username:        nobody
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-795321463-2392883250-3341194798-501
Primary Group SID:    S-1-5-21-795321463-2392883250-3341194798-513
Full Name:            System user; nobody
Home Directory:
HomeDir Drive:        (null)
Logon Script:
Profile Path:
Domain:               POWSRV
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    0
Password can change:  0
Password must change: 0
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
---------------
Unix username:        test2
NT username:          test2
Account Flags:        [UX         ]
User SID:             S-1-5-21-795321463-2392883250-3341194798-21000
Failed to find a Unix account for test2
Primary Group SID:    (NULL SID)
Full Name:            test2
Home Directory:       \\POWSRV\test2
HomeDir Drive:        U:
Logon Script:
Profile Path:         \\POWSRV\test2\profile
Domain:               POWSRV
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         Вт, 01 янв 2030 17:01:01 MSK
Password last set:    Ср, 17 ноя 2021 17:18:21 MSK
Password can change:  Ср, 17 ноя 2021 17:18:21 MSK
Password must change: Вт, 19 янв 2038 06:14:07 MSK
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

 , ,

mnxamoto
()

Gentto. Пересобрать php с нужными модулями.

Форум — General

Пытаюсь оптимизировать nextcloud и параллельно ставлю ldap. Соответственно прописал следующие флаги в файле /etc/portage/package.use/php:

dev-lang/php hash ldap pcre session xml nls bcmath gmp imagick memcached

Пересобрал php

emerge -1 dev-lang/php

Но при проверке системы nextcloud'ом, он мне пишет:

В системе не установлены рекомендуемые модули PHP. Для улучшения производительности и совместимости рекомендуется установить эти модули:

  • bcmath
  • gmp
  • imagick

И phpldapadmin пишет:

Your install of PHP appears to be missing LDAP support.

 ,

mnxamoto
()

Gentoo не хочет emerge --sync

Форум — General
... # emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                                                [ !! ]
 * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: No keyserver available

OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: No keyserver available

Очевидно что ошибка в «hkps», но в каком файле прописывается ссылка на сайт с ключами?

 ,

mnxamoto
()

Gentoo избавиться от systemd

Форум — Admin

Systemd конфликтует с openRC. Уже неделю пытаюсь избавиться от systemd, но не получается.

[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.10-r1)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-249.4-r4)
[blocks B      ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.10-r1)
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-249.4-r4, sys-apps/gentoo-systemd-integration-8)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-249.4-r4:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.20-r3:0/0::gentoo, ebuild scheduled for merge) USE="systemd -X -debug -doc -elogind (-selinux) -static-libs -test -user-session" ABI_X86="(64) -32 (-x32)"
    sys-apps/systemd[hwdb] required by (sys-apps/hwids-20210613-r1:0/0::gentoo, ebuild scheduled for merge) USE="net pci systemd udev usb" ABI_X86="(64)"
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-8:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"

  (sys-fs/eudev-3.2.10-r1:0/0::gentoo, installed) pulled in by
    >=sys-fs/eudev-3.2.9:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-fs/eudev-3.2.9:0/0[abi_x86_64(-)]) required by (virtual/libudev-232-r5:0/1::gentoo, ebuild scheduled for merge) USE="-systemd" ABI_X86="(64) -32 (-x32)"
    sys-fs/eudev required by @selected
    >=sys-fs/eudev-2.1.1 required by (virtual/udev-217-r3:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"

  (sys-apps/sysvinit-2.99:0/0::gentoo, installed) pulled in by
    >=sys-apps/sysvinit-2.86-r6[selinux?] (>=sys-apps/sysvinit-2.86-r6) required by (sys-apps/openrc-0.43.5:0/0::gentoo, ebuild scheduled for merge) USE="ncurses netifrc newnet pam unicode -audit -bash -debug (-prefix) (-selinux) -sysv-utils" ABI_X86="(64)"
    sys-apps/sysvinit required by @selected

Удалил всем пакеты, зависимые от systemd, но при удалении portage говорит:

 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'systemd' to unmerge.

>>> No packages selected for removal by unmerge

Как удалить этот systemd? Он не дает мне обновить мир

 

mnxamoto
()

Gentoo не находит пакет на зеркалах

Форум — Admin

Здравствуйте. Появилась задача поставить VirtualBox на Gentoo. Иду я такой по официальной документации, пересобрал ядро ради одной настройки. Стал загружать пакеты 36 шт. 11 загрузилось и на 12 выдает ошибку. Не может найти ни на одном зеркале eselect-java-0.4.0.tar.xz. Я уже добавил 20 самых разных зеркал и ни на одном нету. Что обычно делают в таких случаях?

 

mnxamoto
()

RSS подписка на новые темы